MCPcopy Create free account
hub / github.com/chen3feng/toft / FromArray

Method FromArray

base/string/string_piece.h:217–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215public:
216 template <typename CharType, size_t Size>
217 static StringPiece FromArray(const CharType (&array)[Size]) {
218 return StringPiece(&array[0], Size);
219 }
220
221private:
222 const char* m_ptr;

Callers

nothing calls this directly

Calls 1

StringPieceClass · 0.85

Tested by

no test coverage detected