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

Method FunctionWithRequiresForReturn

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

Source from the content-addressed store, hash-verified

30
31 template<typename T>
32 constexpr bool FunctionWithRequiresForReturn() requires requires(T t) { f(t); } { return true; }
33
34 template<typename T>
35 requires (b(T()), true)

Callers

nothing calls this directly

Calls 1

fFunction · 0.70

Tested by

no test coverage detected