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

609. missing static const

Section: 28.5.5.3 [rand.adapt.ibits], 99 [tr.rand] Status: CD1 Submitter: Walter E. Brown Opened: 2006-11-02 Last modified: 2016-01-28

Priority: Not Prioritized

View all issues with CD1 status.

Discussion:

In preparing N2111, an error on my part resulted in the omission of the following line from the template synopsis in the cited section:

static const size_t word_size = w;

(This same constant is found, for example, in 26.4.3.3 [rand.eng.sub].)

Proposed resolution:

Add the above declaration as the first line after the comment in [rand.adapt.ibits] p4:

// engine characteristics
static const size_t word_size = w;

and accept my apologies for the oversight.