diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-07-21 05:31:24 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-07-21 05:31:24 +0000 |
commit | 053d81ceebe9a54255c49801b88ab61b5d03060a (patch) | |
tree | ea1a55b676d67b77caa7e980a2cb8ccb5ab81a69 /libcxx/include/iomanip | |
parent | ed7b7d7efe9e67561f7f90ebcd65fee1e24f113f (diff) | |
download | bcm5719-llvm-053d81ceebe9a54255c49801b88ab61b5d03060a.tar.gz bcm5719-llvm-053d81ceebe9a54255c49801b88ab61b5d03060a.zip |
Implement std::string_view as described in http://wg21.link/P0254R1. Reviewed as https://reviews.llvm.org/D21459
llvm-svn: 276238
Diffstat (limited to 'libcxx/include/iomanip')
-rw-r--r-- | libcxx/include/iomanip | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/libcxx/include/iomanip b/libcxx/include/iomanip index 9efcbe03d1a..bb21bd7ee78 100644 --- a/libcxx/include/iomanip +++ b/libcxx/include/iomanip @@ -44,6 +44,7 @@ template <class charT, class traits, class Allocator> */ #include <__config> +#include <__string> #include <istream> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) @@ -567,19 +568,6 @@ __quoted_input ( basic_istream<_CharT, _Traits> &__is, _String & __string, _Char } -template <class _CharT, class _Iter, class _Traits=char_traits<_CharT> > -struct __quoted_output_proxy -{ - _Iter __first; - _Iter __last; - _CharT __delim; - _CharT __escape; - - __quoted_output_proxy(_Iter __f, _Iter __l, _CharT __d, _CharT __e) - : __first(__f), __last(__l), __delim(__d), __escape(__e) {} - // This would be a nice place for a string_ref -}; - template <class _CharT, class _Traits, class _Iter> basic_ostream<_CharT, _Traits>& operator<<( basic_ostream<_CharT, _Traits>& __os, |