Tag Archives: cpp-class

Class: It is a user-defined datatype enclosed with variables and functions. It is like a blueprint for an object. Class members are private by default.… Read More
The std::is_trivially_copy_assignable template of C++ STL is present in the <type_traits> header file. The std::is_trivially_copy_assignable template of C++ STL is used to check whether T… Read More
Inheritance: Inheritance is one in which a new class is created that inherits the properties of the already exist class. It supports the concept of… Read More
Single Inheritance: Single inheritance is one in which the derived class inherits the single base class either publicly, privately or protectedly. In single inheritance, the… Read More
Abstraction: In OOPs, Abstraction is that the method of getting info. the information needed will be taken in such the simplest way that solely the… Read More
The hash class is default constructible, which means that one can construct this object without any arguments or initialization values. It is used to get… Read More
In Probability, Uniform Distribution Function refers to the distribution in which the probabilities are defined on a continuous random variable, one which can take any… Read More
In Probability, Discrete Uniform Distribution Function refers to the distribution with constant probability for discrete values over a range and zero probability outside the range.… Read More
The match_results::empty() is a inbuilt function in C++ which returns True if the smatch object contains no matches. Syntax: smatch_name.empty() Note: smatch_name is an object… Read More
The match_results::length() is a inbuilt function in C++ which is used to return the length of a particular match in the match_results object. Syntax: smatch_name.length(n)… Read More
The match_results::prefix() is an inbuilt function in C++ which is used to get the string which is preceding the matched string in the input target… Read More
The match_results::operator= is used to replace all the matches in a smatch object with new matches from another smatch object. Syntax: smatch_name1 = (smatch_name2) Note:… Read More
The match_results size() is a inbuilt function in C++ which returns the number of matches ans sub-matches in the match_result object. Syntax: smatch_name.size() Note: smatch_name… Read More
The match_results::operator[] is a built function in C++ which used to get the i-th match in the match_result object. It gives the reference to the… Read More
regex_error is present inside the Header “regex” and inside the Class regex_error;. It helps us to know about the errors which are thrown during the… Read More