piranha
0.10
|
Specialisation of piranha::boost_save() for piranha::small_vector. More...
#include <piranha/small_vector.hpp>
Public Member Functions | |
void | operator() (Archive &ar, const small_vector< T, std::integral_constant< std::size_t, Size > > &x) const |
Call operator. More... | |
Specialisation of piranha::boost_save() for piranha::small_vector.
T
and the size type of the vector satisfy piranha::has_boost_save.unspecified | any exception thrown by piranha::boost_save(). |
Definition at line 1119 of file small_vector.hpp.
|
inlineinherited |
Call operator.
The body of this operator is equivalent to:
That is, x
will be inserted into the archive ar
using the stream insertion operator. In order for this method to be callable, the type T
must provide valid overloads of the methods/functions needed by the Boost serialization API.
ar | the archive into which x will be serialized. |
x | the serialization argument. |
unspecified | any exception thrown by the insertion of x into ar . |