Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on An Idiot's Guide to C++ Templates - Part 1. Parent comment
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.
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.