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

Method substr

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

required

Source from the content-addressed store, hash-verified

75 constexpr auto end() const { return str.end(); } // required
76 constexpr std::size_t find(char c) const { return str.find(c); } // required
77 constexpr MyStringView substr(std::size_t p, std::size_t n) { return str.substr(p, n); } // required
78 constexpr void remove_prefix(std::size_t n) { str.remove_prefix(n); } // required
79 constexpr void remove_suffix(std::size_t n) { str.remove_suffix(n); } // required
80 friend constexpr bool operator==(MyStringView lhs, MyStringView rhs); // required

Callers 2

bitsetMethod · 0.45
enum_flags_castFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected