Home
last modified time | relevance | path

Searched defs:has_type (Results 1 – 2 of 2) sorted by relevance

/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/
H A Dtype-requirement.cpp179 struct has_type { using type = int; }; struct
185 // expected-note@-2 {{because 'std_example::has_type' does not satisfy 'C1'}}
/llvm-project/clang/test/SemaCXX/
H A Dcxx1z-class-template-argument-deduction.cpp17 template<typename T> constexpr bool has_type(...) { return false; } in has_type() function
18 template<typename T> constexpr bool has_type(T&) { return true; } in has_type() function
[all...]