std::tuple_element<std::tuple>

Defined in header <tuple> template< std::size_t I, class T > class tuple_element; /* undefined */ (1) (since C++11) template< std::size_t I, class... Types > class tuple_element< I, tuple<Types...> >; (2) (since C++11) Defined in header <tuple> Defined in header <array> Defined in header <utility> (since C++17)(since C++17) template< std::size_t I, class T > class tuple_element< I, const T > { typede

std::unordered_set::swap

void swap( unordered_set& other ); (since C++11) Exchanges the contents of the container with those of other. Does not invoke any move, copy, or swap operations on individual elements. All iterators and references remain valid. The past-the-end iterator is invalidated. The Hash and KeyEqual objects must be Swappable, and they are exchanged using unqualified calls to non-member swap. If std::allocator_traits<allocator_type>::propagate_on_container_swap::value is true, then the

std::strlen

Defined in header <cstring> std::size_t strlen( const char* str ); Returns the length of the given byte string, that is, the number of characters in a character array whose first element is pointed to by str up to and not including the first null character. The behavior is undefined if there is no null character in the character array pointed to by str. Parameters str - pointer to the null-terminated byte string to be examined Return value The length of the nu

std::strncmp

Defined in header <cstring> int strncmp( const char* lhs, const char* rhs, size_t count ); Compares at most count characters of two null-terminated byte strings. The comparison is done lexicographically. The sign of the result is the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char) that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated strings. Para

std::allocator::allocate

pointer allocate( size_type n, std::allocator<void>::const_pointer hint = 0 ); Allocates n * sizeof(T) bytes of uninitialized storage by calling ::operator new(std::size_t), but it is unspecified when and how this function is called. The pointer hint may be used to provide locality of reference: the allocator, if supported by the implementation, will attempt to allocate the new memory block as close as possible to hint. Parameters n - the number of objects to allocate stor

operators (std::geometric_distribution)

template< class ResultType > bool operator==( const geometric_distribution<ResultType>& lhs, const geometric_distribution<ResultType>& rhs ); (1) template< class ResultType > bool operator!=( const geometric_distribution<ResultType>& lhs, const geometric_distribution<ResultType>& rhs ); (2) Compares two distribution objects. Two distribution objects are equal when parameter values and internal st

operators (std::match_results)

Defined in header <regex> template< class BidirIt, class Alloc > bool operator==( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); (1) (since C++11) template< class BidirIt, class Alloc > bool operator!=( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); (2) (since C++11) Compares two match_results objects. Two match_results are equal if t

std::this_thread::sleep_until

Defined in header <thread> template< class Clock, class Duration > void sleep_until( const std::chrono::time_point<Clock,Duration>& sleep_time ); (since C++11) Blocks the execution of the current thread until specified sleep_time has been reached. The clock tied to sleep_time is used, which means that adjustments of the clock are taken into account. Thus, the duration of the block might, but might not, be less or more than sleep_time - Clock::now() at the ti

std::vector::front

reference front(); const_reference front() const; Returns a reference to the first element in the container. Calling front on an empty container is undefined. Parameters (none). Return value reference to the first element. Complexity Constant. Notes For a container c, the expression c.front() is equivalent to *c.begin(). Example The following code uses front to display the first element of a std::vector<char>: #include <vector> #include <iostream>

operators (std::student_t_distribution)

template< class ResultType > bool operator==( const student_t_distribution<ResultType>& lhs, const student_t_distribution<ResultType>& rhs ); (1) template< class ResultType > bool operator!=( const student_t_distribution<ResultType>& lhs, const student_t_distribution<ResultType>& rhs ); (2) Compares two distribution objects. Two distribution objects are equal when parameter values and internal st