std::experimental::basic_string_view::swap

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 swap(basic_string_view& v);
(library fundamentals TS)

Exchanges the the view with that of v.

Contents

[edit] Parameters

v - view to swap with

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Complexity

Constant.