Add more helpers to CDRIO

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Rename printf and vprintf as they can clash with stdlib.

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Allow the use of overloaded operator new in singletons

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Use ::Sleep(0) for thread yield on Win32

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Add templated allocate and free to AllocatorInstance that calls constructors and destructors

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Tidy up CDRIO a little

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Add custom node allocator to SmartPtr

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Add LocalPtr implementation

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>