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

Class BoundValueRef

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

Source from the content-addressed store, hash-verified

9041
9042 template<typename T>
9043 struct BoundValueRef : BoundValueRefBase {
9044 T &m_ref;
9045
9046 explicit BoundValueRef( T &ref ) : m_ref( ref ) {}
9047
9048 auto setValue( std::string const &arg ) -> ParserResult override {
9049 return convertInto( arg, m_ref );
9050 }
9051 };
9052
9053 template<typename T>
9054 struct BoundValueRef<std::vector<T>> : BoundValueRefBase {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected