Templates are used to write generic code in C++. This article explains basics of generics and how to use them in C++.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.