Hacker News new | past | comments | ask | show | jobs | submit login

> there is the problem that >> is a token and cannot be used for two closing template angle brackets.

This was fixed years ago in C++11.




They still have other issues, though. You ever had to put `template` before a templated member function called from an object of a `typename` type? Not fun, yet I have to do it all the time in my C++ code. MSVC and Comeau make this problem optional, but GCC and Clang don't (as per the standard).

The chevrons also confuse all my editors, because they can't figure out whether `<` is an opening bracket pair, or if its just a less-than operator. I'm a bit miffed that Cpp2 doesn't try to replace the chevrons with something else, like D did. I'm also miffed that Rust uses the chevrons too.




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

Search: