std::gamma_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::gamma_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::gamma_distribution

Defined in header <random> template< class RealType = double > class gamma_distribution; (since C++11) Produces random positive floating-point values x, distributed according to probability density function: P(x|α,β) = e-x/β βα · Γ(α) · xα-1 where α is known as the shape parameter and β is known as the scale parameter. For floating-point α, the value obtained is the sum of α independent exponentially distributed random variables, each of which has a mean of β st

std::fwrite

Defined in header <cstdio> std::size_t fwrite( const void* buffer, std::size_t size, std::size_t count, std::FILE* stream ); Writes up to count binary objects from the given array buffer to the output stream stream. The objects are written as if by reinterepreting each object as an array of unsigned char and calling std::fputc size times for each object to write those unsigned chars into stream, in order. The file position indicator for the stream is advanced by the number

std::future_error::future_error

future_error( std::error_code ec ); (since C++11) Constructs a new future error object containing error code ec. Parameters ec - error code

std::future_status

Defined in header <future> enum class future_status { ready, timeout, deferred }; (since C++11) Specifies state of a future as returned by wait_for and wait_until functions of std::future and std::shared_future. Constant Explanation deferred the shared state contains a deferred function, so the result will be computed only when explicitly requested ready the shared state is ready timeout the shared state did not become ready before specified timeo

std::fwide

Defined in header <cwchar> int fwide( std::FILE* stream, int mode ); If mode > 0, attempts to make stream wide-oriented. If mode < 0, attempts to make stream byte-oriented. If mode==0, only queries the current orientation of the stream. If the orientation of the stream has already been decided (by executing output or by an earlier call to fwide), this function does nothing. Parameters stream - pointer to the C I/O stream to modify or query mode - integer

std::future_error::what

virtual const char* what() const; (since C++11) Returns the explanatory string. Parameters (none). Return value Pointer to a null-terminated string with explanatory information. Exceptions noexcept specification: noexcept See also code returns the error code (public member function)

std::future_error::code

const std::error_code& code() const; (since C++11) Returns the stored error code. Parameters (none). Return value The stored error code. Exceptions noexcept specification: noexcept See also what returns the explanatory string specific to the error code (public member function)

std::future_error

Defined in header <future> class future_error; (since C++11) The class std::future_error defines an exception object that is thrown on failure by the functions in the thread library that deal with asynchronous execution and shared states (std::future, std::promise, etc). Similar to std::system_error, this exception carries an error code compatible with std::error_code. Inheritance diagram. Member functions (constructor) creates a std::future_error object (publi