646. const incorrect match_result members

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

Priority: Not Prioritized

View all issues with CD1 status.

Discussion:

31.10.5 [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 31.10 [re.results]/3.

Proposed resolution:

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