MCPcopy Create free account
hub / github.com/FidoProject/Fido / set

Method set

tests/catch.h:4124–4128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4122 struct BoundBinaryFunction : IArgFunction<C>{
4123 BoundBinaryFunction( void (*_function)( C&, T ) ) : function( _function ) {}
4124 virtual void set( C& obj, std::string const& stringValue ) const {
4125 typename RemoveConstRef<T>::type value;
4126 convertInto( stringValue, value );
4127 function( obj, value );
4128 }
4129 virtual void setFlag( C& obj ) const {
4130 typename RemoveConstRef<T>::type value;
4131 convertInto( true, value );

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected