Title
istreambuf_iterator has public exposition-only member
Status
new
Section
[istreambuf.iterator]
Submitter
Billy O'Neal III

Created on 2018-04-26.00:00:00 last changed 71 months ago

Messages

Date: 2018-06-19.05:49:11

Proposed resolution:

This wording is relative to N4741.

  1. Edit [istreambuf.iterator] as indicated:

    namespace std {
      template<class charT, class traits = char_traits<charT>>
      class istreambuf_iterator {
      public:
        […]
        using istream_type = basic_istream<charT,traits>;
      
        class proxy; // exposition only
      
        constexpr istreambuf_iterator() noexcept;
        […]
      private:
        class proxy; // exposition only
        streambuf_type* sbuf_; // exposition only
      };
      […]
    }
    
Date: 2018-06-18.00:00:00

[ 2018-06-18 after reflector discussion ]

Priority set to 4

Date: 2018-04-26.00:00:00

LWG has said recently that we don't want public exposition-only things, as that may encourage users to try to use those names (and some implementers to actually use those names).

History
Date User Action Args
2018-06-19 05:49:11adminsetmessages: + msg9945
2018-05-05 13:16:31adminsetmessages: + msg9840
2018-04-26 00:00:00admincreate