Boost logo

Boost :

From: Dennis Luehring (dl.soluz_at_[hidden])
Date: 2024-03-25 04:50:54


someone at reddit gave me at hint to use signed int for the version::value

when i change the version routine in serialize_MyType.hpp to use int it
links

template <typename V, std::size_t D>
struct version<MyType<V, D>>
{
// does not link
//  BOOST_STATIC_CONSTANT( unsigned int, value = 1 );
// links
 Â Â Â  BOOST_STATIC_CONSTANT( int, value = 1 );
};

i don't understand why that is working and if that is intended - as the
version seems to be given as unsigned int to the load/save routines


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk