added is_* to avoid multiple parent problem

[SVN r33465]
This commit is contained in:
Robert Ramey
2006-03-24 15:55:05 +00:00
parent a7bb283ddb
commit 58becb4e26
2 changed files with 8 additions and 0 deletions

View File

@@ -174,6 +174,10 @@ private:
ArchiveImplementation::insert_basic_helper(eti, sph);
}
public:
// this can't be inheriteded because they appear in mulitple
// parents
typedef mpl::bool_<true> is_loading;
typedef mpl::bool_<false> is_saving;
// the >> operator
template<class T>
polymorphic_iarchive & operator>>(T & t){

View File

@@ -164,6 +164,10 @@ private:
ArchiveImplementation::insert_basic_helper(eti, sph);
}
public:
// this can't be inheriteded because they appear in mulitple
// parents
typedef mpl::bool_<false> is_loading;
typedef mpl::bool_<true> is_saving;
// the << operator
template<class T>
polymorphic_oarchive & operator<<(T & t){