 
            
            
            
            
                18 Oct
                
                    2017
                
            
            
                18 Oct
                
                '17
                
            
            
            
        
    
                1:52 p.m.
            
        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);
n is the current size of the container or the capacity?
n is meant to indicate the number of elements being inserted at once.
Of course :-) We need an additional interface function for handling clear, don't we? -Thorsten