$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] question about C++11 guidelines
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-05-04 02:25:45
On 03/05/12 11:15, loic.actarus.joly_at_[hidden] wrote:
>     For instance:
>     struct A
>     {
>       A(int i);
>       A(std::vector<int>  const&v);
>     };
>     using boost::make_shared;
>     std::vector<int>  v;
>     boost::shared_ptr<A>  p1 = make_shared<A>  (3); // Works
>     boost::shared_ptr<A>  p1 = make_shared<A>  (v); // Does not work, there is no
>     conversion from std::shared_ptr to boost::shared_ptr
No such error message here.