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: [rand.adapt.ibits], 99 [tr.rand] Status: CD1 Submitter: Walter E. Brown Opened: 2006-11-02 Last modified: 2017-02-03

Priority: Not Prioritized

View all issues with CD1 status.


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 [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.