From: Marshall Clow Date: Wed, 12 Oct 2016 16:13:48 +0000 (+0000) Subject: Mark ostream_iterator's constructors as noexcept. X-Git-Tag: llvmorg-4.0.0-rc1~7373 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=853042cf896a000af6d53a6788309844cb0ee84d;p=platform%2Fupstream%2Fllvm.git Mark ostream_iterator's constructors as noexcept. llvm-svn: 284021 --- diff --git a/libcxx/include/iterator b/libcxx/include/iterator index 188a480..b0f5527 100644 --- a/libcxx/include/iterator +++ b/libcxx/include/iterator @@ -889,9 +889,9 @@ private: ostream_type* __out_stream_; const char_type* __delim_; public: - _LIBCPP_INLINE_VISIBILITY ostream_iterator(ostream_type& __s) + _LIBCPP_INLINE_VISIBILITY ostream_iterator(ostream_type& __s) _NOEXCEPT : __out_stream_(_VSTD::addressof(__s)), __delim_(0) {} - _LIBCPP_INLINE_VISIBILITY ostream_iterator(ostream_type& __s, const _CharT* __delimiter) + _LIBCPP_INLINE_VISIBILITY ostream_iterator(ostream_type& __s, const _CharT* __delimiter) _NOEXCEPT : __out_stream_(_VSTD::addressof(__s)), __delim_(__delimiter) {} _LIBCPP_INLINE_VISIBILITY ostream_iterator& operator=(const _Tp& __value_) {