3 ms·
constexpr code and move semantics didn't exist until relatively recently. These are steps towards less bloat and more aggressive optimization. They also can eli
by ok123456 5y ago
constexpr code and move semantics didn't exist until relatively recently. These are steps towards less bloat and more aggressive optimization. They also can elide gratuitous copy construction.
There are a lot of these little optimizations that are found in modern compilers that you could only dream about in 1991.