Monday, May 19, 2014

initialization list


All other things being equal, your code will run faster if you use initialization lists rather than assignment
Why can't I initialize my static member data in my constructor's initialization list?
Because you must explicitly define your class's static data members.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home