boostorg / multiprecision

Boost.Multiprecision
Boost Software License 1.0
194 stars 111 forks source link

Correct static initialization. #498

Closed jzmaddock closed 1 year ago

jzmaddock commented 1 year ago

Previous changes to use C++11 thread safe statics mangled a few static variables leaving them non-thread-safe initialized. Do a quick review through the code to fix the remaining issues. Fixes https://github.com/boostorg/multiprecision/issues/497.