Date
2014-11-21.17:12:23
Message id
172

Content

Proposed resolution:

Change the grammar in 5.1.2 [expr.prim.lambda] paragraph 1

lambda-expression:
      lambda-introducer lambda-declaratoropt compound-statement
...

lambda-declarator:
      ( parameter-declaration-clause ) mutableopt
            exception-specificationopt attribute-specifier-seqopt trailing-return-typeopt
      mutableopt exception-specificationopt attribute-specifier-seqopt trailing-return-typeopt

Remove from 5.1.2 [expr.prim.lambda] paragraph 4
If a lambda-expression does not include a lambda-declarator, it is as if the lambda-declarator were ().
Modify in 5.1.2 [expr.prim.lambda] paragraph 5
This function call operator or operator template is declared const (9.3.1) if and only if the lambda-expression's parameter-declaration-clause is not followed by lambda-declarator does not contain the keyword mutable.