
4 May
2012
4 May
'12
6:25 a.m.
On 03/05/12 11:15, loic.actarus.joly@numericable.fr 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.