Boost-users
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
August 2007
- 231 participants
- 251 discussions
Hello!
I am trying to compile the following program from *Beyond the C++ Standard
Library: An Introduction to Boost.
*Here is the source code:
#include <iostream>
#include <string>
#include "boost/lexical_cast.hpp"
class lexical_castable
{
public:
lexical_castable()
{
};
lexical_castable(const std::string s) :
s_(s)
{
};
friend std::ostream& operator<<(std::ostream& o, const lexical_castable&
le);
friend std::istream& operator>>(std::istream& i, lexical_castable& le);
private:
virtual void print_(std::ostream& o) const;
void read_( std::istream& i );
std::string s_;
};
std::ostream& operator<<(std::ostream& o, const lexical_castable& le)
{
le.print_(o);
return o;
}
std::istream& operator>>(std::istream& i, lexical_castable& le)
{
le.read_(i);
return i;
}
void lexical_castable::read_( std::istream& i )
{
i >> s_;
}
void lexical_castable::print_( std::ostream& o ) const
{
o << s_ <<"\n";
}
int main(int argc, char* argv[])
{
lexical_castable le();
std::cin >> le;
int i=0;
try
{
i = boost::lexical_cast<int>(le);
std::cout << i << '\n';
}
catch(boost::bad_lexical_cast &e)
{
std::cout << e.what() << '\n';
std::cout << "You were supposed to enter a number!\n";
}
}
The lexical_cast is throwing an exception as follows:
‡ boost::bad_lexical_cast::what returned 0x004c9888 "bad lexical
cast: source type value could not be interpreted as target" const char *
Note that I have modified the original code a bit because I was trying to
figure out what went wrong. The object le is getting created successfully
with the user entered "number" getting stored in the string s_
Please help. I am using Visual studio 2005 with boost v1.34
2
1
Hello,
I am using boost::program_options and need to load custom config files.
So I think I need to write a parser, right?
But I did not find any tutorials or something like that where I can learn
how to write and usea parser with program options.
Can anybody help me out og this problem?
Thx in advance
2
3

