Skip to content

Commit c35da28

Browse files
committed
Add a grammar note for alias requires and parenthesizing ==
1 parent ec48efc commit c35da28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/parse.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6500,7 +6500,8 @@ class parser
65006500
//G meta-functions-list '@' id-expression
65016501
//G
65026502
//G requires-clause:
6503-
//G 'requires' logical-or-expression
6503+
//G # note: for aliases, == is not allowed in expressions until new ( is opened
6504+
//G 'requires' logical-or-expression
65046505
//G
65056506
//G template-parameter-declaration-list
65066507
//G '<' parameter-declaration-seq '>'

0 commit comments

Comments
 (0)