RandomAccessIterator

A RandomAccessIterator is a BidirectionalIterator that can be moved to point to any element in constant time. A pointer to an element of an array satisfies all requirements of RandomAccessIterator. Requirements The type It satisfies RandomAccessIterator if. The type It satisfies BidirectionalIterator And, given. value_type, the type denoted by std::iterator_traits<It>::value_type difference_type, the type denoted by std::iterator_traits<It>::difference_type reference, the

random

This header is part of the pseudo-random number generation library. Classes Random number engines linear_congruential_engine (C++11) implements linear congruential algorithm (class template) mersenne_twister_engine (C++11) implements Mersenne twister algorithm (class template) subtract_with_carry_engine (C++11) implements subtract with carry (a lagged Fibonacci) algorithm (class template) Random number engine adaptors discard_block_engine (C++11) dis

RAII

"Resource Acquisition Is Initialization" or RAII, is a C++ programming technique[1] which binds the life cycle of a resource (allocated memory, open socket, open file, mutex, database connection - anything that exists in limited supply) to the lifetime of an object with automatic storage duration. RAII guarantees that the resource is available to any function that may access the object (resource availability is a class invariant). It also guarantees that all resources are released when their co

queue

This header is part of the containers library. Includes <initializer_list>(C++11) Classes queue adapts a container to provide queue (FIFO data structure) (class template) priority_queue adapts a container to provide priority queue (class template) std::uses_allocator<std::queue> (C++11) specializes the std::uses_allocator type trait (function template) std::uses_allocator<std::priority_queue> (C++11) specializes the std::uses_allocator type tr

Qualified name lookup

A qualified name is a name that appears on the right hand side of the scope resolution operator :: (see also qualified identifiers). A qualified name may refer to a. class member (including static and non-static functions, types, templates, etc) namespace member (including another namespace) enumerator If there is nothing on the left hand side of the ::, the lookup considers only declarations made in the global namespace scope (or introduced into the global namespace by a using declarat

public

Usage public access specifier

Pseudo-random number generation

The random number library provides classes that generate random and pseudo-random numbers. These classes include: Random number engines (both pseudo-random number generators, which generate integer sequences with a uniform distribution, and true random number generators if available) Random number distributions (e.g. uniform, normal, or poisson distributions) which convert the output of random number engines into various statistical distributions Engines and distributions are designed to

protected

Usage protected access specifier

Program support utilities

Program termination The following functions manage program termination and resource cleanup. Defined in header <cstdlib> abort causes abnormal program termination (without cleaning up) (function) exit causes normal program termination with cleaning up (function) quick_exit (C++11) causes quick program termination without completely cleaning up (function) _Exit (C++11) causes normal program termination without cleaning up (function) atexit registers a func

private

Usage private access specifier