adding map and multimap

This commit is contained in:
Awesome Robot
2013-06-13 17:04:02 -07:00
parent 80d0d4ab05
commit 1f5cc9f8b0
4 changed files with 78 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
namespace cereal
{
//! Saving for std::list all other types to binary
template <class T, size_t A>
template <class T, class A>
void save( BinaryOutputArchive & ar, std::list<T, A> const & list )
{
ar & list.size();
@@ -17,7 +17,7 @@ namespace cereal
}
//! Loading for std::list all other types to binary
template <class T, size_t A>
template <class T, class A>
void load( BinaryInputArchive & ar, std::list<T, A> & list )
{
size_t size;