18 Oct
2017
18 Oct
'17
1:07 p.m.
El 18/10/2017 a las 13:52, Thorsten Ottosen via Boost escribió:
Den 18-10-2017 kl. 11:26 skrev Joaquin M López Muñoz via Boost:
El 18/10/2017 a las 10:36, Thorsten Ottosen via Boost escribió:
Den 17-10-2017 kl. 14:08 skrev Joaquin M López Muñoz via Boost:
Any policy can in principle be implemented behind the following interface:
struct free_space{std::size_t back,front;}; free_space query_for_insertion(std::size_t pos,std::size_t n);
[...]
We need an additional interface function for handling clear, don't we?
Umm... yes, we need something for clear(), right. In the rest of erasure scenarios there's an obvious way to give free space back to both ends. Joaquín M López Muñoz