|
Boost Users : |
Subject: Re: [Boost-users] How to convert shared_ptr to pointer?
From: Jookia (166291_at_[hidden])
Date: 2013-01-03 12:24:19
On 04/01/13 04:21, young wrote:
> I have shared_ptr<int> variable. I need to pass a int* pointer to a function
> call. How to pass shared_ptr<int> as int *?
Hello,
You should be able to use shared_ptr<int>::get() ?
Cheers,
Jookia.
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