std::istrstream

Defined in header <strstream> class istrstream : public std::istream (deprecated) The class istrstream implements input operations on array-backed streams. It essentially wraps a raw array I/O device implementation (std::strstreambuf) into the higher-level interface of std::basic_istream. The typical implementation of istrstream holds only one non-derived data member: an object of type std::strstreambuf. Notes istrstream has been deprecated since C++98, std::istringstrea

std::shared_ptr::shared_ptr

constexpr shared_ptr(); (1) template< class Y > explicit shared_ptr( Y* ptr ); (2) template< class Y, class Deleter > shared_ptr( Y* ptr, Deleter d ); (3) template< class Y, class Deleter, class Alloc > shared_ptr( Y* ptr, Deleter d, Alloc alloc ); (4) constexpr shared_ptr( std::nullptr_t ); (5) template< class Deleter > shared_ptr( std::nullptr_t, Deleter d ); (6) template< class Deleter, class Alloc > shared_ptr( std::nul

std::make_heap

Defined in header <algorithm> template< class RandomIt > void make_heap( RandomIt first, RandomIt last ); (1) template< class RandomIt, class Compare > void make_heap( RandomIt first, RandomIt last, Compare comp ); (2) Constructs a max heap in the range [first, last). The first version of the function uses operator< to compare the elements, the second uses the given comparison function comp. Parameters first, last - the range of

std::lognormal_distribution

Defined in header <random> template< class RealType = double > class lognormal_distribution; (since C++11) The lognormal_distribution random number distribution produces random numbers x > 0 according to a log-normal distribution: f(x; m,s) = 1sx√2 π exp⎛⎜⎝- (ln x - m)2 2s2 ⎞⎟⎠ The parameter m is the mean and the parameter s the standard deviation. std::lognormal_distribution satisfies all requirements of RandomNumberDistribution. Template parameters

std::insert_iterator

Defined in header <iterator> template< class Container > class insert_iterator : public std::iterator< std::output_iterator_tag, void,void,void,void > std::insert_iterator is an OutputIterator that inserts elements into a container for which it was constructed, at the position pointed to by the supplied iterator. The container's insert() member function is called whenever the iterator (whether dereferenced or not) is

std::printf

Defined in header <cstdio> int printf( const char* format, ... ); (1) int fprintf( std::FILE* stream, const char* format, ... ); (2) int sprintf( char* buffer, const char* format, ... ); (3) int snprintf( char* buffer, std::size_t buf_size, const char* format, ... ); (4) (since C++11) Loads the data from the given locations, converts them to character string equivalents and writes the results to a variety of sinks. 1) Writes the results to stdout. 2) Wri

ctgmath

This header was originally in the C standard library as <tgmath.h>. This header is part of the numeric library. Includes <ccomplex> <cmath>

std::get_new_handler

Defined in header <new> std::new_handler get_new_handler(); (since C++11) Returns the currently installed new-handler, which may be a null pointer. This function is thread-safe. Previous call to std::set_new_handler synchronizes-with (see std::memory_order) the subsequent calls to std::get_new_handler. (since C++11) Parameters (none). Return value The currently installed new-handler, which may be a null pointer value. Exceptions noexcept specification: noexcep

std::flush

Defined in header <ostream> template< class CharT, class Traits > std::basic_ostream<CharT, Traits>& flush( std::basic_ostream<CharT, Traits>& os ); Flushes the output sequence os as if by calling os.flush(). This is an output-only I/O manipulator, it may be called with an expression such as out << std::flush for any out of type std::basic_ostream. Notes This manipulator may be used to produce an incomplete line of output immediately, e.g.

std::slice

Defined in header <valarray> class slice; std::slice is the selector class that identifies a subset of std::valarray similar to BLAS slice. An object of type std::slice holds three values: the starting index, the stride, and the total number of values in the subset. Objects of type std::slice can be used as indexes with valarray's operator[]. Member functions (constructor) constructs a slice (public member function) startsizestride returns the parameters of the