Boost logo

Boost Users :

From: Olivier Vanden Bos (olivier.vanden-bos_at_[hidden])
Date: 2005-05-27 13:21:18


namespace TEST{

      typedef std::basic_string<char, std::char_traits <char>,
TEST_Allocator<char> > string;

}

 

 

boost\boost\serialization\access.hpp(106) : error C2039: 'serialize' :
is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'

        with

        [

            _Elem=char,

            _Traits=std::char_traits<char>,

            _Ax= TEST_Allocator <char>

        ]

 

Looking in the string.h

 

template<class Archive, class U, class Allocator>

inline void serialize(

    Archive & ar,

    STD::basic_string<U, Allocator> & t,

    const unsigned int file_version

 

what is strange is when I look at my definition of basic_string in the
file xstring of .NET 2003 I found

 

 

template<class _Elem,

      class _Traits = char_traits<_Elem>,

      class _Ax = allocator<_Elem> >

      class basic_string

            : public _String_val<_Elem, _Ax>

 

Any idea ?

 

 

- VDB -
 "LNK2019: unresolved external symbol"
                   
 Olivier Vanden Bos MSN#TheVdeub_at_[hidden]
 AI Programmer
 UBISOFT Montreal

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net