3 ms·
The "pimpl idiom"[0] is about insulation, not optimization. What it affords is ensuring collaborators have no knowledge of a type's implementation details (dat
by AdieuToLogic 8y ago
The "pimpl idiom"[0] is about insulation, not optimization. What it affords is ensuring collaborators have no knowledge of a type's implementation details (data as well as private methods), which also has the byproduct of allowing for faster compilation times.
HTH
0 - https://cpppatterns.com/patterns/pimpl.html https://cpppatterns.com/patterns/pimpl.html
- kitd 8y agoAKA Bridge Pattern in GoF-speak https://en.wikipedia.org/wiki/Bridge_pattern https://en.wikipedia.org/wiki/Bridge_pattern