David,
That's going to confuse any C++ STL programmer and the cppcheck tool too.

Would it be worthwhile to rename function to erase or pick another name ?
there are worse things in life than this. Since you have the source code, you could do it yourself. I actually like the idea of using the verb "empty". Let's say your container models a real life entity, beer for example. You would empty the container, but erasing it is not useful.

jg


_______________________________________________
ragel-users mailing list
ragel-users@complang.org
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to