
27 Aug
2006
27 Aug
'06
4:23 p.m.
Jeff Garland wrote:
The current lexical_cast makes no claim of thread safety so why would you expect an optimization to?
The default level of thread safety shall always be "basic", and since lexical_cast has no state, this means that it should be usable in a threaded program without explicit synchronization. Components wouldn't be able to use lexical_cast for fear of stepping on each other's toes otherwise.