MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / initialize

Method initialize

include/common/optional.h:1252–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1250
1251 template< typename V >
1252 void initialize( V const & value )
1253 {
1254 assert( ! has_value() );
1255 contained.construct_value( value );
1256 has_value_ = true;
1257 }
1258
1259#if optional_CPP11_OR_GREATER
1260 template< typename V >

Callers 1

noexceptMethod · 0.80

Calls 1

has_valueFunction · 0.85

Tested by

no test coverage detected