30#ifndef CEREAL_TYPES_DEQUE_HPP_
31#define CEREAL_TYPES_DEQUE_HPP_
39 template <
class Archive,
class T,
class A>
inline
42 ar( make_size_tag(
static_cast<size_type>(deque.size()) ) );
44 for(
auto const & i : deque )
49 template <
class Archive,
class T,
class A>
inline
53 ar( make_size_tag( size ) );
55 deque.resize(
static_cast<size_t>( size ) );
57 for(
auto & i : deque )
Main cereal functionality.
CEREAL_SIZE_TYPE size_type
The size type used by cereal.
Definition: helpers.hpp:61
#define CEREAL_LOAD_FUNCTION_NAME
The deserialization (load) function name to search for.
Definition: macros.hpp:85
#define CEREAL_SAVE_FUNCTION_NAME
The serialization (save) function name to search for.
Definition: macros.hpp:92