|
|
|
|
|
by AdieuToLogic
2723 days 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://en.wikipedia.org/wiki/Bridge_pattern