MCPcopy Create free account
hub / github.com/USCiLab/cereal / construct

Method construct

include/cereal/access.hpp:210–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 template <class Ar, class TT> friend struct ::cereal::boost_variant_detail::LoadAndConstructLoadWrapper;
209
210 construct( T * p ) : itsPtr( p ), itsEnableSharedRestoreFunction( [](){} ), itsValid( false ) {}
211 construct( T * p, std::function<void()> enableSharedFunc ) : // g++4.7 ice with default lambda to std func
212 itsPtr( p ), itsEnableSharedRestoreFunction( enableSharedFunc ), itsValid( false ) {}
213 construct( construct const & ) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected