mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-15 01:12:24 +00:00
added is_* to avoid multiple parent problem
[SVN r33465]
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user