TurtleBrains  0.2.1
High quality, portable, C++ API for native application and game development.
String Conversion Macros

Macros

#define tb_string(object)   TurtleBrains::Core::ToString((object))
 

Detailed Description

Macro Definition Documentation

#define tb_string (   object)    TurtleBrains::Core::ToString((object))

An easy way to make sure that a string is processed correctly is to just call tb_string on all strings passed to TurtleBrains so that both ascii and wide string arrays will convert into the correct std::string or std::wstring type depending on the the tb_wide_string setting in tb_configuration.h