|
Boost : |
Subject: Re: [boost] Best method of checking for ==, <, streamability
From: Maxim Yegorushkin (maxim.yegorushkin_at_[hidden])
Date: 2010-11-05 13:08:03
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.html
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk