std::default_delete

Defined in header <memory> template< class T > struct default_delete (1) (since C++11) template< class T > struct default_delete<T[]> (2) (since C++11) std::default_delete is the default destruction policy used by std::unique_ptr when no deleter is specified. 1) The non-specialized default_delete uses delete to deallocate memory for a single object. 2) A partial specialization for array types that uses delete[] is also provided. Member functions

std::stable_partition

Defined in header <algorithm> template< class BidirIt, class UnaryPredicate > BidirIt stable_partition( BidirIt first, BidirIt last, UnaryPredicate p ); Reorders the elements in the range [first, last) in such a way that all elements for which the predicate p returns true precede the elements for which predicate p returns false. Relative order of the elements is preserved. Parameters first, last - the range of elements to reorder p - unary predicate whic

std::basic_stringbuf

Defined in header <sstream> template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_stringbuf : public std::basic_streambuf<CharT, Traits> std::basic_stringbuf is a std::basic_streambuf whose associated character sequence is a memory-resident sequence of arbitrary characters, which can be initialized from or made available as an instance of std::basic_string. Typical impleme

std::strstreambuf::seekpos

protected: virtual pos_type seekpos(pos_type sp, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out ); Repositions std::basic_streambuf::gptr and/or std::basic_streambuf::pptr, if possible, to the position indicated by sp. If std::ios_base::in is set in which, attempts to reposition gptr() (the next pointer in the get area). If std::ios_base::out is set in which, attempts to reposition pptr() (the next pointer in the put area). If neither bit

std::atomic::operator T()

(since C++11) operator T() const; operator T() const volatile; Atomically loads and returns the current value of the atomic variable. Equivalent to load(). Parameters (none). Return value The current value of the atomic variable. Exceptions noexcept specification: noexcept See also load (C++11) atomically obtains the value of the atomic object (public member function)

std::putwchar

Defined in header <cwchar> wint_t putwchar( wchar_t ch ); Writes a wide character ch to stdout. Parameters ch - wide character to be written Return value ch on success, WEOF on failure. See also putchar writes a character to stdout (function) fputwcputwc writes a wide character to a file stream (function) C documentation for putwchar

std::basic_ostringstream::basic_ostringstream

explicit basic_ostringstream( ios_base::openmode mode = ios_base::out ); (1) explicit basic_ostringstream( const std::basic_string<CharT,Traits,Allocator>& str, ios_base::openmode mode = ios_base::out ); (2) basic_ostringstream( basic_ostringstream&& other ); (3) (since C++11) Constructs new string stream. 1) Constructs new underlying string device. The underlying basic_stringbuf object is constructed as basic_stringbuf<Char,Traits,A

std::abort

Defined in header <cstdlib> void abort(); (until C++11) [[noreturn]] void abort(); (since C++11) Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to signal and the handler does not return. Destructors of variables with automatic, thread local and static storage durations are not called. Functions passed to std::atexit() are also not called. Whether open resources such as files are closed is implementation defi

std::owner_less

Defined in header <memory> (1) template< class T > struct owner_less; /* undefined */ (since C++11) (until C++17) template< class T = void > struct owner_less; /* undefined */ (since C++17) template< class T > struct owner_less<std::shared_ptr<T>>; (2) (since C++11) template< class T > struct owner_less<std::weak_ptr<T>>; (3) (since C++11) template<> struct owner_less<void>; (4) (since C++17)

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