MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / ConstBool

Function ConstBool

Test/ConstExpr.cpp:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126 template <typename T>
127 _CONSTEXPR11 bool ConstBool()
128 {
129 return (bool)SafeInt<T>(2) && !SafeInt<T>(0);
130 }
131
132 template <typename T>
133 void ConstTestT()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected