Introduction To Templates
  • C++ templates allows the programmer to implement functions and classes that operate with generic types.
  • Templates are useful when implementing generic constructs like vectors, stacks, lists, queues which can be used with any arbitrary type.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.