22 Aug '07
Hi all,
I am suffering from boost serialization throwing a bad_alloc exception
at a very low-level that I've been unable to explain or workaround. I
first hit the problem on 1_33 but upgrading to 1_34 and then 1_34_1 had
no effect. My code is within one DLL and I'm loading boost dynamically
through the DLLs. This is a real-showstopper for me - any suggestions at
all gratefully received. Thanks, Matt.
The disassembly from save_access::save_primitive:
ar.save(t);
488FEC20 mov esi,esp
488FEC22 mov eax,dword ptr [t]
488FEC25 push eax
488FEC26 mov ecx,dword ptr [ar]
488FEC29 add ecx,8
488FEC2C call dword ptr
[__imp_boost::archive::basic_binary_oprimitive<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save (48EBA254h)]
488FEC32 cmp esi,esp
488FEC34 call @ILT+121865(__RTC_CheckEsp) (487A9C0Eh)
}
The debugger cursor points to the cmp line so I believe the exception is
being thrown by the __imp_boost call. For what it's worth esi =
1301555968 and esp = 1301555820 and t is an innocuous looking string of
size 5135.
My top level calling code:
std::ostringstream os;
boost::archive::binary_oarchive oa( os );
oa << BOOST_SERIALIZATION_NVP( pMyClass );
where pMyClass has been passed as: const myClass * pMyClass
Both my top-level class and all intermediate ones have the same standard
serialization structure:
class myClass : public boost::noncopyable
{ ...
private:
myClass(){};
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & BOOST_SERIALIZATION_NVP( ... )
...
}
}
Full stack dump:
kernel32.dll!7c812a5b()
kernel32.dll!7c812a5b()
msvcr71d.dll!47ce9504()
msvcr71d.dll!47ce94fb()
msvcr71d.dll!47cebed9()
msvcr71d.dll!47d06fa9()
msvcp71d.dll!47dd8946()
msvcp71d.dll!47ddd05f()
msvcp71d.dll!47d8a97c()
msvcp71d.dll!47d890b2()
msvcp71d.dll!47db4b55()
msvcp71d.dll!47d8accc()
msvcp71d.dll!47d994ca()
msvcp71d.dll!47d994ca()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f4ae67()
msvcp71d.dll!47d870bf()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f4abf1()
>
myDLL.dll!boost::archive::save_access::save_primitive<boost::archive::bi
nary_oarchive,std::basic_string<char,std::char_traits<char>,std::allocat
or<char> > >(boost::archive::binary_oarchive & ar={...}, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
t={...}) Line 91 + 0x12 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > >::save_primitive::invoke(boost::archive::binary_oarchive &
ar={...}, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
t={...}) Line 244 + 0xd C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > >::invoke(boost::archive::binary_oarchive & ar={...}, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,std::basi
c_string<char,std::char_traits<char>,std::allocator<char> >
>(boost::archive::binary_oarchive & ar={...}, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<std::basic_string<char,std::char_traits<char>,st
d::allocator<char> > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<std::basic_string<char,std::char_tra
its<char>,std::allocator<char> > const
>::save<boost::archive::binary_oarchive>() Line 78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<std::basic_string<char,std::char_t
raits<char>,std::allocator<char> > const > const
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<std::basic_string<char,std::char_
traits<char>,std::allocator<char> > const >
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<std::basic_string<char,std::char_traits<c
har>,std::allocator<char> > const > >(boost::archive::binary_oarchive &
ar={...},
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<std::basic_string<char,std::char_tra
its<char>,std::allocator<char> > const
>::serialize<boost::archive::binary_oarchive>() Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<std::basic_string<char,std::char_tra
its<char>,std::allocator<char> > const >
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<std::basic_string<char,std::char_traits<char
>,std::allocator<char> > const > >(boost::archive::binary_oarchive &
ar={...},
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const > >(boost::archive::binary_oarchive &
ar={...},
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}, const unsigned int
file_version=0) Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::basic_string<char,std::ch
ar_traits<char>,std::allocator<char> > const >
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::basic_string<char,std::ch
ar_traits<char>,std::allocator<char> > const >
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > const > >(boost::archive::binary_oarchive & ar={...},
const
boost::serialization::nvp<std::basic_string<char,std::char_traits<char>,
std::allocator<char> > const > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<std::basic_string<ch
ar,std::char_traits<char>,std::allocator<char> > const > const >() Line
62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<std::basic_string<char
,std::char_traits<char>,std::allocator<char> > const > const >() Line
66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<std::basic_string<char,std::c
har_traits<char>,std::allocator<char> > const > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<std::basic_string<ch
ar,std::char_traits<char>,std::allocator<char> > const > const >() Line
80 C++
myDLL.dll!boost::serialization::stl::save_collection<boost::archive::bin
ary_oarchive,std::vector<std::basic_string<char,std::char_traits<char>,s
td::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >(boost::archive::binary_oarchive & ar={...}, const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & s={...}) Line 59 C++
myDLL.dll!boost::serialization::save<boost::archive::binary_oarchive,std
::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > >(boost::archive::binary_oarchive & ar={...}, const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}, const unsigned int __formal=0) Line 41 +
0xd C++
myDLL.dll!boost::serialization::free_saver<boost::archive::binary_oarchi
ve,std::vector<std::basic_string<char,std::char_traits<char>,std::alloca
tor<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >::invoke(boost::archive::binary_oarchive & ar={...},
const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}, const unsigned int file_version=0) Line 45
+ 0x18 C++
myDLL.dll!boost::serialization::split_free<boost::archive::binary_oarchi
ve,std::vector<std::basic_string<char,std::char_traits<char>,std::alloca
tor<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >(boost::archive::binary_oarchive & ar={...},
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}, const unsigned int file_version=0) Line 74
+ 0x11 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > >(boost::archive::binary_oarchive & ar={...},
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}, const unsigned int file_version=0) Line 68
+ 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,std::vector<std::basic_string<char,std::char_traits<char>,std::all
ocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >(boost::archive::binary_oarchive & ar={...},
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}, const unsigned int file_version=0) Line
140 + 0x18 C++
myDLL.dll!boost::archive::detail::oserializer<boost::archive::binary_oar
chive,std::vector<std::basic_string<char,std::char_traits<char>,std::all
ocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > >
>::save_object_data(boost::archive::detail::basic_oarchive & ar={...},
const void * x=0x4da09810) Line 151 + 0x2b C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a2bb()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa3e()
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::vector<std::basic_string<char,std::char_traits<char
>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > >
>::save_standard::invoke(boost::archive::binary_oarchive & ar={...},
const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}) Line 263 + 0x15 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::vector<std::basic_string<char,std::char_traits<char
>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >::invoke(boost::archive::binary_oarchive & ar={...},
const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,std::vect
or<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >(boost::archive::binary_oarchive & ar={...}, const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator
<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<std::vector<std::basic_string<char,std::char_tra
its<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<std::vector<std::basic_string<char,std::char_traits<cha
r>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<std::vector<std::basic_string<char,s
td::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >::save<boost::archive::binary_oarchive>() Line 78
C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<std::vector<std::basic_string<char
,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >(boost::archive::binary_oarchive & ar={...},
const
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<std::vector<std::basic_string<cha
r,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<std::vector<std::basic_string<char,std::c
har_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<std::vector<std::basic_string<char,s
td::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > >::serialize<boost::archive::binary_oarchive>() Line
87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<std::vector<std::basic_string<char,s
td::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<std::vector<std::basic_string<char,std::char
_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<std::vector<std::basic_string<char,std::
char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}, const unsigned int file_version=0) Line
140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::vector<std::basic_string<
char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >::save_only::invoke(boost::archive::binary_oarchive
& ar={...}, const
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::vector<std::basic_string<
char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<std::vector<std::basic_string<char,std::char_traits<cha
r>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > >(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::vector<std::basic_string<char,std::char_t
raits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<std::vector<std::bas
ic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<std::vector<std::basic
_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<std::vector<std::basic_string
<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<std::vector<std::bas
ic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >() Line 80 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator&<boost::serialization::nvp<std::vector<std::basi
c_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allo
cator<char> > > > > const >() Line 91 C++
myDLL.dll!myNS::myComponentClass::serialize<boost::archive::binary_oarch
ive>() Line 90 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,myNS::myFunc>(boost::archive::binary_oarchive & ar={...},
myNS::myFunc & t={...}, const unsigned int file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,myNS::myFunc>(boost::archive::binary_oarchive & ar={...}, myNS::myFunc
& t={...}, const unsigned int file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,myNS::myFunc>(boost::archive::binary_oarchive & ar={...},
myNS::myFunc & t={...}, const unsigned int file_version=0) Line 140 +
0x18 C++
myDLL.dll!boost::archive::detail::oserializer<boost::archive::binary_oar
chive,myNS::myFunc>::save_object_data(boost::archive::detail::basic_oarc
hive & ar={...}, const void * x=0x4da097d8) Line 151 + 0x2b C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a1de()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa3e()
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,myNS::myFunc>::save_standard::invoke(boost::archive::bin
ary_oarchive & ar={...}, const myNS::myFunc & t={...}) Line 263 + 0x15
C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,myNS::myFunc>::invoke(boost::archive::binary_oarchive &
ar={...}, const myNS::myFunc & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,myNS::myF
unc>(boost::archive::binary_oarchive & ar={...}, const myNS::myFunc &
t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<myNS::myFunc const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<myNS::myFunc const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save_override<myNS::myFunc const
>() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<myNS::myFunc const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<myNS::myFunc>::save<boost::archive::
binary_oarchive>() Line 78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<myNS::myFunc> const
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<myNS::myFunc>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<myNS::myFunc>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<myNS::myFunc>::serialize<boost::arch
ive::binary_oarchive>() Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<myNS::myFunc>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<myNS::myFunc>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<myNS::myFunc>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc> & t={...}, const unsigned int
file_version=0) Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myFunc>
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc> & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myFunc>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc> & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<myNS::myFunc> >(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<myNS::myFunc> & t={...}) Line
535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<myNS::myFunc> const
>() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<myNS::myFunc> const
>() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<myNS::myFunc> const >() Line
46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<myNS::myFunc> const
>() Line 80 C++
myDLL.dll!boost::archive::detail::pointer_oserializer<myNS::myFunc,boost
::archive::binary_oarchive>::save_object_ptr(boost::archive::detail::bas
ic_oarchive & ar={...}, const void * x=0x4da097d8) Line 216 C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a868()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa6e()
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myFunc
*>::polymorphic<myNS::myFunc>::save(boost::archive::binary_oarchive &
ar={...}, const myNS::myFunc & t={...}, const
boost::archive::detail::basic_pointer_oserializer * bpos_ptr=0x48eaf914)
Line 401 + 0x13 C++
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myFunc
*>::save<myNS::myFunc>(boost::archive::binary_oarchive & ar={...}, const
myNS::myFunc & t={...}, const
boost::archive::detail::basic_pointer_oserializer * bpos_ptr=0x48eaf914)
Line 438 + 0x11 C++
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myFunc *>::invoke(boost::archive::binary_oarchive &
ar={...}, myNS::myFunc * const t=0x4da097d8) Line 466 + 0x11 C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,myNS::myF
unc *>(boost::archive::binary_oarchive & ar={...}, myNS::myFunc * const
& t=0x4da097d8) Line 535 + 0xf C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<myNS::myFunc * const>() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<myNS::myFunc * const>() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save_override<myNS::myFunc *
const>() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<myNS::myFunc * const>() Line 80 C++
myDLL.dll!boost::serialization::nvp<myNS::myFunc
*>::save<boost::archive::binary_oarchive>() Line 78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<myNS::myFunc *> const
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<myNS::myFunc *>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<myNS::myFunc *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<myNS::myFunc
*>::serialize<boost::archive::binary_oarchive>() Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<myNS::myFunc *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<myNS::myFunc *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<myNS::myFunc *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myFunc *> & t={...}, const unsigned int
file_version=0) Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myFunc *>
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc *> & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myFunc *>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myFunc *> & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<myNS::myFunc *> >(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<myNS::myFunc *> & t={...})
Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<myNS::myFunc *>
const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<myNS::myFunc *> const
>() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<myNS::myFunc *> const >()
Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<myNS::myFunc *>
const >() Line 80 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator&<boost::serialization::nvp<myNS::myFunc *> const
>() Line 91 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,myNS::Date const ,myNS::myFunc *>(boost::archive::binary_oarchive &
ar={...}, std::pair<myNS::Date const ,myNS::myFunc *> & p={...}, const
unsigned int __formal=0) Line 42 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,std::pair<myNS::Date const ,myNS::myFunc *>
>(boost::archive::binary_oarchive & ar={...}, std::pair<myNS::Date const
,myNS::myFunc *> & t={...}, const unsigned int file_version=0) Line 140
+ 0x18 C++
myDLL.dll!boost::archive::detail::oserializer<boost::archive::binary_oar
chive,std::pair<myNS::Date const ,myNS::myFunc *>
>::save_object_data(boost::archive::detail::basic_oarchive & ar={...},
const void * x=0x4da28df4) Line 151 + 0x2b C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a2bb()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa3e()
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::pair<myNS::Date const ,myNS::myFunc *>
>::save_standard::invoke(boost::archive::binary_oarchive & ar={...},
const std::pair<myNS::Date const ,myNS::myFunc *> & t={...}) Line 263 +
0x15 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::pair<myNS::Date const ,myNS::myFunc *>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
std::pair<myNS::Date const ,myNS::myFunc *> & t={...}) Line 321 + 0xd
C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,std::pair
<myNS::Date const ,myNS::myFunc *> >(boost::archive::binary_oarchive &
ar={...}, const std::pair<myNS::Date const ,myNS::myFunc *> & t={...})
Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<std::pair<myNS::Date const ,myNS::myFunc *>
const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<std::pair<myNS::Date const ,myNS::myFunc *>
const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save_override<std::pair<myNS::Date
const ,myNS::myFunc *> const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<std::pair<myNS::Date const ,myNS::myFunc *>
const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const >::save<boost::archive::binary_oarchive>() Line
78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > const >(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > & t={...}, const unsigned int file_version=0)
Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > >::invoke(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > & t={...}, const unsigned int file_version=0)
Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc
*> const > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}, const unsigned int file_version=0) Line 69 + 0x11
C++
myDLL.dll!boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const >::serialize<boost::archive::binary_oarchive>()
Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}, const unsigned int file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}, const unsigned int file_version=0) Line 81 + 0x11
C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc
*> const > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}, const unsigned int file_version=0) Line 140 + 0x18
C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const >
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > >::invoke(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *> const >
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::pair<myNS::Date const ,myNS::myFunc *>
const > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<std::pair<myNS::Date
const ,myNS::myFunc *> const > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<std::pair<myNS::Date
const ,myNS::myFunc *> const > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<std::pair<myNS::Date const
,myNS::myFunc *> const > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<std::pair<myNS::Date
const ,myNS::myFunc *> const > const >() Line 80 C++
myDLL.dll!boost::serialization::stl::save_collection<boost::archive::bin
ary_oarchive,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >(boost::archive::binary_oarchive & ar={...}, const
std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & s={...}) Line 59 C++
myDLL.dll!boost::serialization::save<boost::archive::binary_oarchive,myN
S::myFunc
*,myNS::Date,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > >(boost::archive::binary_oarchive & ar={...},
const std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}, const unsigned int __formal=0) Line 41
+ 0xd C++
myDLL.dll!boost::serialization::free_saver<boost::archive::binary_oarchi
ve,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}, const unsigned int file_version=0) Line
45 + 0x18 C++
myDLL.dll!boost::serialization::split_free<boost::archive::binary_oarchi
ve,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >(boost::archive::binary_oarchive & ar={...},
std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}, const unsigned int file_version=0) Line
74 + 0x11 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,myNS::myFunc
*,myNS::Date,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > >(boost::archive::binary_oarchive & ar={...},
std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}, const unsigned int file_version=0) Line
70 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >(boost::archive::binary_oarchive & ar={...},
std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}, const unsigned int file_version=0) Line
140 + 0x18 C++
myDLL.dll!boost::archive::detail::oserializer<boost::archive::binary_oar
chive,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > >
>::save_object_data(boost::archive::detail::basic_oarchive & ar={...},
const void * x=0x4d808784) Line 151 + 0x2b C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a2bb()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa3e()
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > >
>::save_standard::invoke(boost::archive::binary_oarchive & ar={...},
const std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}) Line 263 + 0x15 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,std::map<
myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >(boost::archive::binary_oarchive & ar={...}, const
std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >::save<boost::archive::binary_oarchive>() Line 78
C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > const >(boost::archive::binary_oarchive &
ar={...}, const
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >::serialize<boost::archive::binary_oarchive>()
Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}, const unsigned int file_version=0)
Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFu
nc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > >
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<std::map<myNS::Date,myNS::myFu
nc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >::invoke(boost::archive::binary_oarchive &
ar={...}, const
boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > >(boost::archive::binary_oarchive & ar={...},
const boost::serialization::nvp<std::map<myNS::Date,myNS::myFunc
*,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > & t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<std::map<myNS::Date,
myNS::myFunc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > > > const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<std::map<myNS::Date,my
NS::myFunc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > > > const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<std::map<myNS::Date,myNS::myF
unc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date const
,myNS::myFunc *> > > > const >() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<std::map<myNS::Date,
myNS::myFunc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > > > const >() Line 80 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator&<boost::serialization::nvp<std::map<myNS::Date,m
yNS::myFunc *,std::less<myNS::Date>,std::allocator<std::pair<myNS::Date
const ,myNS::myFunc *> > > > const >() Line 91 C++
myDLL.dll!myNS::myClass::serialize<boost::archive::binary_oarchive>()
Line 68 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,myNS::myClass>(boost::archive::binary_oarchive & ar={...},
myNS::myClass & t={...}, const unsigned int file_version=0) Line 110
C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,myNS::myClass>(boost::archive::binary_oarchive & ar={...},
myNS::myClass & t={...}, const unsigned int file_version=0) Line 81 +
0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,myNS::myClass>(boost::archive::binary_oarchive & ar={...},
myNS::myClass & t={...}, const unsigned int file_version=0) Line 140 +
0x18 C++
myDLL.dll!boost::archive::detail::oserializer<boost::archive::binary_oar
chive,myNS::myClass>::save_object_data(boost::archive::detail::basic_oar
chive & ar={...}, const void * x=0x4d808780) Line 151 + 0x2b C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a1de()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa3e()
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,myNS::myClass>::save_standard::invoke(boost::archive::bi
nary_oarchive & ar={...}, const myNS::myClass & t={...}) Line 263 +
0x15 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,myNS::myClass>::invoke(boost::archive::binary_oarchive &
ar={...}, const myNS::myClass & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,myNS::myC
lass>(boost::archive::binary_oarchive & ar={...}, const myNS::myClass &
t={...}) Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<myNS::myClass const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<myNS::myClass const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save_override<myNS::myClass const
>() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<myNS::myClass const >() Line 80 C++
myDLL.dll!boost::serialization::nvp<myNS::myClass>::save<boost::archive:
:binary_oarchive>() Line 78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<myNS::myClass> const
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<myNS::myClass>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<myNS::myClass>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<myNS::myClass>::serialize<boost::arc
hive::binary_oarchive>() Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<myNS::myClass>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<myNS::myClass>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<myNS::myClass>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass> & t={...}, const unsigned int
file_version=0) Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myClass>
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass> & t={...}) Line 256 + 0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myClass>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass> & t={...}) Line 321 + 0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<myNS::myClass> >(boost::archive::binary_oarchive &
ar={...}, const boost::serialization::nvp<myNS::myClass> & t={...})
Line 535 + 0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<myNS::myClass> const
>() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<myNS::myClass> const
>() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<myNS::myClass> const >()
Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<myNS::myClass> const
>() Line 80 C++
myDLL.dll!boost::archive::detail::pointer_oserializer<myNS::myClass,boos
t::archive::binary_oarchive>::save_object_ptr(boost::archive::detail::ba
sic_oarchive & ar={...}, const void * x=0x4d808780) Line 216 C++
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3a868()
boost_serialization-vc71-mt-gd-1_34_1.dll!47f3aa6e()
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myClass const
*>::polymorphic<myNS::myClass>::save(boost::archive::binary_oarchive &
ar={...}, const myNS::myClass & t={...}, const
boost::archive::detail::basic_pointer_oserializer * bpos_ptr=0x48eaf3c0)
Line 401 + 0x13 C++
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myClass const
*>::save<myNS::myClass>(boost::archive::binary_oarchive & ar={...},
const myNS::myClass & t={...}, const
boost::archive::detail::basic_pointer_oserializer * bpos_ptr=0x48eaf3c0)
Line 438 + 0x11 C++
myDLL.dll!boost::archive::detail::save_pointer_type<boost::archive::bina
ry_oarchive,myNS::myClass const
*>::invoke(boost::archive::binary_oarchive & ar={...}, const
myNS::myClass * const t=0x4d808780) Line 466 + 0x11 C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,myNS::myC
lass const *>(boost::archive::binary_oarchive & ar={...}, const
myNS::myClass * const & t=0x4d808780) Line 535 + 0xf C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<myNS::myClass const * const>() Line 62 + 0x15
C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<myNS::myClass const * const>() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char> >::save_override<myNS::myClass const
* const>() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<myNS::myClass const * const>() Line 80 C++
myDLL.dll!boost::serialization::nvp<myNS::myClass const
*>::save<boost::archive::binary_oarchive>() Line 78 C++
myDLL.dll!boost::serialization::access::member_save<boost::archive::bina
ry_oarchive,boost::serialization::nvp<myNS::myClass const *> const
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 94 C++
myDLL.dll!boost::serialization::detail::member_saver<boost::archive::bin
ary_oarchive,boost::serialization::nvp<myNS::myClass const *>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 43 + 0x11 C++
myDLL.dll!boost::serialization::split_member<boost::archive::binary_oarc
hive,boost::serialization::nvp<myNS::myClass const *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 69 + 0x11 C++
myDLL.dll!boost::serialization::nvp<myNS::myClass const
*>::serialize<boost::archive::binary_oarchive>() Line 87 + 0x34 C++
myDLL.dll!boost::serialization::access::serialize<boost::archive::binary
_oarchive,boost::serialization::nvp<myNS::myClass const *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 110 C++
myDLL.dll!boost::serialization::serialize<boost::archive::binary_oarchiv
e,boost::serialization::nvp<myNS::myClass const *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 81 + 0x11 C++
myDLL.dll!boost::serialization::serialize_adl<boost::archive::binary_oar
chive,boost::serialization::nvp<myNS::myClass const *>
>(boost::archive::binary_oarchive & ar={...},
boost::serialization::nvp<myNS::myClass const *> & t={...}, const
unsigned int file_version=0) Line 140 + 0x18 C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myClass const *>
>::save_only::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass const *> & t={...}) Line 256 +
0xf C++
myDLL.dll!boost::archive::detail::save_non_pointer_type<boost::archive::
binary_oarchive,boost::serialization::nvp<myNS::myClass const *>
>::invoke(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass const *> & t={...}) Line 321 +
0xd C++
myDLL.dll!boost::archive::save<boost::archive::binary_oarchive,boost::se
rialization::nvp<myNS::myClass const *>
>(boost::archive::binary_oarchive & ar={...}, const
boost::serialization::nvp<myNS::myClass const *> & t={...}) Line 535 +
0xd C++
myDLL.dll!boost::archive::detail::common_oarchive<boost::archive::binary
_oarchive>::save_override<boost::serialization::nvp<myNS::myClass const
*> const >() Line 62 + 0x15 C++
myDLL.dll!boost::archive::basic_binary_oarchive<boost::archive::binary_o
archive>::save_override<boost::serialization::nvp<myNS::myClass const *>
const >() Line 66 C++
myDLL.dll!boost::archive::binary_oarchive_impl<boost::archive::binary_oa
rchive,char,std::char_traits<char>
>::save_override<boost::serialization::nvp<myNS::myClass const *> const
>() Line 46 C++
myDLL.dll!boost::archive::detail::interface_oarchive<boost::archive::bin
ary_oarchive>::operator<<<boost::serialization::nvp<myNS::myClass const
*> const >(const boost::serialization::nvp<myNS::myClass const *> &
t={...}) Line 80 C++
--
This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.
Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.
3
4
Frank Birbacher wrote:
> Robert Ramey schrieb:
>> > The real easy way is just to use a binary_object which saves/loads a
>> > specified number of bytes.
>> > so the above would look like:
>> >
>> > void write_to_cbuffer(char* buf_p, size_t* buf_sz_p) { // note only one *
>> > std::ostringstream oss;
>> > boost::archive::text_oarchive oa(oss);
>> > oa << binary_object(bf_sz_p, mc);
>> > }
>> > void read_from_cbuffer(const char* buf, const size_t buf_sz) {
>> > std::istringstream iss(buf_str);
>> > boost::archive::text_iarchive ia(iss);
>> > ia >> binary_object(buf_sz, buf)
>> > }
>
> You got this one mixed up. The char array is not something to serailize
> but it is the storage to searialize to. The "read_from_cbuffer" function
> does *read* the cbuffer and construct a my_class instance out of it by
> using serialization. The "write_to_cbuffer" serializes a my_class
> instance an stores the result in the cbuffer.
>
> I can think of using the old strstream class to read from the buffer or
> take something from Boost.IOStreams. And writing could be faster if you
> use a std::deque wrapped with IOStreams and later on std::copy this into
> a char array (instead of memcpy). A deque has usually better performance
> on push_back than a vector or string, I guess. But then I don't know the
> internals of a stringstream.
>
> Frank
Frank is right. I don't quite know what Robert thought I was looking for, but
it's pretty clear that his suggested code does not do what I want. (Nor does
it compile!)
To clarify:
write_to_cbuffer() should serialize a my_class instance into a c-style char*
buffer. It also needs to dynamically allocate storage for the buffer, set buf_p
to point at the buffer, and set buf_sz to the size of the buffer.
This is so that the legacy C code can then call write(fd, buf_p, buf_sz).
read_from_cbuffer() does the opposite: it extracts a serialized instance of
my_class from a char* buffer.
I'll take a look at the boost::iostreams stuff to see if I can figure out how to
make that work. Thanks for the tip, Frank.
BTW, I don't think a push_back() is any faster for a deque than a vector -- it
is push_front() that is faster for a deque. From the STL docs at SGI: "The main
way in which deque differs from vector is that deque also supports constant time
insertion and removal of elements at the beginning of the sequence".
-- Dominick
2
1

