Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: