Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 474 Bytes

File metadata and controls

13 lines (7 loc) · 474 Bytes

pImpl Idiom

pointer Implementation idioms are programming techniques not design patterns

  • removes implementation details of a class from its object representation by placing them in a separate class, accessed through pointer

Explaination

because private data members of a class participlate in its object representation, affecting size and layout, and because private member functions of a class participate in overload resolution

used in exception safety