std::basic_string_view::max_size

From cppreference.com
 
 
 
 
constexpr size_type max_size() const;
(since C++17)

The largest possible number of char-like objects that can be referred to by a basic_string_view.

Contents

[edit] Parameters

(none)

[edit] Return value

Maximum number of characters.

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Complexity

Constant.

[edit] See also

returns the number of characters
(public member function)
checks whether the view is empty
(public member function)