 
            
            
            
            
                25 Mar
                
                    2014
                
            
            
                25 Mar
                
                '14
                
            
            
            
        
    
                2:10 a.m.
            
        2014-03-25 1:51 GMT+01:00 Markus Engel <p637777@...1081...>:
So (at least) first_replaced is invalid in the second line.
Can anyone confirm this? Is there an easy workaround?
Yes, it looks like the code is invalid. An easy workaround is:
first_replaced = get_curves().erase(first_replaced, last_replaced); get_curves().insert(first_replaced, first, last);
Regards, Krzysztof