Skip to content

API: Namespaces and Pointers

Craig Minihan edited this page Nov 2, 2016 · 13 revisions

#Namespaces libscriptobject is defined in the rs::scriptobject namespace. There are a bunch of other libraries we've developed, they all live in their own namespace below the rs namespace.

Apologies if you find the nested namespaces a PITA, they are there for good reason.

#Pointers libscriptobject doesn't create normal C++ objects. They are optimized so they occupy a single allocated block regardless of how many fields, their types and values your supply. Underneath we use placement new which makes using std pointers a bit funky.

Clone this wiki locally