Home
last modified time | relevance | path

Searched refs:decltype (Results 201 – 225 of 32028) sorted by relevance

12345678910>>...1282

/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
36 a.decltype(outer())::middle::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
36 a.decltype(outer())::middle::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
36 a.decltype(outer())::middle::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
36 a.decltype(outer())::middle::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
74 enum E : decltype(outer())::td_int(4);
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
74 enum E : decltype(outer())::td_int(4);
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp8-0x.cpp23 operator decltype(outer::middle::inner()) ();
31 decltype(outer::middle::inner()) a;
34 a.decltype(outer::middle::inner())::func(); in scope()
35 a.decltype(outer::middle())::inner::func(); in scope()
36 a.decltype(outer())::middle::inner::func(); in scope()
40 decltype(outer())::middle::inner().func(); in scope()
42 decltype(outer::middle())::inner b;
43 decltype(outer())::middle::inner c;
49 decltype(int()) h;
69 foo m = decltype(foo::bar)::baz;
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/g++.dg/cpp2a/
H A Dconcepts-decltype.C21 Type decltype(auto) x1 = 0;
22 static_assert(check<decltype(x1), int>);
23 Type decltype(auto) x2 = z;
24 static_assert(check<decltype(x2), int>);
25 Type decltype(auto) x3 = (z);
27 Type decltype(auto) x4 = cz;
29 Type decltype(auto) x5 = (cz);
32 Type decltype(auto) f1() { return 0; } in decltype() function
34 Type decltype(auto) f2() { return z; } in decltype() function
38 Type decltype(auto) f4() { return cz; } in decltype() function
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/g++.dg/cpp1y/
H A Ddecltype-auto4.C26 decltype(auto) r1 = s->i;
28 decltype(auto) r2 = s->r;
30 decltype(auto) r3 = i;
32 decltype(auto) r4 = ir;
43 decltype(auto) r1 = fn ();
45 decltype(auto) r2 = (fn ());
47 decltype(auto) r3 = ref ();
55 decltype(auto) r8 = (s->i);
57 decltype(auto) r9 = (s->r);
59 decltype(auto) r10 = (i);
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/range-v3/test/view/
H A Dtrim.cpp39 static_assert(same_as<iterator_t<decltype(rng)>, iterator_t<decltype(ia)>>, ""); in main()
40 CPP_assert(view_<decltype(rng)>); in main()
50 static_assert(same_as<iterator_t<decltype(rng3)>, iterator_t<decltype(rng3.base())>>, ""); in main()
51 CPP_assert(view_<decltype(rng3)>); in main()
58 static_assert(same_as<iterator_t<decltype(rng4)>, iterator_t<decltype(rng4.base())>>, ""); in main()
59 CPP_assert(view_<decltype(rng4)>); in main()
68 static_assert(same_as<iterator_t<decltype(rng5)>, iterator_t<decltype(rng5.base())>>, ""); in main()
69 CPP_assert(view_<decltype(rng5)>); in main()
80 static_assert(same_as<iterator_t<decltype(rng7)>, iterator_t<decltype(rng7.base())>>, ""); in main()
81 CPP_assert(view_<decltype(rng7)>); in main()
[all …]
/dports/devel/range-v3/range-v3-0.11.0/test/view/
H A Dtrim.cpp39 static_assert(same_as<iterator_t<decltype(rng)>, iterator_t<decltype(ia)>>, ""); in main()
40 CPP_assert(view_<decltype(rng)>); in main()
50 static_assert(same_as<iterator_t<decltype(rng3)>, iterator_t<decltype(rng3.base())>>, ""); in main()
51 CPP_assert(view_<decltype(rng3)>); in main()
58 static_assert(same_as<iterator_t<decltype(rng4)>, iterator_t<decltype(rng4.base())>>, ""); in main()
59 CPP_assert(view_<decltype(rng4)>); in main()
68 static_assert(same_as<iterator_t<decltype(rng5)>, iterator_t<decltype(rng5.base())>>, ""); in main()
69 CPP_assert(view_<decltype(rng5)>); in main()
80 static_assert(same_as<iterator_t<decltype(rng7)>, iterator_t<decltype(rng7.base())>>, ""); in main()
81 CPP_assert(view_<decltype(rng7)>); in main()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]
/dports/devel/libc++/libcxx-10.0.1.src/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
144 static_assert((std::is_same<decltype(fgetc(fp)), int>::value), ""); in main()
148 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
149 static_assert((std::is_same<decltype(getchar()), int>::value), ""); in main()
151 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
153 static_assert((std::is_same<decltype(putc(0,fp)), int>::value), ""); in main()
155 static_assert((std::is_same<decltype(puts("")), int>::value), ""); in main()
[all …]

12345678910>>...1282