
Jonathan Turkanis writes:
christopher diggins wrote:
Hello all,
I just realized that an empty BIL interface,
BOOST_IDL_BEGIN(IAnything) BOOST_IDL_EMPTY(IAnything)
has some common ground with:
boost::any
Where boost::any stores a copy of a value of practical any type for later extraction, IAnything can point to just about anything.
Yes, I noticed this just a few days ago ;-)
[...]
I'm thinking of adding a template boost::interfaces::any, which has cloning semantics and uses the same syntax as any for binding, i.e., assignment and construction from a const reference.
template<typename Interface = IAnything> class any;
Are you aware of Alexander Nasonov's work on "dynamic_any" (http://cpp-experiment.sourceforge.net/boost/libs/dynamic_any/doc/tutorial.ht... -- Aleksey Gurtovoy MetaCommunications Engineering