I have run into boost issues even when dynamically linking everything. http://stackoverflow.com/questions/39948997/use-of-boost-log-and-boost-asio-... It's actually quite concerning. James On Saturday, March 25, 2017, Richard Damon via Boost-users < boost-users@lists.boost.org> wrote:
On 3/25/17 7:12 AM, Bjorn Reese via Boost-users wrote:
On 03/25/2017 12:32 AM, Niall Douglas via Boost-users wrote:
Boost's quality of implementation is the same as libstdc++ or libc++,
you can get multiple instantiations in certain circumstances and those can have differing addresses.
The various error categories are implemented (for header-only libraries) as inlined Meyer singletons. Does that mean that we have a general problem with such singletons?
I think the issue is that for C++ versions prior to C++11, it isn't guaranteed to be thread safe, as C++ had no concept of threads (which sort of makes anything you do with threads problematical). With C++11, if fully implemented, it should be thread safe as the standard now requires the compiler to implement the required thread safety, the issue is that there may be implementation that don't fully provide that as it can be a bit expensive in some cases.
-- Richard Damon
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users