[Trilinos-Users] boost/std::shared_ptr interoperability
Wojciech Śmigaj
w.smigaj at gmail.com
Thu Jan 30 07:08:16 MST 2014
On 30/01/2014 13:12, Nico Schlömer wrote:
> Hi all,
>
> is there any better way for creating an RCP from a
boost/std::shared_ptr than
>
> Teuchos::rcp(myBoostPtr.get(), false))
>
> ?
>
> Cheers,
> Nico
Hi Nico,
yes, there are dedicated functions for doing this; see here:
http://trilinos.sandia.gov/packages/docs/r11.0/packages/teuchos/doc/html/group__Teuchos__RCPBoostSharedPtrConversions__grp.html
Best regards,
Wojciech
More information about the Trilinos-Users
mailing list