##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# operator<<(std::experimental::basic_string_view)

From cppreference.com
< cpp‎ | experimental‎ | basic string view

Defined in header `<experimental/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); |  | (library fundamentals TS)

Equivalent to os << v.to_string().

### [edit] Parameters

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

### [edit] Return value

`os`

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/basic_string_view/operator_ltlt&oldid=71342"