Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2008-05-20 12:27:59


Robert,

> > while trying to add serialization support for fusion sequences I came
> > across the need to figure out whether a given type actually is an
> > archive. Is there a boost::serialization::is_archive<> metafunction
> > available? And if not, what's the best way to implement this?
>
> Hmmm - I chuckled when I read this. It seems that I would be asking
> you this question rather than the other way around.

You're the serialization master, not me :-P

> Giving it a tiny bit of thought leads me to wonder:
>
> First thought is one could use something like is_base_derived to
> verify that it derived from from one of the common base classes.
> This solution would probably be sufficient for most practical
> purposes.

That would be sufficient for now I think. What are the base classes I could
use to test against?

Regards Hartmut


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