aboutsummaryrefslogtreecommitdiff
path: root/include/gsl/string_span
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsl/string_span')
-rw-r--r--include/gsl/string_span4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gsl/string_span b/include/gsl/string_span
index 37cbe15..b5dfd18 100644
--- a/include/gsl/string_span
+++ b/include/gsl/string_span
@@ -20,6 +20,7 @@
#include <gsl/gsl_assert> // for Ensures, Expects
#include <gsl/gsl_util> // for narrow_cast
#include <gsl/span> // for operator!=, operator==, dynamic_extent
+#include <gsl/pointers> // for not_null
#include <algorithm> // for equal, lexicographical_compare
#include <array> // for array
@@ -174,7 +175,6 @@ class basic_string_span
{
public:
using element_type = CharT;
- using value_type = std::remove_cv_t<element_type>;
using pointer = std::add_pointer_t<element_type>;
using reference = std::add_lvalue_reference_t<element_type>;
using const_reference = std::add_lvalue_reference_t<std::add_const_t<element_type>>;
@@ -186,8 +186,6 @@ public:
using reverse_iterator = typename impl_type::reverse_iterator;
using const_reverse_iterator = typename impl_type::const_reverse_iterator;
- using size_type = index_type;
-
// default (empty)
constexpr basic_string_span() noexcept = default;