News for hackers. Stuff that matters.
Re:Popular Myths about C++, Part 2 by lelandbatey on Monday December 15, 2014 @03:12PM (#8754124)
Yeah, I totally agree on that point. With C++, it's not entirely uncommon to write lines like the following:

    std::vector<std::string> exampleparser::tokenize(std::string some_input){
That is unless I'm doing it wrong.
Re:Popular Myths about C++, Part 2 by 72deluxe on Tuesday December 16, 2014 @04:43AM (#8756453)
You forgot to explicitly specify the allocator in the vector...... - it'll default to std::allocator and put items on the heap but you could potentially use your own and get it to put stuff on disk instead!

I don't find your example that convoluted to read to be honest.