std::experimental::basic_string_view::clear

From cppreference.com
 
 
Experimental libraries
Experimental standard libraries
(library fundamentals TS)
(library fundamentals TS)
(library fundamentals TS)
Polymorphic allocator library (library fundamentals TS)
Filesystem library (filesystem TS)
 
 
constexpr void clear();
(library fundamentals TS)

Clears the view. Equivalent to *this = basic_string_view()

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Complexity

Constant.

[edit] See also

Removes characters from the start of the view
(public member function)
Removes characters from the end of the view
(public member function)