Home | History | Annotate | Download | only in func.require

Lines Matching defs:type

20     typedef T type[N];
23 struct Type
25 Array<char, 1>::type& f1();
26 Array<char, 2>::type& f2() const;
28 Array<char, 1>::type& g1() &;
29 Array<char, 2>::type& g2() const &;
30 Array<char, 3>::type& g3() &&;
31 Array<char, 4>::type& g4() const &&;
37 static_assert(sizeof(std::__invoke(&Type::f1, std::declval<Type >())) == 1, "");
38 static_assert(sizeof(std::__invoke(&Type::f2, std::declval<Type const >())) == 2, "");
40 static_assert(sizeof(std::__invoke(&Type::g1, std::declval<Type &>())) == 1, "");
41 static_assert(sizeof(std::__invoke(&Type::g2, std::declval<Type const &>())) == 2, "");
42 static_assert(sizeof(std::__invoke(&Type::g3, std::declval<Type &&>())) == 3, "");
43 static_assert(sizeof(std::__invoke(&Type::g4, std::declval<Type const&&>())) == 4, "");