| re: C++ Primer, 4th Edition
This behavior folows from the normal initialization rules for const
objects (Sec
tion 2.4, p.56). Because the initialization copies the value of the
initializer, we can
initialize a nonconst object from a const object, or vice versa.
hope that helps.
Ihor
hajime wrote:[color=blue]
> I purchased this book: C++ Primer, 4th Edition ISBN: 0201721481 in
> Australia.
>
> The right side of the last three lines on page 231 are not legible. A
> stain shows a piece of paper was on that part when printed. I checked
> two more local book stores around here, and found all books have the
> same defect.
>
> I would like to see what should be printed on the page 231. Does
> anybody have a complete copy tell me the last three lines ?
>
> The last three lines on page 231 in my book are:
>
> This behavior folows from the normal initialization rules for const
> objects???????????
> tion 2.4, p.56). Because the initialization copies the value of the
> initialize?????????????
> initialize a nonconst object from a const object, or vice versa.
>
> Thanks in advance,[/color] |