The Opaque Type Principle

  • Davide Di Gennaro


Template type names can be too complex for the user to use directly, as they may be verbose or they may require very complex syntax. So you should either publish a convenient typedef or allow users to ignore their type altogether.


String Operator Return Type Const Reference Temporary Object Return Result 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Davide Di Gennaro 2015

Authors and Affiliations

  • Davide Di Gennaro
    • 1
  1. 1.LondonUnited Kingdom

Personalised recommendations