|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2002-07-08 19:22:47
Is there a way to print a boost::any object? If would call the print
operator (<<) of the contained object if it exists, or do nothing if the
contained object doesn't have a print routine or if there is no contained
object.
I guess this would be an application of a general visitor strategy. Hasn't
someone else asked about that?
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk