Boost logo

Boost :

From: quendezus (quendez_at_[hidden])
Date: 2002-01-28 12:17:09


--- In boost_at_y..., Emily Winch <emily_at_b...> wrote:
>
> quendezus said:
>
> > All these persistence libraries are intrusive (you have to use a
base
> > class). Some of them don't use serialization. They all heavily
rely
> > on runtime polymorphism. I think a boost persistence library
should
> > be non intrusive and should use template programming.
>
> External polymorphism would give you the runtime polymorphism
without the
> intrusiveness. It would be nice to be able to turn that off,
though, for
> circumstances where the structure is known at compile time: and
easily,
> since "the structure will be known at compile time" sounds like one
of those
> things in requirements documents that gets changed when you already
wrote
> everything :)
>
> Emily
>

Yes, I have tried external polymorphism successfully for a
persistence system. I will think about your idea of being able to
switch easily between a compile time mechanism and a runtime one.

Sylvain


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