CeePlusPlusIdioms
Last edit September 27, 2014
Idioms common to
CeePlusPlus
:
ArgumentDependentNameLookup
(
KoenigLookup
)
AnonymousNamespace
CompareConstantsFromTheLeft
ConstCorrectness
FunctionObject
s
PimplIdiom
ResourceAcquisitionIsInitialization
SmartPointer
s
StaticPolymorphism
StaticReflection
StlStyle
StreamsAsSequences
SubstitutionFailureIsNotAnError
UsingTemplates
VirtualParameterPassing
External Links:
More C++ Idioms
http://en.wikibooks.org/wiki/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
CategoryCpp
,
CategoryIdiom