Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

SDK smart pointer

(1/1)

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.

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.

--- End quote ---

i knew that there was something like that,
thx!

Navigation

[0] Message Index

Go to full version