Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/ProgramFlow/FunctionOverloading/DiscriminationCriteria

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

When an overloaded function is called, the compiler is able to choose which implementation to use, based on the types of values passed to it. However, this overloading cannot discriminate between two implementations based only on return types. Additional information about overloaded function discrimination (includes interactive examples)