Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter discusses the essentials of function overloading, function call resolution, default/optional arguments, temporary variables and when they’re created, reference parameters and return values, and inline functions.
Functions in C++ are similar to functions and subroutines in other languages. C++ functions, however, support many features not found in some languages, so it is worthwhile discussing them here.