Why should the “PIMPL” idiom be used? [duplicate]
I think most people refer to this as the Handle Body idiom. See James Coplien’s book Advanced C++ Programming Styles and Idioms. It’s also known as the Cheshire Cat because of Lewis Caroll’s character that fades away until only the grin remains. The example code should be distributed across two sets of source files. Then … Read more