The comma in the following statement is not the comma operator:
for (int i = 0, j = 0; i < 10; ++i) {}It is just part of the declaration statement.
Reference: "C++ Gotchas" by Stephen C. Dewhurst, Addison-Wesley, 2002, p. 40.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment