Boost logo

Boost :

Subject: Re: [boost] Best method of checking for ==, <, streamability
From: new.gmane.org (kfriddile_at_[hidden])
Date: 2010-11-01 18:19:10


On 11/1/2010 10:15 AM, 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.
>
> 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?
>
> Apologises for this question, but I have lost track of how well such checks can be implemented.
>
> Thanks,
>
> Christopher Jefferson
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

If you're thinking of submitting a potential replacement for boost::any,
could you maybe add support for custom allocators as well? :)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk