MCPcopy 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
4void print(std::integral auto i) {
5 std::cout << "Integral: " << i << '\n';
6}
7
8void print(auto x) {
9 std::cout << "Non-integral: " << x << '\n';

Callers 2

mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected