MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / BoundFlagRef

Class BoundFlagRef

tests/catch.hpp:7043–7052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7041 };
7042
7043 struct BoundFlagRef : BoundFlagRefBase {
7044 bool &m_ref;
7045
7046 explicit BoundFlagRef( bool &ref ) : m_ref( ref ) {}
7047
7048 auto setFlag( bool flag ) -> ParserResult override {
7049 m_ref = flag;
7050 return ParserResult::ok( ParseResultType::Matched );
7051 }
7052 };
7053
7054 template<typename ReturnType>
7055 struct LambdaInvoker {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected