mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-30 22:29:23 +01:00
Initial implementation of optimal compile-time formatter generation
This commit is contained in:
@@ -295,6 +295,8 @@ template <typename Char> class basic_string_view {
|
||||
FMT_CONSTEXPR iterator begin() const { return data_; }
|
||||
FMT_CONSTEXPR iterator end() const { return data_ + size_; }
|
||||
|
||||
FMT_CONSTEXPR const Char& operator[](size_t pos) const { return data_[pos]; }
|
||||
|
||||
FMT_CONSTEXPR void remove_prefix(size_t n) {
|
||||
data_ += n;
|
||||
size_ -= n;
|
||||
|
||||
Reference in New Issue
Block a user