14 Jan
2014
14 Jan
'14
1:41 p.m.
On 01/14/2014 12:42 PM, Bjorn Reese wrote:
I noticed that boost::any does not have an operator== for comparing two boost::any objects. Is this a deliberate choice?
Currently I have to (1) compare the types, and (2) convert the values with any_cast (and probably catch bad_any_cast exceptions) and compare them.
And which type do I use for any_cast?