Skip to content

Commit

Permalink
A litte change in ch02 2.27 about reference
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjdonald authored and pezy committed Mar 31, 2015
1 parent 51424f5 commit c8b821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch02/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ int *const p2 = &i2; // legal.
const int i = -1, &r = 0; // legal.
const int *const p3 = &i2; // legal.
const int *p1 = &i2; // legal
const int &const r2; // illegal, r2 must initialize.
const int &const r2; // illegal, r2 is a reference that cannot be const.
const int i2 = i, &r = i; // legal.
```

Expand Down

0 comments on commit c8b821e

Please sign in to comment.