Boost logo

Boost Users :

From: Daniel James (daniel_james_at_[hidden])
Date: 2008-01-31 10:39:20


On 29/01/2008, Ovanes Markarian <om_boost_at_[hidden]> wrote:
> Hello *,
>
> I would like to ask the developers of boost::any if the ctor template in
> boost::any
>
> template<typename ValueType>
> any(const ValueType & value)
> : content(new holder<ValueType>(value))
> {
> }
>
>
> is intentionally not marked as explicit.

The developer of boost::any isn't active on this list nowadays. But
here's a post where he explains this, a long discussion followed:

http://lists.boost.org/Archives/boost/2004/02/61713.php

Daniel


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