
3 Jan
2013
3 Jan
'13
5:24 p.m.
On 3 January 2013 17:21, young
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 *?
Look at the manual [1] and search for get() member and get_pointer free function. [1] http://www.boost.org/doc/libs/1_52_0/libs/smart_ptr/shared_ptr.htm Best regards, -- Mateusz Loskot, http://mateusz.loskot.net