MCPcopy Create free account
hub / github.com/Tencent/rapidjson / StringRef

Function StringRef

include/rapidjson/document.h:346–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344*/
345template<typename CharType>
346inline GenericStringRef<CharType> StringRef(const CharType* str) {
347 return GenericStringRef<CharType>(str, internal::StrLen(str));
348}
349
350//! Mark a character pointer as constant string
351/*! Mark a plain character pointer as a "string literal". This function

Callers 9

TESTFunction · 0.85
GenericValueFunction · 0.85
operator==Function · 0.85
document.hFile · 0.85
FindMemberFunction · 0.85
RemoveMemberFunction · 0.85
EraseMemberFunction · 0.85
GenericValueMethod · 0.85
EraseMemberMethod · 0.85

Calls 1

StrLenFunction · 0.50

Tested by 1

TESTFunction · 0.68