Idioms common to CeePlusPlus:
- ArgumentDependentNameLookup (KoenigLookup)
- AnonymousNamespace
- CompareConstantsFromTheLeft
- ConstCorrectness
- FunctionObjects
- PimplIdiom
- ResourceAcquisitionIsInitialization
- SmartPointers
- StaticPolymorphism
- StaticReflection
- StlStyle
- StreamsAsSequences
- SubstitutionFailureIsNotAnError
- UsingTemplates
- VirtualParameterPassing
External Links:
- More C++ Idioms
www-dse.doc.ic.ac.uk/~np2/patterns/cplusplus/. (BrokenLink 20080321)
There's a whole bunch written about on SelfDocumentingCode. Both as the topics of certain pages and in the actual examples sections.
Note: Some joker added CompareConstantsFromTheLeft to the list above, despite overwhelming empirical evidence that this is not a common C++ idiom. PersonalChoiceElevatedToMoralImperative.
See: CeeIdioms, AdvancedCeePlusPlusProgrammingStylesAndIdioms