summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-05-30 19:55:01 +0200
committerAraq <rumpf_a@web.de>2020-05-30 19:55:01 +0200
commit177c7f96e93c6b8d9d206cd13f22c0d0d7d4192e (patch)
tree2ace95b842853641508eee244d841221fc7c8c9d
parent984af3d64e875016cf00dd2580b0b51f192e1fcd (diff)
downloadNim-177c7f96e93c6b8d9d206cd13f22c0d0d7d4192e.tar.gz
spec: be explicit that NRVO will evolve further
-rw-r--r--doc/manual.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index 2b9c2b65c..f70c484a2 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -3714,6 +3714,10 @@ location is derived from the second parameter (called
 NRVO
 ----
 
+**Note**: This section describes the current implementation. This part
+of the language specification will be changed.
+See https://github.com/nim-lang/RFCs/issues/230 for more information.
+
 The return value is represented inside the body of a routine as the special
 `result`:idx: variable. This allows for a mechanism much like C++'s
 "named return value optimization" (`NRVO`:idx:). NRVO means that the stores