1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 21:32:35 +02:00

Added documentation for C++ Function Overloading (#8659)

* Added concise documentation for function-overloading@sgfqb22sdN4VRJYkhAVaf.md, including key concepts, basic examples, parameter count variation, and common pitfalls. This update aligns with the established contribution guidelines for adding content to roadmap topics.

* Update src/data/roadmaps/cpp/content/function-overloading@sgfqb22sdN4VRJYkhAVaf.md

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Saurya Gur
2025-06-04 16:48:39 +05:30
committed by GitHub
parent 0081a3bb57
commit 2a0af411dc

View File

@@ -0,0 +1,9 @@
# Function Overloading
Function overloading in C++ allows multiple functions to share the same name, provided they differ in the number or types of parameters. This facilitates compile-time polymorphism, enhancing code readability and maintainability by enabling functions to perform similar operations on different data types or argument counts.
Visit the following resources to learn more:
- [@official@Function Overloading - Microsoft Learn](https://learn.microsoft.com/en-us/cpp/cpp/function-overloading)
- [@article@C++ Function Overloading - W3Schools](https://www.w3schools.com/cpp/cpp_function_overloading.asp)