Lightweight wrapper to tag static string.
More...
#include "json.h"
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:
Json::StaticString::StaticString |
( |
const char * |
czstring | ) |
|
|
inlineexplicit |
const char* Json::StaticString::c_str |
( |
| ) |
const |
|
inline |
Json::StaticString::operator const char * |
( |
| ) |
const |
|
inline |
const char* Json::StaticString::str_ |
|
private |
The documentation for this class was generated from the following file: