MCPcopy Create free account
hub / github.com/Profactor/cv-plot / BoundFlagRef

Class BoundFlagRef

CvPlot/ext/catch2/inc/catch.hpp:9070–9079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9068 };
9069
9070 struct BoundFlagRef : BoundFlagRefBase {
9071 bool &m_ref;
9072
9073 explicit BoundFlagRef( bool &ref ) : m_ref( ref ) {}
9074
9075 auto setFlag( bool flag ) -> ParserResult override {
9076 m_ref = flag;
9077 return ParserResult::ok( ParseResultType::Matched );
9078 }
9079 };
9080
9081 template<typename ReturnType>
9082 struct LambdaInvoker {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected