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

Method construct

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

Source from the content-addressed store, hash-verified

305
306 // for placement new
307 template <class T, class ... Args> inline
308 static void construct( T *& ptr, Args && ... args )
309 {
310 new (ptr) T( std::forward<Args>( args )... );
311 }
312
313 // for non-placement new with a default constructor
314 template <class T> inline

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected