From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-08-27 12:23:33


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.