operator<<(std::basic_string_view)

From cppreference.com
 
 
 
 
Defined in header <string_view>
template <class CharT, class Traits>

std::basic_ostream<CharT, Traits>&
    operator<<(std::basic_ostream<CharT, Traits>& os,

               std::basic_string_view <CharT, Traits> v);
(since C++17)

Equivalent to os << v.to_string().

[edit] Parameters

os - a character output stream
v - the view to be inserted

[edit] Return value

os