/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/ |
D | cmath.pass.cpp | 26 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); in test_abs() 27 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); in test_abs() 28 static_assert((std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); in test_abs() 34 static_assert((std::is_same<decltype(std::acos((float)0)), float>::value), ""); in test_acos() 35 static_assert((std::is_same<decltype(std::acos((bool)0)), double>::value), ""); in test_acos() 36 static_assert((std::is_same<decltype(std::acos((unsigned short)0)), double>::value), ""); in test_acos() 37 static_assert((std::is_same<decltype(std::acos((int)0)), double>::value), ""); in test_acos() 38 static_assert((std::is_same<decltype(std::acos((unsigned int)0)), double>::value), ""); in test_acos() 39 static_assert((std::is_same<decltype(std::acos((long)0)), double>::value), ""); in test_acos() 40 static_assert((std::is_same<decltype(std::acos((unsigned long)0)), double>::value), ""); in test_acos() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
D | math_h.pass.cpp | 20 static_assert((std::is_same<decltype(acos((double)0)), double>::value), ""); in test_acos() 21 static_assert((std::is_same<decltype(acosf(0)), float>::value), ""); in test_acos() 22 static_assert((std::is_same<decltype(acosl(0)), long double>::value), ""); in test_acos() 28 static_assert((std::is_same<decltype(asin((double)0)), double>::value), ""); in test_asin() 29 static_assert((std::is_same<decltype(asinf(0)), float>::value), ""); in test_asin() 30 static_assert((std::is_same<decltype(asinl(0)), long double>::value), ""); in test_asin() 36 static_assert((std::is_same<decltype(atan((double)0)), double>::value), ""); in test_atan() 37 static_assert((std::is_same<decltype(atanf(0)), float>::value), ""); in test_atan() 38 static_assert((std::is_same<decltype(atanl(0)), long double>::value), ""); in test_atan() 44 static_assert((std::is_same<decltype(atan2((double)0, (double)0)), double>::value), ""); in test_atan2() [all …]
|
D | stdlib_h.pass.cpp | 42 static_assert((std::is_same<decltype(atof("")), double>::value), ""); in main() 43 static_assert((std::is_same<decltype(atoi("")), int>::value), ""); in main() 44 static_assert((std::is_same<decltype(atol("")), long>::value), ""); in main() 45 static_assert((std::is_same<decltype(atoll("")), long long>::value), ""); in main() 46 static_assert((std::is_same<decltype(getenv("")), char*>::value), ""); in main() 47 static_assert((std::is_same<decltype(strtod("", endptr)), double>::value), ""); in main() 48 static_assert((std::is_same<decltype(strtof("", endptr)), float>::value), ""); in main() 49 static_assert((std::is_same<decltype(strtold("", endptr)), long double>::value), ""); in main() 50 static_assert((std::is_same<decltype(strtol("", endptr,0)), long>::value), ""); in main() 51 static_assert((std::is_same<decltype(strtoll("", endptr,0)), long long>::value), ""); in main() [all …]
|
D | wchar_h.pass.cpp | 45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); in main() 46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); in main() 47 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main() 48 static_assert((std::is_same<decltype(swscanf(L"", L"")), int>::value), ""); in main() 49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); in main() 50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); in main() 51 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main() 52 static_assert((std::is_same<decltype(vswscanf(L"", L"", va)), int>::value), ""); in main() 53 static_assert((std::is_same<decltype(vwprintf(L"", va)), int>::value), ""); in main() 54 static_assert((std::is_same<decltype(vwscanf(L"", va)), int>::value), ""); in main() [all …]
|
D | stdio_h.pass.cpp | 90 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main() 91 static_assert((std::is_same<decltype(rename("","")), int>::value), ""); in main() 92 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main() 93 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); in main() 94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main() 95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main() 96 static_assert((std::is_same<decltype(fopen("", "")), FILE*>::value), ""); in main() 97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main() 98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main() 99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main() [all …]
|
D | string_h.pass.cpp | 26 static_assert((std::is_same<decltype(memcpy(vp, vpc, s)), void*>::value), ""); in main() 27 static_assert((std::is_same<decltype(memmove(vp, vpc, s)), void*>::value), ""); in main() 28 static_assert((std::is_same<decltype(strcpy(cp, cpc)), char*>::value), ""); in main() 29 static_assert((std::is_same<decltype(strncpy(cp, cpc, s)), char*>::value), ""); in main() 30 static_assert((std::is_same<decltype(strcat(cp, cpc)), char*>::value), ""); in main() 31 static_assert((std::is_same<decltype(strncat(cp, cpc, s)), char*>::value), ""); in main() 32 static_assert((std::is_same<decltype(memcmp(vpc, vpc, s)), int>::value), ""); in main() 33 static_assert((std::is_same<decltype(strcmp(cpc, cpc)), int>::value), ""); in main() 34 static_assert((std::is_same<decltype(strncmp(cpc, cpc, s)), int>::value), ""); in main() 35 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), ""); in main() [all …]
|
D | wctype_h.pass.cpp | 96 static_assert((std::is_same<decltype(iswalnum(w)), int>::value), ""); in main() 97 static_assert((std::is_same<decltype(iswalpha(w)), int>::value), ""); in main() 98 static_assert((std::is_same<decltype(iswblank(w)), int>::value), ""); in main() 99 static_assert((std::is_same<decltype(iswcntrl(w)), int>::value), ""); in main() 100 static_assert((std::is_same<decltype(iswdigit(w)), int>::value), ""); in main() 101 static_assert((std::is_same<decltype(iswgraph(w)), int>::value), ""); in main() 102 static_assert((std::is_same<decltype(iswlower(w)), int>::value), ""); in main() 103 static_assert((std::is_same<decltype(iswprint(w)), int>::value), ""); in main() 104 static_assert((std::is_same<decltype(iswpunct(w)), int>::value), ""); in main() 105 static_assert((std::is_same<decltype(iswspace(w)), int>::value), ""); in main() [all …]
|
D | ctype_h.pass.cpp | 74 static_assert((std::is_same<decltype(isalnum(0)), int>::value), ""); in main() 75 static_assert((std::is_same<decltype(isalpha(0)), int>::value), ""); in main() 76 static_assert((std::is_same<decltype(isblank(0)), int>::value), ""); in main() 77 static_assert((std::is_same<decltype(iscntrl(0)), int>::value), ""); in main() 78 static_assert((std::is_same<decltype(isdigit(0)), int>::value), ""); in main() 79 static_assert((std::is_same<decltype(isgraph(0)), int>::value), ""); in main() 80 static_assert((std::is_same<decltype(islower(0)), int>::value), ""); in main() 81 static_assert((std::is_same<decltype(isprint(0)), int>::value), ""); in main() 82 static_assert((std::is_same<decltype(ispunct(0)), int>::value), ""); in main() 83 static_assert((std::is_same<decltype(isspace(0)), int>::value), ""); in main() [all …]
|
D | fenv_h.pass.cpp | 63 static_assert((std::is_same<decltype(feclearexcept(0)), int>::value), ""); in main() 64 static_assert((std::is_same<decltype(fegetexceptflag(&fex, 0)), int>::value), ""); in main() 65 static_assert((std::is_same<decltype(feraiseexcept(0)), int>::value), ""); in main() 66 static_assert((std::is_same<decltype(fesetexceptflag(&fex, 0)), int>::value), ""); in main() 67 static_assert((std::is_same<decltype(fetestexcept(0)), int>::value), ""); in main() 68 static_assert((std::is_same<decltype(fegetround()), int>::value), ""); in main() 69 static_assert((std::is_same<decltype(fesetround(0)), int>::value), ""); in main() 70 static_assert((std::is_same<decltype(fegetenv(&fenv)), int>::value), ""); in main() 71 static_assert((std::is_same<decltype(feholdexcept(&fenv)), int>::value), ""); in main() 72 static_assert((std::is_same<decltype(fesetenv(&fenv)), int>::value), ""); in main() [all …]
|
D | time_h.pass.cpp | 29 static_assert((std::is_same<decltype(clock()), clock_t>::value), ""); in main() 30 static_assert((std::is_same<decltype(difftime(t,t)), double>::value), ""); in main() 31 static_assert((std::is_same<decltype(mktime(&tmv)), time_t>::value), ""); in main() 32 static_assert((std::is_same<decltype(time(&t)), time_t>::value), ""); in main() 33 static_assert((std::is_same<decltype(asctime(&tmv)), char*>::value), ""); in main() 34 static_assert((std::is_same<decltype(ctime(&t)), char*>::value), ""); in main() 35 static_assert((std::is_same<decltype(gmtime(&t)), tm*>::value), ""); in main() 36 static_assert((std::is_same<decltype(localtime(&t)), tm*>::value), ""); in main() 39 static_assert((std::is_same<decltype(strftime(c1,s,c2,&tmv)), size_t>::value), ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/ |
D | cwchar.pass.cpp | 45 static_assert((std::is_same<decltype(std::fwprintf(fp, L"")), int>::value), ""); in main() 46 static_assert((std::is_same<decltype(std::fwscanf(fp, L"")), int>::value), ""); in main() 47 static_assert((std::is_same<decltype(std::swprintf(ws, s, L"")), int>::value), ""); in main() 48 static_assert((std::is_same<decltype(std::swscanf(L"", L"")), int>::value), ""); in main() 49 static_assert((std::is_same<decltype(std::vfwprintf(fp, L"", va)), int>::value), ""); in main() 50 static_assert((std::is_same<decltype(std::vfwscanf(fp, L"", va)), int>::value), ""); in main() 51 static_assert((std::is_same<decltype(std::vswprintf(ws, s, L"", va)), int>::value), ""); in main() 52 static_assert((std::is_same<decltype(std::vswscanf(L"", L"", va)), int>::value), ""); in main() 53 static_assert((std::is_same<decltype(std::vwprintf(L"", va)), int>::value), ""); in main() 54 static_assert((std::is_same<decltype(std::vwscanf(L"", va)), int>::value), ""); in main() [all …]
|
D | cstring.pass.cpp | 26 static_assert((std::is_same<decltype(std::memcpy(vp, vpc, s)), void*>::value), ""); in main() 27 static_assert((std::is_same<decltype(std::memmove(vp, vpc, s)), void*>::value), ""); in main() 28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), ""); in main() 29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), ""); in main() 30 static_assert((std::is_same<decltype(std::strcat(cp, cpc)), char*>::value), ""); in main() 31 static_assert((std::is_same<decltype(std::strncat(cp, cpc, s)), char*>::value), ""); in main() 32 static_assert((std::is_same<decltype(std::memcmp(vpc, vpc, s)), int>::value), ""); in main() 33 static_assert((std::is_same<decltype(std::strcmp(cpc, cpc)), int>::value), ""); in main() 34 static_assert((std::is_same<decltype(std::strncmp(cpc, cpc, s)), int>::value), ""); in main() 35 static_assert((std::is_same<decltype(std::strcoll(cpc, cpc)), int>::value), ""); in main() [all …]
|
D | cwctype.pass.cpp | 96 static_assert((std::is_same<decltype(std::iswalnum(w)), int>::value), ""); in main() 97 static_assert((std::is_same<decltype(std::iswalpha(w)), int>::value), ""); in main() 98 static_assert((std::is_same<decltype(std::iswblank(w)), int>::value), ""); in main() 99 static_assert((std::is_same<decltype(std::iswcntrl(w)), int>::value), ""); in main() 100 static_assert((std::is_same<decltype(std::iswdigit(w)), int>::value), ""); in main() 101 static_assert((std::is_same<decltype(std::iswgraph(w)), int>::value), ""); in main() 102 static_assert((std::is_same<decltype(std::iswlower(w)), int>::value), ""); in main() 103 static_assert((std::is_same<decltype(std::iswprint(w)), int>::value), ""); in main() 104 static_assert((std::is_same<decltype(std::iswpunct(w)), int>::value), ""); in main() 105 static_assert((std::is_same<decltype(std::iswspace(w)), int>::value), ""); in main() [all …]
|
D | cctype.pass.cpp | 74 static_assert((std::is_same<decltype(std::isalnum(0)), int>::value), ""); in main() 75 static_assert((std::is_same<decltype(std::isalpha(0)), int>::value), ""); in main() 76 static_assert((std::is_same<decltype(std::isblank(0)), int>::value), ""); in main() 77 static_assert((std::is_same<decltype(std::iscntrl(0)), int>::value), ""); in main() 78 static_assert((std::is_same<decltype(std::isdigit(0)), int>::value), ""); in main() 79 static_assert((std::is_same<decltype(std::isgraph(0)), int>::value), ""); in main() 80 static_assert((std::is_same<decltype(std::islower(0)), int>::value), ""); in main() 81 static_assert((std::is_same<decltype(std::isprint(0)), int>::value), ""); in main() 82 static_assert((std::is_same<decltype(std::ispunct(0)), int>::value), ""); in main() 83 static_assert((std::is_same<decltype(std::isspace(0)), int>::value), ""); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.runtime/ |
D | cstdlib.pass.cpp | 42 static_assert((std::is_same<decltype(std::atof("")), double>::value), ""); in main() 43 static_assert((std::is_same<decltype(std::atoi("")), int>::value), ""); in main() 44 static_assert((std::is_same<decltype(std::atol("")), long>::value), ""); in main() 45 static_assert((std::is_same<decltype(std::atoll("")), long long>::value), ""); in main() 46 static_assert((std::is_same<decltype(std::getenv("")), char*>::value), ""); in main() 47 static_assert((std::is_same<decltype(std::strtod("", endptr)), double>::value), ""); in main() 48 static_assert((std::is_same<decltype(std::strtof("", endptr)), float>::value), ""); in main() 49 static_assert((std::is_same<decltype(std::strtold("", endptr)), long double>::value), ""); in main() 50 static_assert((std::is_same<decltype(std::strtol("", endptr,0)), long>::value), ""); in main() 51 static_assert((std::is_same<decltype(std::strtoll("", endptr,0)), long long>::value), ""); in main() [all …]
|
D | ctime.pass.cpp | 29 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), ""); in main() 30 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main() 31 static_assert((std::is_same<decltype(std::mktime(&tm)), std::time_t>::value), ""); in main() 32 static_assert((std::is_same<decltype(std::time(&t)), std::time_t>::value), ""); in main() 33 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), ""); in main() 34 static_assert((std::is_same<decltype(std::ctime(&t)), char*>::value), ""); in main() 35 static_assert((std::is_same<decltype(std::gmtime(&t)), std::tm*>::value), ""); in main() 36 static_assert((std::is_same<decltype(std::localtime(&t)), std::tm*>::value), ""); in main() 39 static_assert((std::is_same<decltype(std::strftime(c1,s,c2,&tm)), std::size_t>::value), ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 91 static_assert((std::is_same<decltype(std::remove("")), int>::value), ""); in main() 92 static_assert((std::is_same<decltype(std::rename("","")), int>::value), ""); in main() 93 static_assert((std::is_same<decltype(std::tmpfile()), std::FILE*>::value), ""); in main() 94 static_assert((std::is_same<decltype(std::tmpnam(cp)), char*>::value), ""); in main() 95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main() 96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main() 97 static_assert((std::is_same<decltype(std::fopen("", "")), std::FILE*>::value), ""); in main() 98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), ""); in main() 99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main() 100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/cfenv/cfenv.syn/ |
D | cfenv.pass.cpp | 63 static_assert((std::is_same<decltype(std::feclearexcept(0)), int>::value), ""); in main() 64 static_assert((std::is_same<decltype(std::fegetexceptflag(&fex, 0)), int>::value), ""); in main() 65 static_assert((std::is_same<decltype(std::feraiseexcept(0)), int>::value), ""); in main() 66 static_assert((std::is_same<decltype(std::fesetexceptflag(&fex, 0)), int>::value), ""); in main() 67 static_assert((std::is_same<decltype(std::fetestexcept(0)), int>::value), ""); in main() 68 static_assert((std::is_same<decltype(std::fegetround()), int>::value), ""); in main() 69 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); in main() 70 static_assert((std::is_same<decltype(std::fegetenv(&fenv)), int>::value), ""); in main() 71 static_assert((std::is_same<decltype(std::feholdexcept(&fenv)), int>::value), ""); in main() 72 static_assert((std::is_same<decltype(std::fesetenv(&fenv)), int>::value), ""); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/date.time/ |
D | tested_elsewhere.pass.cpp | 28 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), ""); in main() 29 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); in main() 30 static_assert((std::is_same<decltype(std::mktime(&tm)), std::time_t>::value), ""); in main() 31 static_assert((std::is_same<decltype(std::time(&t)), std::time_t>::value), ""); in main() 32 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), ""); in main() 33 static_assert((std::is_same<decltype(std::ctime(&t)), char*>::value), ""); in main() 34 static_assert((std::is_same<decltype(std::gmtime(&t)), std::tm*>::value), ""); in main() 35 static_assert((std::is_same<decltype(std::localtime(&t)), std::tm*>::value), ""); in main() 36 static_assert((std::is_same<decltype(std::strftime(str,s,"",&tm)), std::size_t>::value), ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/forward/ |
D | move_if_noexcept.pass.cpp | 51 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), int&&>::value), ""); in main() 52 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&&>::value), ""); in main() 53 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), A&&>::value), ""); in main() 54 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&&>::value), ""); in main() 56 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), const int>::value), ""); in main() 57 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int>::value), ""); in main() 58 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), const A>::value), ""); in main() 59 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A>::value), ""); in main() 61 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.literals/ |
D | literals.pass.cpp | 22 static_assert ( std::is_same<decltype( 3.0il ), std::complex<long double>>::value, "" ); in main() 23 static_assert ( std::is_same<decltype( 3il ), std::complex<long double>>::value, "" ); in main() 24 static_assert ( std::is_same<decltype( 3.0i ), std::complex<double>>::value, "" ); in main() 25 static_assert ( std::is_same<decltype( 3i ), std::complex<double>>::value, "" ); in main() 26 static_assert ( std::is_same<decltype( 3.0if ), std::complex<float>>::value, "" ); in main() 27 static_assert ( std::is_same<decltype( 3if ), std::complex<float>>::value, "" ); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
D | literals.pass.cpp | 22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" ); in main() 23 static_assert ( std::is_same<decltype( 3min ), std::chrono::minutes>::value, "" ); in main() 24 static_assert ( std::is_same<decltype( 3s ), std::chrono::seconds>::value, "" ); in main() 25 static_assert ( std::is_same<decltype( 3ms ), std::chrono::milliseconds>::value, "" ); in main() 26 static_assert ( std::is_same<decltype( 3us ), std::chrono::microseconds>::value, "" ); in main() 27 static_assert ( std::is_same<decltype( 3ns ), std::chrono::nanoseconds>::value, "" ); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/ |
D | integer_seq.pass.cpp | 23 -> decltype ( std::make_tuple ( std::get<I>(t)... )) in extract() 63 static_assert ( std::tuple_size<decltype(t3)>::value == int3::size (), "t3 size wrong"); in main() 67 static_assert ( std::tuple_size<decltype(t7)>::value == size7::size (), "t7 size wrong"); in main() 71 static_assert ( std::tuple_size<decltype(t4)>::value == size4::size (), "t4 size wrong"); in main() 75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main() 79 …static_assert ( std::tuple_size<decltype(tintmix)>::value == intmix::size (), "tintmix size wrong"… in main() 83 …static_assert ( std::tuple_size<decltype(tsizemix)>::value == sizemix::size (), "tsizemix size wro… in main()
|