Generic Code C++ supports generic programming This is writing code which works with many different types It gives some benefits of weak typing With the safety of strong typing The standard library uses it extensively