3 ms·
One word: Boost. C++ went off into template la-la land some years back. C++ templates were not supposed to be a programming language. But they turned into one
by Animats 9y ago
One word: Boost.
C++ went off into template la-la land some years back. C++ templates were not supposed to be a programming language. But they turned into one, and not a good one.
Look up the implementation of "max" and "min" in C++ templates.
Now there's a push for "move semantics", to keep up with Rust and the cool kids. But not with language support and a borrow checker. With templates and cute tricks with the type system.