
26 Jan
2005
26 Jan
'05
6:37 p.m.
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? http://www.cuj.com/documents/s=8470/cujweb0309nasonov/ 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