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

Method remove_suffix

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

required

Source from the content-addressed store, hash-verified

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
81
82 constexpr MyStringView(const char* cstr) : str{ cstr } {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected