From 4dfd34e8a003789445c0d8aa2908f55425de30dc Mon Sep 17 00:00:00 2001 From: Lukas Prokop Date: Tue, 12 Jul 2022 08:40:48 +0200 Subject: [PATCH] =?UTF-8?q?book:=20=E2=80=9Cnon-linear=E2=80=9D=20should?= =?UTF-8?q?=20be=20=E2=80=9Cnon-constant=E2=80=9D=20(#241)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no notion of linearity in this book. However, the context makes it clear that non-constant values are meant. --- book/en-us/03-runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/en-us/03-runtime.md b/book/en-us/03-runtime.md index d75f1bc..969e6a9 100644 --- a/book/en-us/03-runtime.md +++ b/book/en-us/03-runtime.md @@ -374,7 +374,7 @@ int main() { } ``` -The first question, why not allow non-linear references to bind to non-lvalues? +The first question, why not allow non-constant references to bind to non-lvalues? This is because there is a logic error in this approach: ```cpp