Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment C++03 had one that was corrected in C++11. (Score 3, Interesting) 729

Namely, the >> symbol. Because templates use angle brackets for template parameters, if you had a nested template such as T<int, T1<double> >, you HAD to put the space between the two closing angle brackets. Otherwise the lexer would interpret the two angle brackets as the shift operator.

Slashdot Top Deals

"If I do not want others to quote me, I do not speak." -- Phil Wayne

Working...