mirror of
https://github.com/boostorg/thread.git
synced 2026-01-30 20:32:10 +00:00
Instead of wrapping a default or user provided destructor into a virtual class and placing it into a shared_ptr it is now stored directly with an elided type, to not introduce UB it is not called directly but through a helper function which casts it back to the original type before calling.