Member access operators

Accesses a member of its operand. Operator name Syntax Over​load​able Prototype examples (for class T) Inside class definition Outside class definition subscript a[b] Yes R& T::operator[](S b); N/A indirection *a Yes R& T::operator*(); R& operator*(T a); address-of &a Yes R* T::operator&(); R* operator&(T a); member of object a.b No N/A N/A member of pointer a->b Yes R* T::operator->(); N/A pointer to membe

std::mbrtoc32

Defined in header <cuchar> std::size_t mbrtoc32( char32_t* pc32, const char* s, std::size_t n, std::mbstate_t* ps ); (since C++11) Converts a narrow multibyte character to its UTF-32 character representation. If s is not a null pointer, inspects at most n bytes of the multibyte character string, beginning with the byte pointed to by s to determine the number of bytes necessary to complete the next multibyte c

std::fma

Defined in header <cmath> float fma( float x, float y, float z ); (1) (since C++11) double fma( double x, double y, double z ); (2) (since C++11) long double fma( long double x, long double y, long double z ); (3) (since C++11) Promoted fma( Arithmetic1 x, Arithmetic2 y, Arithmetic3 z ); (4) (since C++11) #define FP_FAST_FMA /* implementation-defined */ (5) (since C++11) #define FP_FAST_FMAF /* implementation-defined */ (6) (since C

std::is_member_object_pointer

Defined in header <type_traits> template< class T > struct is_member_object_pointer; (since C++11) Checks whether T is a non-static member object. Provides the member constant value which is equal to true, if T is a non-static member object type. Otherwise, value is equal to false. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_member_object_pointer_v = is_member_object_pointer<T>::va

operator&gt;&gt;(std::basic_istream)

template< class CharT, class Traits > basic_istream<CharT,Traits>& operator>>( basic_istream<CharT,Traits>& st, CharT& ch ); template< class Traits > basic_istream<char,Traits>& operator>>( basic_istream<char,Traits>& st, signed char& ch ); template< class Traits > basic_istream<char,Traits>& operator>>( basic_istream<char,Traits>& st, unsigned char& ch ); (1) template< class

std::unordered_multiset::erase

iterator erase( const_iterator pos ); (1) (since C++11) iterator erase( const_iterator first, const_iterator last ); (2) (since C++11) size_type erase( const key_type& key ); (3) (since C++11) Removes specified elements from the container. 1) Removes the element at pos. 2) Removes the elements in the range [first; last), which must be a valid range in *this. 3) Removes all elements with the key equivalent to key. References and iterators to the erased elements are inv

std::alignment_of

Defined in header <type_traits> template< class T > struct alignment_of; (since C++11) Provides the member constant value equal to the alignment requirement of the type T, as if obtained by an alignof expression. If T is an array type, returns the alignment requirements of the element type. If T is a reference type, returns the alignment requirements of the type referred to. If alignof(T) is not a valid expression, the behavior is undefined. Helper variable templat

std::realloc

Defined in header <cstdlib> void* realloc( void* ptr, std::size_t new_size ); Reallocates the given area of memory. It must be previously allocated by std::malloc(), std::calloc() or std::realloc() and not yet freed with std::free(), otherwise, the results are undefined. The reallocation is done by either: a) expanding or contracting the existing area pointed to by ptr, if possible. The contents of the area remain unchanged up to the lesser of the new and old sizes. If the

std::mbrtoc16

Defined in header <cuchar> std::size_t mbrtoc16( char16_t* pc16, const char* s, std::size_t n, std::mbstate_t* ps ); (since C++11) Converts a narrow multibyte character to UTF-16 character representation. If s is not a null pointer, inspects at most n bytes of the multibyte character string, beginning with the byte pointed to by s to determine the number of bytes necessary to complete the next multibyte chara

std::tanh(std::complex)

Defined in header <complex> template< class T > complex<T> tanh( const complex<T>& z ); (since C++11) Computes complex hyperbolic tangent of a complex value z. Parameters z - complex value Return value If no errors occur, complex hyperbolic tangent of z is returned. Error handling and special values Errors are reported consistent with math_errhandling. If the implementation supports IEEE floating-point arithmetic, std::tanh(std::conj