RandomNumberDistribution

A RandomNumberDistribution is a function object returning random numbers according to a probability density function p(x) or a discrete probability distribution P(xi). Requirements D is a class meeting the RandomNumberDistribution requirements. It shall also satisfy the CopyConstructible and CopyAssignable requirements. T is the associated result_type. P is the associated param_type. It shall satisfy the CopyConstructible, CopyAssignable, and EqualityComparable requirements. It also h

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

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

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

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

public

Usage public access specifier

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

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

Pointer declaration

Declares a variable of a pointer or pointer-to-member type. Syntax A pointer declaration is any simple declaration whose declarator has the form. * attr(optional) cv(optional) declarator (1) nested-name-specifier * attr(optional) cv(optional) declarator (2) 1) Pointer declarator: the declaration S* D; declares D as a pointer to the type determined by decl-specifier-seq S. 2) Pointer to member declarator: the declaration S C::* D; declares D as a pointer to member of C of type