SST 15.0
Structural Simulation Toolkit
SST::Core::Serialization::serialize_impl< T *, std::enable_if_t< std::is_arithmetic_v< T >||std::is_enum_v< T > > > Class Template Reference

Version of serialize that works for pointers to arithmetic and enum types. More...

#include <serialize.h>

Public Member Functions

void operator() (T &t, serializer &ser, ser_opt_t UNUSED(options))
 

Detailed Description

template<class T>
class SST::Core::Serialization::serialize_impl< T *, std::enable_if_t< std::is_arithmetic_v< T >||std::is_enum_v< T > > >

Version of serialize that works for pointers to arithmetic and enum types.

Note that the pointer tracking happens at a higher level, and only if it is turned on. If it is not turned on, then this only copies the value pointed to into the buffer. If multiple objects point to the same location, they will each have an independent copy after deserialization.


The documentation for this class was generated from the following files: