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 10:19:27 UTC

Priority: Not Prioritized

View all issues with CD1 status.


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