MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / validate

Method validate

01.22-validateInDebugModeIfExists0/main.cpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22class SimpleType {};
23
24void ComplexType::validate() const
25{
26 // provide a validation implementation here
27}
28
29static_assert(SupportsValidation<ComplexType>);
30static_assert(not SupportsValidation<SimpleType>);

Callers 2

main.cppFile · 0.80
SendFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected