MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / get_value

Function get_value

tests/conceptsTest.cpp:65–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 // Source: https://en.cppreference.com/w/cpp/language/constraints
64 template<typename T>
65 static constexpr bool get_value() { return T::value; }
66
67 template<typename T>
68 requires (sizeof(T) > 1 && get_value<T>())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected