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 052c3d8 commit 4d2f4d4Copy full SHA for 4d2f4d4
CPP20.md
@@ -321,7 +321,7 @@ struct foo {
321
constexpr foo(int) {}
322
};
323
324
-template <foo f>
+template <foo f = {}>
325
auto get_foo() {
326
return f;
327
}
README.md
@@ -424,7 +424,7 @@ struct foo {
424
425
426
427
428
429
430
0 commit comments