mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
fix #157
This commit is contained in:
parent
b5116d078d
commit
cd1ec187e6
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ struct MyString {
|
|||
MyString() : str{} {} // required
|
||||
MyString(const char* s, std::size_t l) : str{s, l} {} // required
|
||||
bool empty() const { return str.empty(); } // required
|
||||
constexpr auto begin() const { return str.begin(); } // required
|
||||
constexpr auto end() const { return str.end(); } // required
|
||||
void append(std::size_t count, char c) { str.append(count, c); } // required
|
||||
void append(const char* s, std::size_t size) { str.append(s, size); } // required
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue