mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-23 06:02:11 +00:00
export for gcc
[SVN r24424]
This commit is contained in:
@@ -102,11 +102,11 @@ template<class Archive, class T>
|
||||
class iserializer : public basic_iserializer
|
||||
{
|
||||
private:
|
||||
static void BOOST_FORCE_INCLUDE static_load_object_data(
|
||||
static void BOOST_FORCE_INCLUDE(static_load_object_data(
|
||||
basic_iarchive & ar,
|
||||
void *x,
|
||||
const unsigned int file_version
|
||||
){
|
||||
)){
|
||||
// make sure call is routed through the higest interface that might
|
||||
// be specialized by the user.
|
||||
boost::serialization::serialize_adl(
|
||||
@@ -167,11 +167,11 @@ template<class T, class Archive>
|
||||
class pointer_iserializer : public archive_pointer_iserializer<Archive>
|
||||
{
|
||||
private:
|
||||
static void BOOST_FORCE_INCLUDE static_load_object_ptr(
|
||||
static void BOOST_FORCE_INCLUDE(static_load_object_ptr(
|
||||
basic_iarchive & ar,
|
||||
void * & x,
|
||||
const unsigned int file_version
|
||||
){
|
||||
)){
|
||||
boost::serialization::load_ptr_adl(
|
||||
boost::smart_cast_reference<Archive &>(ar),
|
||||
reinterpret_cast<T * &>(x),
|
||||
|
||||
@@ -104,11 +104,11 @@ template<class Archive, class T>
|
||||
class oserializer : public basic_oserializer
|
||||
{
|
||||
private:
|
||||
static void BOOST_FORCE_INCLUDE static_save_object_data(
|
||||
static void BOOST_FORCE_INCLUDE(static_save_object_data(
|
||||
basic_oarchive & ar,
|
||||
const void *x,
|
||||
unsigned int version
|
||||
) {
|
||||
)){
|
||||
// make sure call is routed through the highest interface that might
|
||||
// be specialized by the user.
|
||||
boost::serialization::serialize_adl(
|
||||
@@ -162,10 +162,10 @@ template<class T, class Archive>
|
||||
class pointer_oserializer : public archive_pointer_oserializer<Archive>
|
||||
{
|
||||
private:
|
||||
static void BOOST_FORCE_INCLUDE static_save_object_ptr(
|
||||
static void BOOST_FORCE_INCLUDE(static_save_object_ptr(
|
||||
basic_oarchive & ar,
|
||||
const void * x
|
||||
){
|
||||
)){
|
||||
assert(NULL != x);
|
||||
// make sure call is routed through the highest interface that might
|
||||
// be specialized by the user.
|
||||
|
||||
Reference in New Issue
Block a user