NDDEM
|
Begins the binding process of a type to all registered archives. More...
#include <polymorphic_impl.hpp>
Public Member Functions | |
void | bind (std::false_type) const |
Binding for non abstract types. More... | |
void | bind (std::true_type) const |
Binding for abstract types. More... | |
bind_to_archives const & | bind () const |
Binds the type T to all registered archives. More... | |
Begins the binding process of a type to all registered archives.
Archives need to be registered prior to this struct being instantiated via the CEREAL_REGISTER_ARCHIVE macro. Overload resolution will then force several static objects to be made that allow us to bind together all registered archive types with the parameter type T.
|
inline |
Binds the type T to all registered archives.
If T is abstract, we will not serialize it and thus do not need to make a binding
|
inline |
Binding for non abstract types.
|
inline |
Binding for abstract types.