News for hackers. Stuff that matters.
Re:C++ at Google: Here Be Dragons by koenigdavidmj on Tuesday May 24, 2011 @05:41PM (#2581778)
Done that before...had a variable that was formerly an int:

  int foo = 0;
But got changed into a non-integral type:

  Thing foo = 0;
Turns out Thing had a copy constructor roughly like:

  Thing::Thing(Thing* old)
      : field(old->field)
  {
  }
Needless to say, my program was not very happy.

There are no comments on this comment yet.