Allows faster operations, at a price. More...
Allows faster operations, at a price.
This is the opposite of the threadsafe option.
By default, the library ensures that each object has its own unique storage before returning it. If this option is used, identical objects are allowed to share storage using a copy-on-write design, potentially increasing the speed of the library, but making it unsafe for multithreaded use (with some exceptions). The library allows copy-on-write for internal functions regardless of this parameter, which is safe because the internal functions only use one thread at a time.
Definition at line 127 of file options.hpp.
© Copyright Chad Nelson, 2010-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)