std::match_results::operator[]

const_reference operator[]( size_type n ) const; (since C++11) If n > 0 and n < size(), returns a reference to the std::sub_match representing the part of the target sequence that was matched by the nth captured marked subexpression). If n == 0, returns a reference to the std::sub_match representing the part of the target sequence matched by the entire matched regular expression. if n >= size(), returns a reference to a std::sub_match representing an unmatched sub-expression (a

std::is_same

Defined in header <type_traits> template< class T, class U > struct is_same; (since C++11) If T and U name the same type with the same const-volatile qualifications, provides the member constant value equal to true. Otherwise value is false. Helper variable template template< class T, class U > constexpr bool is_same_v = is_same<T, U>::value; (since C++17) Inherited from std::integral_constant Member constants value [static] true if

std::regex_token_iterator

Defined in header <regex> template< class BidirIt, class CharT = typename std::iterator_traits<BidirIt>::value_type, class Traits = std::regex_traits<CharT> > class regex_token_iterator (since C++11) std::regex_token_iterator is a read-only ForwardIterator that accesses the individual sub-matches of every match of a regular expression within the underlying character sequence. It can also be used to access the parts of the sequence that were not

std::make_shared

Defined in header <memory> template< class T, class... Args > shared_ptr<T> make_shared( Args&&... args ); Constructs an object of type T and wraps it in a std::shared_ptr using args as the parameter list for the constructor of T. Parameters args - list of arguments with which an instance of T will be constructed. Return value std::shared_ptr of an instance of type T. Exceptions May throw std::bad_alloc or any exception thrown by the con

std::min

Defined in header <algorithm> (1) template< class T > const T& min( const T& a, const T& b ); (until C++14) template< class T > constexpr const T& min( const T& a, const T& b ); (since C++14) (2) template< class T, class Compare > const T& min( const T& a, const T& b, Compare comp ); (until C++14) template< class T, class Compare > constexpr const T& min( const T& a, const T& b, Compare co

std::strtok

Defined in header <cstring> char* strtok( char* str, const char* delim ); Finds the next token in a null-terminated byte string pointed to by str. The separator characters are identified by null-terminated byte string pointed to by delim. This function is designed to be called multiples times to obtain successive tokens from the same string. If str != NULL, the call is treated as the first call to strtok for this particular string. The function searches for the first chara

char16_t

Usage char16_t type: as the declaration of the type (since C++11)

Copy assignment operator

A copy assignment operator of class T is a non-template non-static member function with the name operator= that takes exactly one parameter of type T, T&, const T&, volatile T&, or const volatile T&. For a type to be CopyAssignable, it must have a public copy assignment operator. Syntax class_name & class_name :: operator= ( class_name ) (1) class_name & class_name :: operator= ( const class_name & ) (2) class_name & class_name :: operator= ( cons

std::less

Defined in header <functional> template< class T > struct less; (until C++14) template< class T = void > struct less; (since C++14) Function object for performing comparisons. Unless specialized, invokes operator< on type T. Specializations The partial specialization of std::less for any pointer type yields a total order, even if the built-in operator< does not. The standard library provides a specialization of std::less when T is not specified,

std::this_thread::sleep_for

Defined in header <thread> template< class Rep, class Period > void sleep_for( const std::chrono::duration<Rep, Period>& sleep_duration ); (since C++11) Blocks the execution of the current thread for at least the specified sleep_duration. A steady clock is used to measure the duration. This function may block for longer than sleep_duration due to scheduling or resource contention delays. Parameters sleep_duration - time duration to sleep Return