We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1243f6 commit 08c9d61Copy full SHA for 08c9d61
source/expressions.tex
@@ -5836,7 +5836,7 @@
5836
void g() {
5837
const int n = 0;
5838
[=] {
5839
- constexpr int i = n; // OK, \tcode{n} is not odr-used and not captured here
+ constexpr int i = n; // OK, \tcode{n} is not odr-used here
5840
constexpr int j = *&n; // ill-formed, \tcode{\&n} would be an odr-use of \tcode{n}
5841
};
5842
}
0 commit comments