void CEREAL_LOAD_FUNCTION_NAME(Archive &ar, std::forward_list<T, A> &forward_list) { size_type size; ar(make_size_tag(size)); forward_list.resize(static_cast<size_t>( size )); for (auto &i : forward_list) ar(i); }
void load( Archive & ar, std::forward_list<T, A> & forward_list ) { size_type size; ar( make_size_tag( size ) ); forward_list.resize( static_cast<size_t>( size ) ); for( auto & i : forward_list ) ar( i ); }