diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-11-17 13:51:21 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-11-17 13:51:21 +0000 |
| commit | 1bd2260fa5ff6ee3495329abe5ecff6106efcf3d (patch) | |
| tree | f20e51ab7daaeb65dd84a5a72268a233d9191ba2 /src/string.hh | |
| parent | b43f0fb8530b45298cdd3da2fdebe6c2fa43b5d4 (diff) | |
Import std::begin/std::end so that container utils work correctly with non std containers
Diffstat (limited to 'src/string.hh')
| -rw-r--r-- | src/string.hh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/string.hh b/src/string.hh index 55276d73..bdb28dd7 100644 --- a/src/string.hh +++ b/src/string.hh @@ -196,16 +196,6 @@ inline StringView String::substr(CharCount pos, CharCount length) const return StringView{*this}.substr(pos, length); } -inline const char* begin(StringView str) -{ - return str.begin(); -} - -inline const char* end(StringView str) -{ - return str.end(); -} - inline String operator+(const char* lhs, const String& rhs) { return String(lhs) + rhs; |
