MCPcopy Create free account
hub / github.com/Naios/function2 / returnTrue

Function returnTrue

test/function2-test.hpp:19–21  ·  view source on GitHub ↗

A function which always returns true

Source from the content-addressed store, hash-verified

17
18/// A function which always returns true
19constexpr bool returnTrue() noexcept {
20 return true;
21}
22/// A function which always returns false
23constexpr bool returnFalse() noexcept {
24 return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected