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

Function ConstConstructor

Test/ConstExpr.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119 template <typename T>
120 _CONSTEXPR11 T ConstConstructor()
121 {
122 // Constructors, also add in the useless unary + operator
123 return SafeInt<T>() + SafeInt<T>(1) + SafeInt<T>(false) + (+SafeInt<T>(3));
124 }
125
126 template <typename T>
127 _CONSTEXPR11 bool ConstBool()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected