Skip to content

Commit 08c9d61

Browse files
cpplearnerzygoloid
authored andcommitted
[expr.const] Fix no longer correct comment
1 parent a1243f6 commit 08c9d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5836,7 +5836,7 @@
58365836
void g() {
58375837
const int n = 0;
58385838
[=] {
5839-
constexpr int i = n; // OK, \tcode{n} is not odr-used and not captured here
5839+
constexpr int i = n; // OK, \tcode{n} is not odr-used here
58405840
constexpr int j = *&n; // ill-formed, \tcode{\&n} would be an odr-use of \tcode{n}
58415841
};
58425842
}

0 commit comments

Comments
 (0)