x = y = z = 15; // chain of assignments
- 2. Constructors, Destructors, and Assignment Operators
- from Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition
- Publisher: Addison-Wesley Professional
- Released: May 2005
We generally prohibit this, but it’s possible.
Share this highlighthttp://www.safaribooksonline.com/a/effective-c-55/2235607/