|
|
|
|
|
by jandrewrogers
961 days ago
|
|
You can replace almost everything in C++ with stricter implementations of your own design if you don't like the behaviors or guarantees of the standard/default implementation. Many people do because the language is very amenable to it and the codegen is usually optimal. Living entirely within the standard library and the constraints it imposes to support backward compatibility is a choice, not a requirement. The standard design is always going to be less than ideal for some subset of applications, it is an unavoidable tradeoff. The metaprogramming facilities of C++ are strong enough now that there is little that can't be customized without macros in a way that is nearly transparent. |
|