Lightweight wrapper to tag static string.
更多...
#include <value.h>
Lightweight wrapper to tag static string.
Value constructor and objectValue member assignment takes advantage of the StaticString and avoid the cost of string duplication when storing the string or the member name.
Example of usage:
object[code] = 1234;
Lightweight wrapper to tag static string.
Definition: value.h:149
Represents a JSON value.
Definition: value.h:196
◆ StaticString()
nim_cpp_wrapper_util::Json::StaticString::StaticString |
( |
const char * |
czstring | ) |
|
|
inlineexplicit |
◆ c_str()
const char * nim_cpp_wrapper_util::Json::StaticString::c_str |
( |
| ) |
const |
|
inline |
◆ operator const char *()
nim_cpp_wrapper_util::Json::StaticString::operator const char * |
( |
| ) |
const |
|
inline |
◆ c_str_
const char* nim_cpp_wrapper_util::Json::StaticString::c_str_ |
|
private |
该类的文档由以下文件生成:
- D:/GitLab/builds/5sbaxrcd/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_wrapper_util/json/value.h