Tag: function
2 posts
-
[2026] C++ Function Overloading: Rules, Ambiguity, and Name Mangling
Learn C++ function overloading: same name, different parameters. Resolution rules, common ambiguities, default arguments, and how it ties to name mangling.
-
[2026] C++ return Statement: Values, References, RVO, and optional
How return ends functions, when references are safe, RVO/NRVO vs std::move, multi-value returns with pair/tuple/optional, and common lifetime mistakes.