Main function

A program shall contain a global function named main, which is the designated start of the program. int main () { body } (1) int main (int argc, char *argv[]) { body } (2) int main (int argc, char *argv[] , other_parameters ) { body } (3) argc - Non-negative value representing the number of arguments passed to the program from the environment in which the program is run. argv - Pointer to the first element of an array of pointers to null-terminated multibyte st

std::ratio_greater

Defined in header <ratio> template< class R1, class R2 > struct ratio_greater : std::integral_constant; If the ratio R1 is greater than than the ratio R2, provides the member constant value equal true. Otherwise, value is false. Helper variable template template< class R1, class R2 > constexpr bool ratio_greater_v = ratio_greater<R1, R2>::value; (since C++17) Inherited from std::integral_constant Member constants value [static] true

std::unique_ptr::unique_ptr

members of the primary template, unique_ptr<T> constexpr unique_ptr(); constexpr unique_ptr( nullptr_t ); (1) explicit unique_ptr( pointer p ); (2) unique_ptr( pointer p, /* see below */ d1 ); (3) unique_ptr( pointer p, /* see below */ d2 ); (4) unique_ptr( unique_ptr&& u ); (5) template< class U, class E > unique_ptr( unique_ptr<U, E>&& u ); (6) template< class U > unique_ptr( auto_ptr<U>&& u ); (7

std::multiset::rend

reverse_iterator rend(); const_reverse_iterator rend() const; const_reverse_iterator crend() const; (since C++11) Returns a reverse iterator to the element following the last element of the reversed container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior. Parameters (none). Return value Reverse iterator to the element following the last

std::basic_iostream

Defined in header <istream> template< class CharT, class Traits = std::char_traits<CharT> > class basic_iostream; The class template basic_iostream provides support for high level input/output operations on streams. The supported operations include sequential reading or writing and formatting. This functionality is implemented over the interface, provided by the basic_streambuf class. It is accessed through basic_ios class. Inheritance diagram. T

std::extreme_value_distribution::extreme_value_distribution

explicit extreme_value_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit extreme_value_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (location) b - the b distribution parameter (scale) params - the distribution

std::ctype::widen

Defined in header <locale> public: CharT widen( char c ) const; (1) public: const char* widen( const char* beg, const char* end, CharT* dst ) const; (2) protected: virtual CharT do_widen( char c ) const; (3) protected: virtual const char* do_widen( const char* beg, const char* end, CharT* dst ) const; (4) 1,2) public member function, calls the protected virtual member function do_widen of the most derived class. 3) Converts the single-byte character c to

std::allocator::construct

Defined in header <memory> void construct( pointer p, const_reference val ); (1) (until C++11) template< class U, class... Args > void construct( U* p, Args&&... args ); (2) (since C++11) Constructs an object of type T in allocated uninitialized storage pointed to by p, using placement-new. 1) Calls new((void *)p) T(val). 2) Calls ::new((void *)p) U(std::forward<Args>(args)...). Parameters p - pointer to allocated uninitialized storage va

std::condition_variable_any::wait_until

template< class Lock, class Clock, class Duration > std::cv_status wait_until( Lock& lock, const std::chrono::time_point<Clock, Duration>& timeout_time ); (1) (since C++11) template< class Lock, class Clock, class Duration, class Predicate > bool wait_until( Lock& lock, const std::chrono::time_point<Clock, Duration>& timeout_time, Predicate pred ); (2) (since C++11) wait_until caus

std::cauchy_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.