Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0voice/cpp_new_features
/ print
Function
print
cpp_20/010_concepts_integral.cpp:4–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
#include <iostream>
3
4
void print(std::integral auto i) {
5
std::cout <<
"Integral: "
<< i <<
'\n'
;
6
}
7
8
void print(auto x) {
9
std::cout <<
"Non-integral: "
<< x <<
'\n'
;
Callers
2
main
Function · 0.70
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected