MCPcopy Create free account
hub / github.com/0voice/cpp_new_features / main

Function main

cpp_20/010_concepts_integral.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12int main()
13{
14 print( 'o' ); static_assert( std::integral<char> );
15 print( 007 ); static_assert( std::integral<int> );
16 print( 2e2 ); static_assert( !std::integral<float> );
17 print("∫∫∫"); static_assert( !std::integral<decltype("")> );
18}

Callers

nothing calls this directly

Calls 1

printFunction · 0.70

Tested by

no test coverage detected