Does this, https://godbolt.org/z/4muzR3 , satisfy everyone that instances of std::unique_ptr can be member variables of classes with class allocators (as long as ~unique_ptr() is explicitly called in the destroy function)? Kvetch now or forever hold your kvetch.
- std::unique_ptr and class allocator Walt Karas
- Re: std::unique_ptr and class allocator Alan Carroll
- Re: std::unique_ptr and class allocator Walt Karas