diff --git a/BAN/include/BAN/String.h b/BAN/include/BAN/String.h index df42d24..82da541 100644 --- a/BAN/include/BAN/String.h +++ b/BAN/include/BAN/String.h @@ -14,6 +14,7 @@ namespace BAN { public: using size_type = size_t; + using value_type = char; using iterator = IteratorSimple; using const_iterator = ConstIteratorSimple; static constexpr size_type sso_capacity = 15; diff --git a/BAN/include/BAN/StringView.h b/BAN/include/BAN/StringView.h index 32b1a21..eb35de4 100644 --- a/BAN/include/BAN/StringView.h +++ b/BAN/include/BAN/StringView.h @@ -14,6 +14,7 @@ namespace BAN { public: using size_type = size_t; + using value_type = char; using const_iterator = ConstIteratorSimple; public: