3 ms·
Adding a new method can change the behavior of C++ code as well due to templates. Does the standard library never add new methods because of that?
by ChadNauseam 8mo ago
Adding a new method can change the behavior of C++ code as well due to templates. Does the standard library never add new methods because of that?
- jjmarr 8mo agoYes. All the time. Subscribe to the std-proposals mailing list and you'll see so many obvious improvements get rejected due to ABI compat guarantees.
- School-Cotton 8mo ago> Adding a new method can change the behavior of C++ code as well due to templates. Yes, but the code can be gated off with ifdefs to only be present when compiling for a particular version of the standard.