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.

### 646. const incorrect match_result members

Section: 32.9.6 [re.results.form] Status: CD1 Submitter: Daniel Krügler Opened: 2007-02-26 Last modified: 2016-01-28

Priority: Not Prioritized

View all issues with CD1 status.

Discussion:

32.9.6 [re.results.form] (root and para 3) in N2134 defines the two function template members format as non-const functions, although they are declared as const in 32.9 [re.results]/3.

Proposed resolution:

Add the missing `const` specifier to both `format` overloads described in section 32.9.6 [re.results.form].