• Home
  • Raw
  • Download

Lines Matching refs:static_assert

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()
52 static_assert((std::is_same<decltype(strtoul("", endptr,0)), unsigned long>::value), ""); in main()
53 static_assert((std::is_same<decltype(strtoull("", endptr,0)), unsigned long long>::value), ""); in main()
54 static_assert((std::is_same<decltype(rand()), int>::value), ""); in main()
55 static_assert((std::is_same<decltype(srand(0)), void>::value), ""); in main()
56 static_assert((std::is_same<decltype(calloc(0,0)), void*>::value), ""); in main()
57 static_assert((std::is_same<decltype(free(0)), void>::value), ""); in main()
58 static_assert((std::is_same<decltype(malloc(0)), void*>::value), ""); in main()
59 static_assert((std::is_same<decltype(realloc(0,0)), void*>::value), ""); in main()
60 static_assert((std::is_same<decltype(abort()), void>::value), ""); in main()
61 static_assert((std::is_same<decltype(atexit(0)), int>::value), ""); in main()
62 static_assert((std::is_same<decltype(exit(0)), void>::value), ""); in main()
63 static_assert((std::is_same<decltype(_Exit(0)), void>::value), ""); in main()
64 static_assert((std::is_same<decltype(getenv("")), char*>::value), ""); in main()
65 static_assert((std::is_same<decltype(system("")), int>::value), ""); in main()
66 static_assert((std::is_same<decltype(bsearch(0,0,0,0,0)), void*>::value), ""); in main()
67 static_assert((std::is_same<decltype(qsort(0,0,0,0)), void>::value), ""); in main()
68 static_assert((std::is_same<decltype(abs(0)), int>::value), ""); in main()
69 static_assert((std::is_same<decltype(labs((long)0)), long>::value), ""); in main()
70 static_assert((std::is_same<decltype(llabs((long long)0)), long long>::value), ""); in main()
71 static_assert((std::is_same<decltype(div(0,0)), div_t>::value), ""); in main()
72 static_assert((std::is_same<decltype(ldiv(0L,0L)), ldiv_t>::value), ""); in main()
73 static_assert((std::is_same<decltype(lldiv(0LL,0LL)), lldiv_t>::value), ""); in main()
74 static_assert((std::is_same<decltype(mblen("",0)), int>::value), ""); in main()
78 static_assert((std::is_same<decltype(mbtowc(pw,"",0)), int>::value), ""); in main()
79 static_assert((std::is_same<decltype(wctomb(pc,L' ')), int>::value), ""); in main()
80 static_assert((std::is_same<decltype(mbstowcs(pw,"",0)), size_t>::value), ""); in main()
81 static_assert((std::is_same<decltype(wcstombs(pc,pwc,0)), size_t>::value), ""); in main()