Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2007-01-11 13:55:48


Robert Ramey wrote:

> I don't know of anything that that would affect this. What "broke" ?
>
> Robert Ramey
>

It used to compile without error, now I get the referred to error; which is,
'no matching function' for the 'save' and 'load'.

As suggested, I moved save and load to boost::numeric::ublas, and it
compiles.

In any case, *something* changed.

> Neal Becker wrote:
>> I just updated to latest cvs head, and my serialization split_free
>> broke.
>>
>> It used to be that
>>
>> namespace boost { namespace serialization {
>> template<class Archive, class U>
>> inline void serialize (Archive &ar, ublas::vector<U>& v, const
>> unsigned
>> int file_version) {
>> boost::serialization::split_free (ar, v, file_version);
>> }
>> }
>> }
>>
>> Would work when 'save' and 'load' were free functions in ::namespace,
>> but
>> now I'm getting 'no matching function' for 'save' and 'load'.
>> Moving 'save' and 'load' into boost::serialization namespace fixed it.
>>
>> Is this expected/desired? This is gcc-4.1.1 (fedora fc6)
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>
>
> _______________________________________________
> 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