TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
C++ Coding Standard

Rule:  OLC#014

This rule is Obsolete
Synopsis:Minimize the number of temporary objects that are created as return values from methods/functions or as arguments to methods/functions
Severity Level:9
Category:Object Life Cycle


Preferably, use a reference when passing on or returning objects. Be aware, that a reference to local non-static object should not be returned. See also [OLC#003].

Literature References:
Ellemtel Rec. 46