Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Misc
8.8K+ articles
C++
4.3K+ articles
C++ Programs
2.4K+ articles
STL
1.3K+ articles
CPP-Functions
619+ articles
CPP-Library
254+ articles
C/C++ Puzzles
187+ articles
C++-Templates
14+ articles
cpp-ratio
7+ articles
cpp-template
39 posts
Recent Articles
Popular Articles
is_signed template in C++
Last Updated: 19 November 2018
The std::is_signed template of C++ STL is used to check whether the type is a signed arithmetic type or not.Syntax:template class T struct is_signed;Parameters: This temp...
read more
Misc
C++
cpp-template
is_unsigned template in C++
Last Updated: 19 November 2018
The std::is_unsigned template of C++ STL is used to check whether the type is a unsigned arithmetic type or not. It returns a boolean value showing the same.Syntax:templat...
read more
Misc
C++
cpp-template
is_abstract template in C++
Last Updated: 19 November 2018
The std::is_abstract template of C++ STL is used to check whether the type is a abstract class type or not. It returns a boolean value showing the same.Syntax:template cl...
read more
Misc
C++
cpp-template
is_polymorphic template in C++
Last Updated: 19 November 2018
The std::is_polymorphic template of C++ STL is used to checks whether the type is a polymorphic class type or not. It returns a boolean value showing the same.Syntax:templ...
read more
Misc
C++
cpp-template
is_pod template in C++
Last Updated: 19 November 2018
The std::is_pod template of C++ STL is used to check whether the type is a plain-old data(POD) type or not. It returns a boolean value showing the same.Syntax:template cl...
read more
Misc
C++
cpp-template
boost::type_traits::is_array Template in C++
Last Updated: 30 March 2020
The std::boost::is_array template of Boost C++ Library used to check whether the given type is an array type or not. It returns a boolean value showing the same.Header Fil...
read more
C++ Programs
C++
cpp-template
cpp-boost
Why can templates only be implemented in the header file?
Last Updated: 11 December 2023
Templates are a powerful feature in C++ that allows for the creation of generic functions and classes. They provide a way to write code that works with different data type...
read more
Picked
DSA
GFacts
cpp-template
Templates
Swap Two Numbers using Function in C++
Last Updated: 02 January 2024
Swapping numbers means exchanging the values of the two numbers with each other. For Example,Before Swapping:a = 10, b = 22;After swapping:a = 22, b = 10In this article, w...
read more
C++ Programs
C++
cpp-template
How to Check if a Template Class has the Given Member Function in C++?
Last Updated: 31 January 2024
In C++ programming, we often need to check if a template class contains a specific member function. In this article, we will discuss how to check if a Template Class has t...
read more
C++ Programs
C++
Picked
cpp-template
C++-Templates
CPP Examples
Where and Why Do I Have to Put the 'template' and 'typename' Keywords?
Last Updated: 08 February 2024
In C++, we have a template keyword to define template classes or functions and allow them to operate with generic types. On the other hand, we have typename keyword which ...
read more
C++ Programs
C++
Picked
cpp-template
C++-Templates
CPP Examples
How to Create a Template Class in C++?
Last Updated: 07 February 2024
In C++, template classes are used to create generic classes that can work for different data types. In this article, we will learn how to create a template class in C++.Cr...
read more
C++ Programs
C++
Picked
cpp-template
CPP-OOPs
CPP Examples
How to Create a Function Template in C++?
Last Updated: 28 February 2024
In C++, templates enable us to write generic programs that handle any data type. We can create a template class, function, and variable. A template function is a function ...
read more
C++ Programs
C++
Picked
cpp-template
CPP Examples
<type_traits> Header in C++
Last Updated: 06 July 2024
The type_traits header in C++ is a part of the metaprogramming library introduced in C++ 11. It is a collection of tools to help our code work with different data types. I...
read more
C++ Programs
C++
Picked
cpp-data-types
cpp-template
Why Do I Have to Access Template Base Class Members Through the 'this' Pointer?
Last Updated: 22 April 2024
In C++, when we have a class template that inherits from a template base class, we need to explicitly use this pointer to access members of the base class. In this article...
read more
C++ Programs
C++
Picked
cpp-template
C++-Templates
CPP Examples
Function Overloading vs Function Templates in C++
Last Updated: 26 July 2024
In C++, both function overloading and function templates allow us to create functions that can operate on different types of data. While they might seem similar, they are ...
read more
C++ Programs
C++
Picked
cpp-template
cpp-overloading
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !