Re:Modern C++: 7 Ways to Fake It Until You Have It
by stochastic_monk on Friday September 07, 2018 @08:01AM
(#17933567)
Can you elaborate on the last point? Do you mean things like macros they use, e.g., concepts lite, or __builtin* functions?
I still feel like a standard container is less fundamental than keywords, but I value your perspective.
Re:Modern C++: 7 Ways to Fake It Until You Have It
by Koshkin on Friday September 07, 2018 @03:29PM
(#17936988)
Yes, built-ins, intrinsics, and extensions.
My original point was simply that std::vector, say, is just as good a "keyword" as any - perhaps, not because you cannot redefine it but because you wouldn't, and if you didn't like what it does, you'd use/implement something else.
Compiler writers often extend the language with new keywords.