News for hackers. Stuff that matters.
Re:An Idiot's Guide to C++ Templates - Part 1 by btilly on Thursday April 25, 2013 @12:00AM (#5605638)
If you're not talking about initialization...

I thought I was very clear when I said: "I want this thing, and I want it to get the obvious default initialization?"

I often wound up typing something like this:

std::vector< my_big_type > list_foo = std::vector< my_big_type >();

It seemed useless the first time, and just got sillier as time went on.

There are no comments on this comment yet.