Talk:cpp/language/pimpl

"If non-default allocators are intended to be supported for the allocation of the implementation object, any of the usual allocator awareness patterns may be utilized, including allocator template parameter defaulting to std::allocator and constructor argument of type std::pmr::memory_resource*."

The part about an "allocator template parameter" doesn't seem correct (or at least not obvious how to do correctly). The size of the implementation is defined in the implementation file, but a function templated on the allocator type would need to be in the header file.

--64.94.36.4 12:03, 17 July 2018 (PDT) SJL