Boost logo

Boost Users :

Subject: Re: [Boost-users] [Any] Operator ==
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-11-03 12:21:36


Dear Nevin,

> > In case you're wondering why I'd interested in such
> operators, the answer is that I'm thinking of storing
> objects of type boost::any in an unordered_map.
>
> Wouldn't this just be the address of the object (which
> isn't
> particularly useable as a key in a map)?

So, what specifically is undesirable in Boost.Any for storing their addresses in containers?

TIA,
--Hossein


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net