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

Lines Matching defs:Type

22     typedef T type[N];
25 struct Type
27 Array<char, 1>::type& f1();
28 Array<char, 2>::type& f2() const;
30 Array<char, 1>::type& g1() &;
31 Array<char, 2>::type& g2() const &;
33 Array<char, 3>::type& g3() &&;
34 Array<char, 4>::type& g4() const &&;
40 static_assert(sizeof(std::__invoke(&Type::f1, std::declval<Type >())) == 1, "");
41 static_assert(sizeof(std::__invoke(&Type::f2, std::declval<Type const >())) == 2, "");
43 static_assert(sizeof(std::__invoke(&Type::g1, std::declval<Type &>())) == 1, "");
44 static_assert(sizeof(std::__invoke(&Type::g2, std::declval<Type const &>())) == 2, "");
46 static_assert(sizeof(std::__invoke(&Type::g3, std::declval<Type &&>())) == 3, "");
47 static_assert(sizeof(std::__invoke(&Type::g4, std::declval<Type const&&>())) == 4, "");