std::experimental::basic_string_view<CharT,Traits>::size, std::experimental::basic_string_view<CharT,Traits>::length

Returns the number of CharT elements in the view, i.e. std::distance(begin(), end()).

# Declarations

constexpr size_type size() const noexcept;

(library fundamentals TS)

constexpr size_type length() const noexcept;

(library fundamentals TS)

# Return value

The number of CharT elements in the view.

# See also