MCPcopy Create free account
hub / github.com/bcndev/bytecoin / operator[]

Method operator[]

src/common/StringView.hpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 bool empty() const { return m_size == 0; }
39
40 Char operator[](Size index) const {
41 // assert(index < m_size);
42 return *(m_data + index);
43 }
44 Char at(Size index) const;
45
46 const Char *begin() const { return m_data; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected