std::streamsize

Defined in header <ios> typedef /*unspecified*/ streamsize; The type std::streamsize is a signed integral type used to represent the number of characters transferred in an I/O operation or the size of an I/O buffer. It is used as a signed counterpart of std::size_t, similar to the POSIX type ssize_t. Except in the constructors of std::strstreambuf, negative values of std::streamsize are never used. See also gcount returns number of characters extracted by last unform

Transactional memory

Transactional memory is a concurrency synchronization mechanism that combines groups of statements in transactions, that are. atomic (either all statements occur, or nothing occurs) isolated (statements in a transaction may not observe half-written writes made by another transaction, even if they execute in parallel) Typical implementations use hardware transactional memory where supported and to the limits that it is available (e.g. until the changeset is saturated) and fall back to soft

Allocator

Encapsulates a memory allocation and deallocation strategy. Every standard library component that may need to allocate or release storage, from std::string, std::vector, and every container except std::array, to std::shared_ptr and std::function, does so through an Allocator: an object of a class type that satisfies the following requirements. Some requirements are optional: the template std::allocator_traits supplies the default implementations for all optional requirements, and all standard l

std::piecewise_linear_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::unordered_multiset::begin

iterator begin(); (since C++11) const_iterator begin() const; (since C++11) const_iterator cbegin() const; (since C++11) Returns an iterator to the first element of the container. If the container is empty, the returned iterator will be equal to end(). Parameters (none). Return value Iterator to the first element. Exceptions noexcept specification: noexcept Complexity Constant. Example #include <iostream> #include <iterator> #include <string

std::collate::collate

Defined in header <locale> explicit collate( std::size_t refs = 0 ); Creates a std::collate facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count

std::basic_filebuf::seekpos

protected: virtual pos_type seekpos( pos_type sp, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out ); Repositions the file pointer, if possible, to the position indicated by sp. If the associated file is not open (is_open()==false), fails immediately. If the file is open for writing, first writes the put area and any unshift sequences required by the currently imbued locale, using overflow(). Then repositions the file pointer, as if by cal

std::unordered_multiset::end(int)

local_iterator end( size_type n ); (since C++11) const_local_iterator end( size_type n ) const; (since C++11) const_local_iterator cend( size_type n ) const; (since C++11) Returns an iterator to the element following the last element of the bucket with index n. . This element acts as a placeholder, attempting to access it results in undefined behavior. Parameters n - the index of the bucket to access Return value iterator to the element following the last eleme

cwctype

This header was originally in the C standard library as <wctype.h>. This header is part of the C-style null-terminated wide strings library. Types wctrans_t scalar type that holds locale-specific character mapping wctype_t scalar type that holds locale-specific character classification wint_t integer type that can hold any valid wide character and at least one more value Macros WEOF a non-character value of type wint_t used to indicate errors (macro constant) F

std::binomial_distribution::p

double p() const; (1) (since C++11) IntType t() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the p distribution parameter. It defines the probability of a trial generating true. The default value is 0.5. 2) Returns the t distribution parameter. It identifies the number of trials. The default value is 1. Parameters (none). Return value 1) The p distribution parameter. 2) The t distribution parameter. See also param