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

Method bind

tests/catch.h:4291–4294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4289 // Bind a non-boolean data member (requires placeholder string)
4290 template<typename C, typename M>
4291 void bind( M C::* field, std::string const& placeholder ) {
4292 m_arg->boundField = new Detail::BoundDataMember<C,M>( field );
4293 m_arg->placeholder = placeholder;
4294 }
4295 // Bind a boolean data member (no placeholder required)
4296 template<typename C>
4297 void bind( bool C::* field ) {

Callers 1

makeCommandLineParserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected