>Can't we follow Jakub's advice? It's something to look into. However, if you see this code being inlined in std::string in performance critical regions, I'd appreciate knowing exactly where. A testcase would still be nice.... -benjamin