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

Class BoundValueRef

tests/catch.hpp:7016–7024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7014
7015 template<typename T>
7016 struct BoundValueRef : BoundValueRefBase {
7017 T &m_ref;
7018
7019 explicit BoundValueRef( T &ref ) : m_ref( ref ) {}
7020
7021 auto setValue( std::string const &arg ) -> ParserResult override {
7022 return convertInto( arg, m_ref );
7023 }
7024 };
7025
7026 template<typename T>
7027 struct BoundValueRef<std::vector<T>> : BoundValueRefBase {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected