On Tuesday, 7 January 2014 06:01:48 UTC+2, somenath wrote:
> While going through the book C++ Primer (Third edition) I came across
> the following code from the book.
Will you post it every day now? Yes, it is a defect in book. All books contain
defects and some examples do not even compile. It is anyway good book.
So contact the authors if you want them to fix the defect.