
On 01/11/10 17:15, Christopher Jefferson wrote:
A user recently posted on boost-users asking for operator== support in boost::any. I have added this support to my private version, which extends spirit's implementation of any. I am interested in cleaning this up and submitting it to replace boost::any, if everyone is happy with this.
I wonder what happened to http://cpp-experiment.sourceforge.net/boost/libs/dynamic_any/doc/tutorial.ht...
The major issue is that my implementation requires type support operator==, operator< , hash and operator<< / operator>>. Are there any techniques in boost for detecting the presence of these operators which are sufficiently reliable they could be used in boost::any?
You may like to take a look at boost/detail/is_incrementable.hpp -- Max