Home > Tag Archives: template

Tag Archives: template

Doubly linked list with class templates (Part II)

In the first part of this article, we saw the class templates that will handle our doubly linked list. Now, let’s see some examples on how to use them! In the complete ...

Read More »

Doubly linked list with class templates (Part I)

In this article I’m going to show you an example with an implementation of a doubly linked list using class templates in C++. For a better understanding of this article, the reader ...

Read More »

Function templates in C++

In a previous article, I talked about a class template in C++. Now, I’m going to talk about function templates. A function template is very similar to a class template, allowing the ...

Read More »

Class template in C++

The template declaration is C++ allows us to define generic classes and functions. In the case of a class template, we can define classes where we have properties that can assume any ...

Read More »