MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / square

Function square

Examples/NoModules/Appendix A/ExA_10/BadMath.h:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1auto square(const auto& x) { return x * x; } // An abbreviated function template
2
3const double lambda{ 1.303577269034296391257 }; // Conway's constant
4

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected