News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

SDK smart pointer

Started by BlueHazzard, November 22, 2013, 06:50:28 PM

Previous topic - Next topic

BlueHazzard

Hi,
is there a implementation of a smart pointer in the sdk?

greetings

oBFusCATed

What smart pointer?
You can use cb::shared_ptr and cb::weak_ptr.
Both are aliases for the std::tr1 versions.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard

a pointer with refcounting...

Quote from: oBFusCATed on November 23, 2013, 05:29:31 PM
What smart pointer?
You can use cb::shared_ptr and cb::weak_ptr.
Both are aliases for the std::tr1 versions.

i knew that there was something like that,
thx!