Skip to content

Tag Archives: cpp-template

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… Read More
Generics is the idea to allow type (Integer, String, … etc and user-defined types) to be a parameter to methods, classes and interfaces. For example,… Read More
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… Read More
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… Read More
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… Read More
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… Read More
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 >… Read More
The std::is_scalar template of C++ STL is used to check whether the given type is a scalar type or not. It returns a boolean value… Read More
The std::is_compound template of C++ STL is used to check the whether the type is a compound type or not. It returns a boolean value… Read More
The std::is_const template of C++ STL is used to check whether the type is a const-qualified or not. It returns a boolean value showing the… Read More
The std::is_pointer template of C++ STL is used to check whether the given type is pointer or not. It returns a boolean value showing the… Read More
The std::is_arithmetic templateof C++ STL is used to check whether the given type is arithmetic or not. An Arithmetic type means an integral type or… Read More
The apply() function is defined in valarray header file. This function returns a valarray with each of its elements initialized to the result of applying… Read More
The std::is_lvalue_reference template of C++ STL is used to check whether the type is a lvalue reference type or not. It returns a boolean value… Read More
The std::is_floating_point template of C++ STL is used to check whether the given type is a floating point value or not. It returns a boolean… Read More