From: Russell Hind (rh_gmane_at_[hidden])
Date: 2004-10-22 13:30:35
Thanks Robert, I thought that might be the issue so that is what I've done.
Robert Ramey wrote:
> In spite of heroic efforts, we've been unable to implement "built-in"
> serialization for arrays for BCB compilers. If you're using BCB and you
> need to serialize an array you'll have to specify the loop in your class
> serialization code.
> Robert Ramey
> "Russell Hind" <rh_gmane_at_[hidden]> wrote in message
>>I'm trying to serialise arrays (boost::array, actually). There aren't
>>any specific headers for it as there are for STL types. Could one be
>>added at some point?
>>But I've run in to a more basic compilation problem under bcc32: This
>>double d; d = 0.0; d = 1.0; d = 2.0;
>> toa & d;
>>The error I get is
>>[C++ Error] interface_oarchive.hpp(105): E2031 Cannot cast from 'double
>>*' to 'double ( &) const'
>>Is this a problem with Borland or is my syntax for serialising arrays?
>>Unsubscribe & other changes:
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk