Lines Matching defs:Type
25 struct Type
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, "");