Lines Matching defs:auto
87 // Unconstrained auto.
88 template<auto> void d() {}
93 template<decltype(auto)> void e() {}
98 // Constrained auto.
99 template<C auto> void f() {}
104 template<D<int> auto> void g() {}
109 template<typename T, D<T> auto> void h() {}
114 template<typename T> void i(decltype(new C auto(T()))) {}
119 template<typename T> void j(decltype(new C decltype(auto)(T()))) {}
199 void f(C auto) {}
205 void g(D<T> auto) {}
217 ([]<typename U> requires C<T> && C<U> (auto x) requires C<decltype(x)> {}).template operator()<int>(0);
219 ([]<typename U> requires C<T> && C<U> (auto x) requires C<decltype(x)> && true {}).template operator()<int>(0);
221 ([]<typename U> requires C<T> && C<U> (auto x) requires C<decltype(x)> {}).template operator()<int>(0);
223 ([]<typename U> (auto x){}).template operator()<int>(0);
238 template<typename T> void f(T t, C<decltype(t)> auto) {}
243 template<typename T> void g(T t, C<auto (T u) -> decltype(f(t, u))> auto) {}