std::sin

Defined in header <cmath> float sin( float arg ); (1) double sin( double arg ); (2) long double sin( long double arg ); (3) double sin( Integral arg ); (4) (since C++11) Computes the sine of arg (measured in radians). 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value representing angle in radians, of a floating-point or

std::allocator_arg

Defined in header <memory> constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t(); (since C++11) std::allocator_arg is a constant of type std::allocator_arg_t used to disambiguate, at call site, the overloads of the constructors and member functions of allocator-aware objects, such as std::tuple, std::function, std::promise, and std::packaged_task. See also allocator_arg_t (C++11) tag type used to select allocator-aware constructor overloads (class)

std::wstring_convert::from_bytes

Defined in header <locale> wide_string from_bytes( char byte ); (1) wide_string from_bytes( const char* ptr ); (2) wide_string from_bytes( const byte_string& str ); (3) wide_string from_bytes( const char* first, const char* last); (4) Performs multibyte to wide conversion, using the codecvt facet supplied at construction. 1) Converts byte as if it was a string of length 1 to wide_string. 2) Converts the null-terminated multibyte character sequence begi

std::tuple

Defined in header <tuple> template< class... Types > class tuple; (since C++11) Class template std::tuple is a fixed-size collection of heterogeneous values. It is a generalization of std::pair. Template parameters Types... - the types of the elements that the tuple stores. Empty list is supported. Member functions (constructor) constructs a new tuple (public member function) operator= assigns the contents of one tuple to another (public member

std::mbstowcs

Defined in header <cstdlib> std::size_t mbstowcs( wchar_t* dst, const char* src, std::size_t len); Converts a multibyte character string from the array whose first element is pointed to by src to its wide character representation. Converted characters are stored in the successive elements of the array pointed to by dst. No more than len wide characters are written to the destination array. Each character is converted as if by a call to std::mbtowc, except that the mbtowc co

std::lexicographical_compare

Defined in header <algorithm> template< class InputIt1, class InputIt2 > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2 ); (1) template< class InputIt1, class InputIt2, class Compare > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare comp ); (2) Checks if the first r

regex

This header is part of the regular expressions library. Namespace std::regex_constants Types Defined in namespace std::regex_constants syntax_option_type (C++11) general options controlling regex behavior (typedef) match_flag_type (C++11) options specific to matching (typedef) error_type (C++11) describes different types of matching errors (typedef) Classes basic_regex (C++11) regular expression object (class template) sub_match (C++11) identif

std::swap(std::basic_ofstream)

template< class CharT, class Traits > void swap( basic_ofstream<CharT,Traits> &lhs, basic_ofstream<CharT,Traits> &rhs ); Specializes the std::swap algorithm for std::basic_ofstream. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs). Parameters lhs, rhs - streams whose state to swap Return value (none). Exceptions (none). Example See also swap (C++11) swaps two file streams (public member function)

std::seed_seq::generate

template< class RandomIt > void generate( RandomIt begin, RandomIt end ); (since C++11) Fills the range [begin, end) with unsigned integer values i, 0 ≤ i < 232, based on the data originally provided in the constructor of this seed_seq. The produced values are distributed over the entire 32-bit range even if the initial values were strongly biased. The following algorithm is used (adapted from the initialization sequence of the Mersenne Twister generator by Makoto Matsumoto and

std::basic_filebuf::underflow

protected: virtual int_type underflow() Reads more data into the input area. Behaves like the base class std::basic_streambuf::underflow, except that to read the data from the associated character sequence (the file) into the get area, first reads the bytes from the file into a temporary buffer (allocated as large as necessary), then uses std::codecvt::in of the imbued locale to convert the external (typically, multibyte) representation to the internal form which is then used to populat