3 ms·
I think it's because existing compilers (eg GCC) used typeof already for experimental implementations, so the standard had to avoid it. Same as with hashmap, ha
by queensnake 15y ago
I think it's because existing compilers (eg GCC) used typeof already for experimental implementations, so the standard had to avoid it. Same as with hashmap, hashset -> unordered_map, unordered_set.
- scott_s 15y agoYes, exactly. The natural words for things are already used as extensions, and they want to avoid clashes.