Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
class SimpleType {};
23
24
void ComplexType::validate() const
25
{
26
// provide a validation implementation here
27
}
28
29
static_assert(SupportsValidation<ComplexType>);
30
static_assert(not SupportsValidation<SimpleType>);
Callers
2
main.cpp
File · 0.80
Send
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected