Boost logo

Boost Users :

Subject: Re: [Boost-users] issue with make_shared
From: Igor R (boost.lists_at_[hidden])
Date: 2011-03-21 10:05:46


> InputType NewInput =InputType(Port, cl,
> boost::make_shared<boost::asio::io_service> ,
> boost::make_shared<boost::thread>(boost::bind(&boost::asio::io_service::run,
> io.get())));

Please, read some documentation, before using a library - it would
save you a lot of time and effort...
http://www.boost.org/doc/libs/1_46_1/libs/smart_ptr/make_shared.html


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