Boost logo

Boost Users :

From: Peter Broadwell (peter_at_[hidden])
Date: 2005-10-01 02:39:59


I am new to Boost and am having no luck getting a nested vector
construct to serialize. Pretty sure I have the rigth includes, but
keep getting various errors out of g++ (sample below)

Anyone have some sample code that has the right set of magic in it.

Thanks -

;;peter

= = = start of a sample of the errors I get = = = = = =

g++ -I. -I /usr/kde/3.3/include -I /usr/qt/3/include -I
/usr/include/boost/test `getconf LFS_CFLAGS` -g -O2 -c testVec.cc
/usr/include/boost/archive/detail/oserializer.hpp: In function `void
boost::archive::save(Archive&, T&) [with Archive =
boost::archive::text_oarchive, T = stashable_t]':
/usr/include/boost/archive/basic_text_oarchive.hpp:78: instantiated
from
`voidboost::archive::basic_text_oarchive<Archive>::save_override(T&,
int) [with T = stashable_t, Archive = boost::archive::text_oarchive]'
/usr/include/boost/archive/detail/interface_oarchive.hpp:85:
instantiated from`Archive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&)
[with T = stashable_t, Archive = boost::archive::text_oarchive]'
genDigest.cc:209: instantiated from here
/usr/include/boost/archive/detail/oserializer.hpp:566: error: incomplete
type `boost::STATIC_ASSERTION_FAILURE< false>' used in nested name specifier
/usr/include/boost/archive/detail/oserializer.hpp:566: error: size of
array has non-integral type `<type error>'

= = = end of sample of error - some are much longer ;-) = = =


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