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 8b07224 commit b790f7aCopy full SHA for b790f7a
spec/function.dd
@@ -1929,14 +1929,6 @@ class C
1929
$(DDSUBLINK spec/expression, function_literals, lambdas) can deduce
1930
the `return scope` attribute.)
1931
1932
- $(P A parameter annotated `return` without `scope` or `ref`/`out` is equivalent to a `return scope` parameter.)
1933
-
1934
----
1935
-void retsc(return scope int* x);
1936
-void ret(return int* x);
1937
-static assert(is(typeof(retsc) == typeof(ret)));
1938
1939
1940
$(H3 $(LNAME2 ref-return-scope-parameters, Ref Return Scope Parameters))
1941
1942
$(P Parameters marked as `ref return scope` come in two forms:)
0 commit comments