Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
auto square(const auto& x) { return x * x; } // An abbreviated function template
2
3
const double lambda{ 1.303577269034296391257 }; // Conway's constant
4
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected