This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.

2440. seed_seq::size() should be noexcept

Section: 28.5.8.1 [rand.util.seedseq] Status: C++17 Submitter: Stephan T. Lavavej Opened: 2014-10-01 Last modified: 2017-07-30

Priority: 0

View all other issues in [rand.util.seedseq].

View all issues with C++17 status.

Discussion:

Obvious.

[Urbana 2014-11-07: Move to Ready]

Proposed resolution:

This wording is relative to N3936.

  1. Change 28.5.8.1 [rand.util.seedseq], class seed_seq synopsis, as depicted:

    class seed_seq
    {
    public:
      […]
      size_t size() const noexcept;
      […]
    };
    
  2. Change 28.5.8.1 [rand.util.seedseq] around p10, as depicted:

    size_t size() const noexcept;
    

    -10- Returns: The number of 32-bit units that would be returned by a call to param().

    -11- Throws: Nothing.

    -12- Complexity: Constant time.