mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
book: “non-linear” should be “non-constant” (#241)
There is no notion of linearity in this book. However, the context makes it clear that non-constant values are meant.
This commit is contained in:
@@ -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:
|
This is because there is a logic error in this approach:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user