3 ms·
The prohibition on anything in STL that allocs mem is odd. I've been coding in C++ since 92, and started using STL and templates in earnest circa 2002. In the e
by osullivj 10y ago
The prohibition on anything in STL that allocs mem is odd. I've been coding in C++ since 92, and started using STL and templates in earnest circa 2002. In the early 90s we were still in the C front world and template support wasn't mature. By 2002 templates were well supported, and STL's mature container code was a big step forward in terms of abstracted but deterministic memory management.