| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| // template<class charT, class traits, class Allocator> |
| // basic_ostream<charT, traits>& |
| // operator<<(basic_ostream<charT, traits>& os, |
| // const basic_string_view<charT,traits> str); |
| string_view sv("some text"); |
| std::string s("some text"); |
| assert(" " + s == out.str()); |
| wstring_view sv(L"some text"); |
| std::wstring s(L"some text"); |
| assert(L" " + s == out.str()); |