David Abrahams wrote:
Nothing; this is clearly a bug in MPL
As a workaround, I thought I'd write an erase_first function as shown
below, but this seems to have the same problem. Perhaps this is because
I'm using erase in my implementation, and erase_key may, I suppose, be
implemented on top of erase. More likely, I'm doing something wrong.
More likely still, the way I'm doing it is gross. I'd appreciate
feedback on the implementation of my erase_first function, where I've
put comments showing the procedural equivalent of what I'm trying to do
in each statement.
Also, does anybody have a workaround for the bug in erase_key?
Thanks,
Scott
#include
));