JsonCpp project page | JsonCpp home page |
Lightweight wrapper to tag static string. More...
#include <json/value.h>
Public Member Functions | |
StaticString (const char *czstring) | |
operator const char * () const | |
const char * | c_str () const |
Lightweight wrapper to tag static string.
Value constructor and objectValue member assignement takes advantage of the StaticString and avoid the cost of string duplication when storing the string or the member name.
Example of usage:
|
inlineexplicit |
|
inline |
Definition at line 82 of file value.h.
Referenced by Json::Value::Value().
|
hosts this site. |
Send comments to: Json-cpp Developers |