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

Ok, maybe bringing everything into the global namespace is a bit of a stretch, but you could at least do the most common ones. Who's going to alias cout or string?

As for std::get, while it's a separate issue I think the problem that solves should be solved in a more elegant way if you're trying to reform the language anyway. This is not elegant:

  std::get<0>(arr) = 1;


There are proposals for a language level version of this - P1061 I think




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

Search: