Sunidhi Bansal

Sunidhi Bansal

809 Articles Published

Articles by Sunidhi Bansal

Page 45 of 81

iswupper() function in C++ STL

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 147 Views

In this article we are going to discuss the iswupper() function in C++, its syntax, working and its return values.iswupper() function is an inbuilt function in C++ which is defined in header file. The function checks whether the passed wide character is in upper case(A-Z) or not.This function is a wide character equivalent of isupper(), which means it works the same as isupper() the difference is it supports a wide character. The function checks the if argument passed is upper case(A-Z) then return a non-zero integer value(true), else return zero(false)Syntaxint iswupper(wint_t ch);The function accepts only one parameter, i.e. a wide ...

Read More

is_final template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 240 Views

In this article we will be discussing the working, syntax and examples of std::is_final template in C++ STL.is_final is a template which comes under the header file. This template is used to check whether the given type T is a final class or not.What is a final class in C++?When we declare a class with the final specifier then it is called as Final Class. Final class is a special kind of class which can’t be extended to create another class. In C++ to make a class as a final we make a class as a friend and then ...

Read More

is_fundamental Template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 263 Views

In this article we will be discussing the working, syntax and examples of std::is_fundamental template in C++ STL.is_ fundamental is a template which comes under the header file. This template is used to check whether the given type T is a fundamental data type or not.What is Fundamental type?Fundamental types are the built-in types which are already declared in the compiler itself. Like int, float, char, double, etc. These are also known as built-in data types.All the data types which are user-defined like: class, enum, struct, references or pointers, are not part of the fundamental type.Syntaxtemplate is_fundamental;ParametersThe template ...

Read More

is_pod template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 209 Views

In this article we will be discussing the working, syntax and examples of std::is_pod template in C++ STL.is_ pod is a template which comes under header file. This template is used to check whether the given type T is a POD(plain-old-data) type or not.What is POD(Plain old data)?Plain old data(POD) types are those types which are also in old C language. POD types also include scalar types. POD class type is that class type which is both, trivial (which can be initialised statically) and standard layout (which is a simple data structure like struct and union).Syntaxtemplate is_pod;ParametersThe template ...

Read More

is_pointer Template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 487 Views

In this article we will be discussing the working, syntax and examples of std::is_pointer template in C++ STL.is_ pointer is a template which comes under the header file. This template is used to check whether the given type T is a pointer type or not.What is a Pointer?Pointers are non-static types which hold an address of another type or in other words which points to some memory location in the memory pool. With help of an asterisk (*) we define a pointer and when we want to refer the specific memory which the pointer is holding then also we ...

Read More

is_signed template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 282 Views

In this article we will be discussing the working, syntax and examples of std::is_signed template in C++ STL.is_ signed is a template which comes under header file. This template is used to check whether the given type T is a signed type or not.What is a signed type?These are the basic arithmetic types, which contains sign value with them. All arithmetic data types are either signed and unsigned.Like we want to show the values in negative we use signed type.Like: -1 is signed int and -1.009 is signed float.By default all the types are signed to make them unsigned ...

Read More

is_unsigned template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 326 Views

In this article we will be discussing the working, syntax and examples of std::is_unsigned template in C++ STL.is_unsigned is a template which comes under header file. This template is used to check whether the given type T is an unsigned type or not.What are unsigned data types in C++?Unsigned data types are those which we use knowing the values will not go in negative, like roll number, id of random numbers, etc.To make a type as unsigned we use keyword unsigned as prefix of the data type like −unsigned int;unsigned float;Syntaxtemplate is_unsigned;ParametersThe template can have only parameter of type ...

Read More

is_void template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 332 Views

In this article we will be discussing the working, syntax and examples of std::is_void template in C++ STL.is_void is a template which comes under the header file. This template is used to check whether the given type T is a void type or not.What is a void type in C++?In simple words void means “empty” or “nothing”. When we declare a function as void then it is assumed that this function will return nothing.We also declare void pointers, which are supposed to left unspecified. However, they must be referenced to another variable of other type, before the pointer is ...

Read More

is_standard_layout template in C++

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 380 Views

In this article we will be discussing the working, syntax and examples of std::is_standard_layout template in C++ STL.is_standard_layout is a template which comes under the header file. This template is used to check whether the given type T is a standard layout or not.What is a standard layout in C++?Standard Layout type is a type in which is of simple linear structure (like we see in array) and access control which can be easily used to communicate with the program written in other programming languages. This is a type which is written with the idea of one code for ...

Read More

match_results begin() and end() function in C++ STL

Sunidhi Bansal
Sunidhi Bansal
Updated on 11-Mar-2026 168 Views

In this article we will be discussing the working, syntax and examples of match_results::begin() and match_results::end() functions in C++ STL.What is a match_results in C++ STL?std::match_results is a specialized container-like class which is used to hold the collection of character sequences which are matched. In this container class a regex match operation finds the matches of the target sequence.What is match_results::begin()?match_results::begin() function is an inbuilt function in C++ STL, which is defined in header file. This function returns an iterator which is pointing to the first element in the match_results object. The match_results::begin() and match_results::end() are together used to ...

Read More
Showing 441–450 of 809 articles
« Prev 1 43 44 45 46 47 81 Next »
Advertisements