Boost logo

Boost :

From: Alexey Nikitin (reductor_at_[hidden])
Date: 2003-12-09 02:09:15


Robert Ramey wrote:

> In reviewing tracking.hpp, it can be seen that the above macro doesn't
expand
> to anything sensible when argument is a template.
>
> However, on compilers that support partial specialization, we should be
able
> to assign a tracking type trait with the following:
>
> // specify the current tracking behavior for the class
> namespace boost {
> namespace serialization {
>
> template<class T>
> struct tracking_level<A<T> >{
> typedef mpl::int_< boost::serialization::track_never> type;
> BOOST_STATIC_CONSTANT(enum tracking_type, value =
boost::serialization::track_never);
> };
>
> } // namespace serialization
> } // namespace boost

Thanks, this is work!

Regards,
Alexey.


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