22 Aug '07
Aloha,
I just tried to build Boost 1.34.1 fat (a.k.a. Universal) libraries
for MacOS X. This is what happened:
I created the following ~/user-config.jam file in order to build
Universal libs:
using darwin
: # version
: # command not specified ? use default
: # options
<compileflags>"-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
arch i386 -arch ppc"
<linkflags>"-arch i386 -arch ppc"
;
As described in http://www.boost.org/more/getting_started/unix-
variants.html 5.1 "Easy Build and Install" I tried to fire up the
build system like this:
macpro01:/Volumes/Macintosh HD 2/boost_1_34_1 $ ./configure --prefix=/
usr/local/
Building Boost.Jam with toolset darwin... ./configure: line 198: cd: /
Volumes/Macintosh: No such file or directory
./configure: line 1: cd: ./tools/jam/src: No such file or directory
tools/jam/src//bjam
Detecting Python version... 2.5
Detecting Python root... /sw
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in user-config.jam.2
Generating Boost.Build configuration in user-config.jam...
Generating Makefile...
It seems that configure has a problem with "Macintosh HD 2" as a
directory name...
$ make
make: *** No targets specified and no makefile found. Stop.
WHATEVER - there's still the 5.2 "custom" way to build the boost libs:
$ cd ~/boost_1_34_1/tools/jam/src
$ ./build.sh
$ cp bin.macosxx86/bjam ../../../
$ cd ~/boost_1_34_1/
$ ./bjam --prefix=/usr/local
$ sudo ./bjam install
... 1 hour later everything _seems_ to be fine:
$ file /usr/local/lib/libboost_filesystem-1_34_1.dylib
/usr/local/lib/libboost_filesystem-1_34_1.dylib: Mach-O universal
binary with 2 architectures
/usr/local/lib/libboost_filesystem-1_34_1.dylib (for architecture
i386): Mach-O dynamically linked shared library i386
/usr/local/lib/libboost_filesystem-1_34_1.dylib (for architecture
ppc): Mach-O dynamically linked shared library ppc
That's exactly what I wanted. But... THIS is really strange (test.cpp
is the regex example from the install manual):
$ g++ test.cpp -I/usr/local/include/boost-1_34_1/ -L/usr/local/lib/ -
lboost_regex-mt-d-1_34_1
$ ./a.out
dyld: Library not loaded: /var/tmp//ccMlDtbZ.out
Referenced from: /Volumes/Macintosh HD 2/./a.out
Reason: image not found
Trace/BPT trap
WHAT? I _never_ referenced a library called /var/tmp//ccMlDtbZ.out.
What's going on here?
Any help is GREATLY appreciated!
Thanks,
Ole
1
0
Hi all,
I wrote a little command line interpreter based on the program option
library by Vladimir Prus. You can find it here:
http://minilien.com/?bNPy1ECuWv.
It's not a big thing but can help sometime.
You also have the subversion repository there:
http://code.google.com/p/clipo/
Let me know what you think.
JD
3
5

Re: [Boost-users] serialization lib, demo_shared_ptr.cpp, XML archives
by Robbie Morrison 22 Aug '07
by Robbie Morrison 22 Aug '07
22 Aug '07
Hello again
After posting my earlier message
<mailman.2403.1187719362.16337.boost-users(a)lists.boost.org>,
I thought some more about 'demo_shared_ptr.cpp' and
tried new fixes (isn't that always the way).
My modified file 'demo_shared_ptr.mod.cpp' now builds
and runs cleanly in both text and XML archive modes.
The revised file is appended here. It contains some
documentation at the end which may be worth reading.
Note too that the data members named 'x' are now member
initialized and this duly silences (Linux system) g++
compilier warnings and a raft of valgrind (memory
checker) errors.
I would now hope that a modified form of
'demo_shared_ptr.cpp' drawing on my experiences can be
checked into the Boost SVN repository. I don't think I
should be the person who does this, as I may have
introduced subtle bugs or bad practice.
Neither I have filed a bug report but would do so if
asked.
Finally, the presence of a buggy 'demo_shared_ptr.cpp'
in both 1.33.1 and 1.34.1 almost caused me to give up
on using Boost.Serialization. By all accounts, I am
not the first to struggle with this demo file and
fixing it should be accorded some priority.
Many thanks, as always, to the developers and
maintainers of Boost.Serialization!
best regards to all
Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Institute for Energy Engineering (IET)
Technical University of Berlin (TU-Berlin), Germany
[from IMAP client]
// demo_shared_ptr.cpp : shows polymorphic pointer XML serialization
// *******************************************************************
// MODIFICATION WARNING: this file has been modified by a Boost user
// and is not part of the official Boost distribution.
// *******************************************************************
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . Polymorphic
// derived pointer example by David Tonge. XML variant and some bug
// fixes added by Robbie Morrison <robbie(a)actrix.co.nz> on 22-Aug-2007.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org for updates, documentation, and revision history.
//
// This file has been tested with Boost release 1.34.1 dated
// 24-Jul-2007 (source build) and release 1.33.1 (Ubuntu package)
// using the GNU GCC 4.1.2 compiler (with -Wall -pedantic), valgrind
// version "valgrind-3.2.0-Debian" memory checker, and Linux Ubuntu
// 6.10 operating system (now superseded by 7.04). The file builds
// and runs cleanly under the conditions just listed.
//
// Unlike the 1.34.1 version of this demo, the archive file is not
// deleted and can be subsequently examined using any pager utility or
// text editor.
//
// Jump to the end of this file for a discussion on some of the coding
// practices employed.
// ---------------------------------------------------------
// Preprocessor directives controlling archive type
// ---------------------------------------------------------
// these can be reset lower values to aid troubleshooting
// 0 = straight text, 1 = text with NVP (name-value-pair) statements, 2 = xml
#define ARCHIVE_MODE 2
// 0 = omit David Tonge derived pointer code, 1 = use derived pointer code
#define POLYMORPHIC_CODE 1
// ---------------------------------------------------------
#include <iomanip> // setw() and family
#include <iostream> // standard io
#include <fstream> // file-based io
#include <string> // C++ strings
#include <boost/archive/tmpdir.hpp> // locate a temporary directory
#if (ARCHIVE_MODE >= 2)
# include <boost/archive/xml_iarchive.hpp> // archive for loading XML
# include <boost/archive/xml_oarchive.hpp> // archive for saving XML
#else
# include <boost/archive/text_iarchive.hpp> // archive for loading text
# include <boost/archive/text_oarchive.hpp> // archive for saving text
#endif
#include <boost/serialization/shared_ptr.hpp> // shared_ptr serialization
#include <boost/serialization/base_object.hpp> // base class serialization
#include <boost/serialization/export.hpp> // explicit code for exports (place last)
class A
{
friend class boost::serialization::access;
private:
template <class Archive>
void serialize
(Archive& ar, const unsigned int class_version) {
#if (ARCHIVE_MODE >= 1)
ar & BOOST_SERIALIZATION_NVP(x); // boost::serialization::make_nvp("x", x)
#else
ar & x; // simple form for text archives
#endif
}
int x;
public:
A(): x(42) { ++count; } // default constructor, the 42 is arbitrary
virtual ~A() { --count; }
static int count; // public in order to simplify test code
};
BOOST_CLASS_EXPORT(A) // requires <boost/serialization/export.hpp>
// if using particular Metrowerks or Borland compilers, uncomment the following:
// BOOST_SERIALIZATION_SHARED_PTR(B)
int A::count = 0;
class B : public A // class B added by David Tonge
{
friend class boost::serialization::access;
private:
int x;
template<class Archive>
void serialize(Archive& ar, const unsigned int class_version) {
#if (ARCHIVE_MODE >= 1)
//ar & boost::serialization::base_object<A>(*this); // CAUTION: problematic for XML
ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(A); // .. but this works fine
ar & BOOST_SERIALIZATION_NVP(x);
#else
ar & boost::serialization::base_object<A>(*this); // this is fine for text
//ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(A); // .. and this also works
ar & x; // x now saved (unlike 1.34.1)
#endif
}
public:
B() : A(), x(84) { ++count; } // default constructor, the 84 is arbitrary
virtual ~B() { --count; }
static int count;
};
// if using particular Metrowerks or Borland compilers, uncomment the following:
// BOOST_SERIALIZATION_SHARED_PTR(B)
BOOST_CLASS_EXPORT(B)
int B::count = 0;
void display(boost::shared_ptr<A>& a, boost::shared_ptr<A>& a1)
{
std::cout << "a = 0x" << std::hex << a.get() << std::dec << ", ";
if (a.get()) std::cout << "is a " << typeid(*(a.get())).name() << "*, ";
std::cout << "use count = " << std::dec << a.use_count() << std::endl;
std::cout << "a1 = 0x" << std::hex << a1.get() << std::dec << ", ";
if (a1.get()) std::cout << "is a " << typeid(*(a1.get())).name() << "*, ";
std::cout << "use count = " << std::dec << a1.use_count() << std::endl;
std::cout << "unique element count = " << A::count << std::endl;
std::cout << std::endl;
}
int main(int argc, char* argv[])
{
// report some build details to the console
std::cout << std::endl;
std::cout << "archive mode : " << ARCHIVE_MODE << std::endl;
std::cout << "DT extension mode : " << POLYMORPHIC_CODE << std::endl;
// name the archive file appropriately
#if (ARCHIVE_MODE >= 2)
std::string ext = "xml"; // XML archive
#else
std::string ext = "txt"; // text archive
#endif
std::string filename(boost::archive::tmpdir()); //locate a temporary directory
filename += "/demo_shared_ptr";
filename += ".";
filename += ext;
std::cout << "testfile name : " << filename << std::endl;
std::cout << std::endl;
// note the test type
std::cout << "base smart pointer tests" << std::endl;
std::cout << std::endl;
// create a new shared pointer to a new object of type A
boost::shared_ptr<A> spa(new A());
boost::shared_ptr<A> spa1;
spa1 = spa;
display(spa, spa1);
// serialize the pointers
{
// open the archive file
std::ofstream ofs(filename.c_str());
#if (ARCHIVE_MODE >= 2)
boost::archive::xml_oarchive oa(ofs);
#else
boost::archive::text_oarchive oa(ofs);
#endif
#if (ARCHIVE_MODE >= 1)
oa << BOOST_SERIALIZATION_NVP(spa);
oa << BOOST_SERIALIZATION_NVP(spa1);
#else
oa << spa;
oa << spa1;
#endif
}
// reset the shared pointer to NULL thereby destroying the type A object
spa.reset();
spa1.reset();
display(spa, spa1);
// restore state to one equivalent to the original
{
// open the archive file
std::ifstream ifs(filename.c_str());
#if (ARCHIVE_MODE >= 2)
boost::archive::xml_iarchive ia(ifs);
#else
boost::archive::text_iarchive ia(ifs);
#endif
#if (ARCHIVE_MODE >= 1)
ia >> BOOST_SERIALIZATION_NVP(spa);
ia >> BOOST_SERIALIZATION_NVP(spa1);
#else
ia >> spa;
ia >> spa1;
#endif
}
display(spa, spa1);
spa.reset();
spa1.reset();
#if (POLYMORPHIC_CODE >= 1) // that is, use derived pointer code
// note the test type
std::cout << "derived smart pointer tests" << std::endl;
std::cout << std::endl;
// new code by David Tonge starts here
// create a new shared pointer to a new object of type A
spa = boost::shared_ptr<A>(new B());
spa1 = spa;
display(spa, spa1);
// serialize it
// CAUTION: archive saved earlier will be simply overwritten
{
std::ofstream ofs(filename.c_str());
#if (ARCHIVE_MODE >= 2)
boost::archive::xml_oarchive oa(ofs);
#else
boost::archive::text_oarchive oa(ofs);
#endif
#if (ARCHIVE_MODE >= 1)
oa << BOOST_SERIALIZATION_NVP(spa);
oa << BOOST_SERIALIZATION_NVP(spa1);
#else
oa << spa;
oa << spa1;
#endif
}
// reset the shared pointer to NULL thereby destroying the type B object
spa.reset();
spa1.reset();
display(spa, spa1);
// restore state to one equivalent to the original
{
// reopen the archive
std::ifstream ifs(filename.c_str());
#if (ARCHIVE_MODE >= 2)
boost::archive::xml_iarchive ia(ifs);
#else
boost::archive::text_iarchive ia(ifs);
#endif
#if (ARCHIVE_MODE >= 1)
ia >> BOOST_SERIALIZATION_NVP(spa);
ia >> BOOST_SERIALIZATION_NVP(spa1);
#else
ia >> spa;
ia >> spa1;
#endif
}
display(spa, spa1);
#endif // POLYMORPHIC_CODE
return 0;
} // main()
// ---------------------------------
// Output
// ---------------------------------
//
// archive mode : 2
// DT extension mode : 1
// testfile name : ./demo_shared_ptr.xml
//
// base smart pointer tests
//
// a = 0x0x42ca428, is a 1A*, use count = 2
// a1 = 0x0x42ca428, is a 1A*, use count = 2
// unique element count = 1
//
// a = 0x0, use count = 0
// a1 = 0x0, use count = 0
// unique element count = 0
//
// a = 0x0x42d3a08, is a 1A*, use count = 2
// a1 = 0x0x42d3a08, is a 1A*, use count = 2
// unique element count = 1
//
// derived smart pointer tests
//
// a = 0x0x42d4ab0, is a 1B*, use count = 2
// a1 = 0x0x42d4ab0, is a 1B*, use count = 2
// unique element count = 1
//
// a = 0x0, use count = 0
// a1 = 0x0, use count = 0
// unique element count = 0
//
// a = 0x0x42de180, is a 1B*, use count = 2
// a1 = 0x0x42de180, is a 1B*, use count = 2
// unique element count = 1
// ---------------------------------
// Coding practices
// ---------------------------------
//
// Polymorphic behavior
//
// This demo does involve polymorphic behavior due to the
// presence of a virtual function in the base class, in this case
// the virtual destructor for A:
//
// virtual ~A(); // gives rise to polymorphic behavior
//
// If you wish to experiment, remove the virtual specifier and
// note the now much reduced XML archive.
//
// Default (zero-argument) constructor
//
// All deserialized classes need a default constructor. This
// need not be explicitly defined, in which case the
// compiler-supplied version is used. For deserialization
// purposes, the default constructor can be private (although
// other design considerations will normally mean that it is, at
// most, protected).
//
// Class registration
//
// In this demo, class registration relies on explicit export of
// the class and its globally unique identifier (GUID). This is
// achieved using the following macro:
//
// BOOST_CLASS_EXPORT(Class) // "Class" becomes the GUID
//
// This form of class registration is known as "key export". A
// more general macro also exists (but was not employed here) in
// which the client code actively manages the GUID:
//
// BOOST_CLASS_EXPORT_GUID(Class, "my-guid")
//
// Class registration can also be accomplished by inserting a C++
// registration statement within 'serialize' or, in some cases,
// placing reliance on serialization order. However these other
// approaches require an up-front knowledge of the class
// hierarchy or are dependent on program flow. Key export is
// hence the more flexible and less brittle strategy and should
// therefore be preferred. Moreover, it is probably good
// practice to explicitly export all serialized classes, even when
// this is not strictly required.
//
// Base/derived information
//
// Class hierarchy information is communicated here using the
// following macro:
//
// ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(BaseClass);
//
// As before, a direct C++ statement is possible. However this
// broke for the XML format archive (I didn't investigate why).
// Hence it would appear that use of the above macro is necessary
// when serializing to XML.
//
// Non-default names/GUIDs
//
// If a macro which employs an explicit object name or class GUID
// is used, then the new string literal must be valid XML. In
// particular, whitespace is not acceptable and its use will
// generate an "unrecognized XML syntax" exception at run-time:
//
// using boost::serialization::make_nvp;
// ar & make_nvp("my data", data); // run-time exception
//
// Associated headers
//
// Read the code itself for more information on the associated
// headers and their correct placement:
//
// <boost/serialization/base_object.hpp>
// <boost/serialization/export.hpp>
//
// Build and run command-lines (your library name may be different)
//
// all warnings (the grep screening relates to -Weffc++, see man g++):
//
// $ g++ -ggdb -Wall -Weffc++ -pedantic
// demo_shared_ptr.mod.cpp
// -lboost_serialization-gcc41
// -o demo_shared_ptr
// 2>&1
// | grep --invert-match '/usr/local/include/boost-1_34_1/boost'
// | grep --invert-match 'instantiated from'
//
// simplified build:
//
// $ g++ demo_shared_ptr.mod.cpp
// -lboost_serialization-gcc41
// -o demo_shared_ptr
//
// run with memory checking:
//
// $ valgrind ./demo_shared_ptr
//
// simplified run:
//
// $ ./demo_shared_ptr
//
// Compile-time static asserts
//
// These may be difficult to interpret (in my limited
// experience). Note that a pointer to a C++ fundamental type
// (for example, int*) cannot be de/serialized.
//
// Run-time exceptions
//
// Some common messages and probable fixes (based on the style
// recommendations above):
//
// "unregistered_class"
// missing: BOOST_CLASS_EXPORT(SubClass)
//
// "unregistered void cast"
// missing: ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(BaseClass);
//
// "unrecognized XML syntax"
// name-value-pair name contains whitespace
// end of file demo_shared_ptr.mod.cpp
2
1

22 Aug '07
Thanks for your quick answer Robert.
Sure it doesn't affect the program behaviour but the debug with Visual
C++ IDE is little bit more painful ;-). I'm going to fix my own copy of
the file.
Marc Viala
De la part de Robert Ramey
clearly its a bug but it shouldn't affect any programs, I'll fix it in
my working copy. You can fix it by just initializing to 0.
Robert Ramey
"Marc Viala" <mviala(a)acticm.com> wrote in message
news:D0D608FD34E14C4BA93A30AC162651E18BA519@SERVEUR2003.acticm.com...
I've downloaded recently the version Boost 1.34.1 and performed
some tests on ours applications integrating Boost components.
During theses tests, I've tried to deserialize some XML archives
generated w/ Boost 1.33.1 including some boost::optional<> instances and
I've observed that the Visual C++ 7.1 IDE emits run-time checks in the
load<boost::optional<>>() @ line 60 in file
boost/serialization/optional.hpp.
template<class Archive, class T>
void load(
Archive & ar,
boost::optional<T> & t,
const unsigned int /*version*/
){
bool tflag;
ar >> boost::serialization::make_nvp("initialized", tflag);
if (tflag){
unsigned int v;
if(3 < ar.get_library_version()){
ar >> make_nvp("item_version", v);
}
detail::stack_construct<Archive, T> aux(ar, v);
^^^^^^^^^^^^^^^^^^^^^^^^
Here Run-Time Check Failure #3 - The variable 'v' is being used
without being defined.
ar >> boost::serialization::make_nvp("value",
aux.reference());
t.reset(aux.reference());
}
else {
t.reset();
}
}
Is it possible to avoid this run-time check by a
preinitialisation of the local variable "v"? Is it a Bug?
Best regards,
Used Configurations:
Windows XP
Boost 1.34.1 (through Boost Installer w/ DLL libraries)
Marc Viala
1
0
How can I do a regex search that will return me all patterns for the given
regular expression?
Somehow like preg_match_all in PHP.
--
View this message in context: http://www.nabble.com/regex_search-all-tf4292590.html#a12219928
Sent from the Boost - Users mailing list archive at Nabble.com.
3
6

Re: [Boost-users] [statechart] using events for passing information
by "Christian Bähnisch" 22 Aug '07
by "Christian Bähnisch" 22 Aug '07
22 Aug '07
I'm working on a controller connected to a external device through a
serial port.
I have to process events triggered by the device which can be group into
several
categories like simple status events "My firmware has version XXXX" or
"the result of my last working step was XXXX"
as you can see my events carry data. I want to encapsulate this
communication events in statechart events, so I can
change to states depending on the event's category, and then make further
processing where I have to extract data I have passed into them.
I thought this would be a common use case for a statechart appproach ...
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
2
1