Skip to main content

2 docs tagged with "overloading"

View all tags

Function Overloading

Function overloading allows multiple functions with the same name but different parameters. The compiler selects the best match based on arguments.

Operator Overloading

Operator overloading lets your types reuse built-in operator syntax — a + b, v[i], os << x —