Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-01-26 13:37:41

S?rgio Pace wrote:
> Hi,
> I was playing with the any.hpp library trying to add a generic
> inserter to an ostrem. To acomplish that I created a pure virtual
> method print in the placeholder:
> class placeholder {
> ...
> virtual void print(std::ostream& out) const = 0;
> ...
> }
> [...]

Have you look at dynamic_any?

Unfortunately, it not yet "under review for inclusion with Boost"
because I want to have multimethods there. I hope to get them in
dynamic_any soon.

Alexander Nasonov

Boost list run by bdawes at, gregod at, cpdaniel at, john at