Title
[fund.ts.v2] ostream_joiner needs noexcept
Status
open
Section
[iterator.ostream.joiner]
Submitter
Nate Wilson

Created on 2015-05-03.00:00:00 last changed 90 months ago

Messages

Date: 2015-05-07.19:30:46

Proposed resolution:

This wording is relative to N4481 in regard to fundamental-ts-2 changes.

  1. Change class template ostream_joiner synopsis, [iterator.ostream.joiner] p2, as indicated:

    namespace std {
    namespace experimental {
    inline namespace fundamentals_v2 {
    
    template <class DelimT, class charT = char, class traits = char_traits<charT> >
      class ostream_joiner {
      public:
        […]
        ostream_joiner<DelimT, charT,traits>& operator*() noexcept;
        ostream_joiner<DelimT, charT,traits>& operator++() noexcept;
        ostream_joiner<DelimT, charT,traits>& operator++(int) noexcept;
        […]
      };
    
    } // inline namespace fundamentals_v2
    } // namespace experimental
    } // namespace std
    
  2. Change [iterator.ostream.joiner.ops] p3+5, as indicated:

    ostream_joiner<DelimT, charT, traits>& operator*() noexcept;
    

    […]

    ostream_joiner<DelimT, charT, traits>& operator++() noexcept;
    ostream_joiner<DelimT, charT, traits>& operator++(int) noexcept;
    
Date: 2015-05-07.19:30:46

[ 2015-05, Lenexa ]

Move to Immediate.

Date: 2015-05-03.14:53:08

Addresses: fund.ts.v2

In Library Fundamentals 2 N4481, [iterator.ostream.joiner], all operations are no-ops other than the assignment operator.

So, they should be marked as noexcept.

History
Date User Action Args
2017-07-30 20:10:41adminsetstatus: wp -> open
2015-11-16 02:13:05adminsetstatus: ready -> wp
2015-05-20 14:24:57adminsetstatus: immediate -> ready
2015-05-07 19:30:46adminsetmessages: + msg7373
2015-05-07 19:30:46adminsetstatus: new -> immediate
2015-05-03 13:34:11adminsetmessages: + msg7346
2015-05-03 00:00:00admincreate