overloaded |
Defined in
<functions.cpp> |
|
(1) | |
|
(2) | |
|
(3) |
(1)
auto overloaded(int first) -> float
auto overloaded(int first) -> float
an example unary overloaded function
Parameters
|
|
the first input parameter |
Returns
first
(2)
auto overloaded(int first, int second) -> double
auto overloaded(int first, int second) -> double
an example binary overloaded function
Parameters
|
|
the first input parameter |
|
|
|
the second input parameter |
Returns
the product of first
and second
(3)
auto overloaded(int first, int second, int third) -> float
auto overloaded(int first, int second, int third) -> float
an example tertiary overloaded function
Parameters
|
|
the first input parameter |
|
|
|
the second input parameter |
|
|
|
the third input parameter |
Returns
the product of first
, second
, and third