$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-21 10:54:32
Oleg Abrosimov wrote:
> my fault, sorry. it should be
>
> class base {};
> class child : public base {};
>
> child c;
> boost::reference_wrapper<base> bref = boost::ref(c);
This compiles if I make the reference_wrapper constructor implicit. I wonder
why we made it explicit (in TR1 as well). Probably out of habit. On the
other hand, I can't think of any potential problems that an implicit
constructor could have caused.
Thoughts?