Kagalive icon

01:06:10:Templates

Kagalive | PRO | 09/30/20 10:14:40 AM UTC (Edited) | 0 ⭐ | 1136 👁️ | Never ⏰ | []
C++ |

330 B

|

None

|

0 👍

/

0 👎

/*
Operator Overloading
 
- Operators are just functions
- Overloading is just the same function with different parameters
 
Templates
- A powerful way to write a library
    - Work on any type
    - Work on *both* built-in and user defined types
 
- Eg: vector is a template
 
Using templates can be easy. eg: sort();
 
 
 
 
 
 
*/

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