23 Jun
2017
23 Jun
'17
10:07 a.m.
Niall Douglas wrote:
All valid observations.
Yet SG14 likes anything which relocates latency unpredictable things (exception throws, malloc, etc) to the caller. It's certainly how I'd have personally designed the STL originally. std::vector's latency insensitive design has always irritated me, and I still hope - without much basis - that any STL v2 will fix that.
I'm minded to try and deliver SG14 a vocabulary type which can help with that so they can propose it for standardisation.
Do you have in mind some outline of how this SG14-friendly, status-based, vector would look like? A few signatures are fine, no need to list the whole synopsis, although it's not that much.