| 
    rippled
    
   | 
 
Lightweight wrapper to tag static string. More...
#include <json_value.h>
Public Member Functions | |
| constexpr | StaticString (char const *czstring) | 
| constexpr | operator char const * () const | 
| constexpr char const * | c_str () const | 
Private Attributes | |
| char const * | str_ | 
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:
Definition at line 62 of file json_value.h.
      
  | 
  explicitconstexpr | 
Definition at line 65 of file json_value.h.
      
  | 
  constexpr | 
Definition at line 70 of file json_value.h.
      
  | 
  constexpr | 
Definition at line 76 of file json_value.h.
      
  | 
  private | 
Definition at line 82 of file json_value.h.