MCPcopy Create free account
hub / github.com/Neargye/magic_enum / empty

Method empty

test/test_aliases.cpp:70–70  ·  view source on GitHub ↗

required

Source from the content-addressed store, hash-verified

68 constexpr MyStringView() : str{} {} // required
69 constexpr MyStringView(const char* cstr, std::size_t size) : str{cstr, size} {} // required
70 constexpr bool empty() const { return str.empty(); } // required
71 constexpr std::size_t size() const { return str.size(); } // required
72 constexpr const char* data() const { return str.data(); } // required
73 constexpr const char& operator[](std::size_t i) const { return str[i]; } // required

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected