summaryrefslogtreecommitdiff
path: root/boost/archive/basic_text_oarchive.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:30:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:32:57 +0900
commit71d216b90256936a9638f325af9bc69d720e75de (patch)
tree9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /boost/archive/basic_text_oarchive.hpp
parent733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff)
downloadboost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2
boost-71d216b90256936a9638f325af9bc69d720e75de.zip
Imported Upstream version 1.59.0
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/archive/basic_text_oarchive.hpp')
-rw-r--r--boost/archive/basic_text_oarchive.hpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/boost/archive/basic_text_oarchive.hpp b/boost/archive/basic_text_oarchive.hpp
index 0c60a310f0..6f7f8fb167 100644
--- a/boost/archive/basic_text_oarchive.hpp
+++ b/boost/archive/basic_text_oarchive.hpp
@@ -25,7 +25,6 @@
// use two template parameters
#include <boost/config.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_oarchive.hpp>
#include <boost/serialization/string.hpp>
@@ -47,7 +46,7 @@ namespace detail {
/////////////////////////////////////////////////////////////////////////
// class basic_text_oarchive
template<class Archive>
-class basic_text_oarchive :
+class BOOST_SYMBOL_VISIBLE basic_text_oarchive :
public detail::common_oarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -69,7 +68,7 @@ protected:
space
} delimiter;
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
newtoken();
void newline(){
@@ -80,25 +79,25 @@ protected:
// extra stuff to get it passed borland compilers
typedef detail::common_oarchive<Archive> detail_common_oarchive;
template<class T>
- void save_override(T & t, BOOST_PFTO int){
- this->detail_common_oarchive::save_override(t, 0);
+ void save_override(T & t){
+ this->detail_common_oarchive::save_override(t);
}
// start new objects on a new line
- void save_override(const object_id_type & t, int){
+ void save_override(const object_id_type & t){
this->This()->newline();
- this->detail_common_oarchive::save_override(t, 0);
+ this->detail_common_oarchive::save_override(t);
}
// text file don't include the optional information
- void save_override(const class_id_optional_type & /* t */, int){}
+ void save_override(const class_id_optional_type & /* t */){}
- void save_override(const class_name_type & t, int){
+ void save_override(const class_name_type & t){
const std::string s(t);
* this->This() << s;
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
basic_text_oarchive(unsigned int flags) :