std::isgraph(std::locale)

Defined in header <locale> template< class charT > bool isgraph( charT ch, const locale& loc ); Checks if the given character classified as a graphic character (i.e. printable, excluding space) by the given locale's std::ctype facet. Parameters ch - character loc - locale Return value Returns true if the character is classified as graphic, false otherwise. Possible implementation template< class charT > bool isgraph( charT ch, const s

std::experimental::dynarray

After reviewing national body comments to n3690, this library component was voted out from C++14 working paper into a separate Technical Specification. This container is not a part of the draft C++14 as of n3797 Defined in header <experimental/dynarray> template< class T > class dynarray; std::experimental::dynarray is a sequence container that encapsulates arrays with a size that is fixed at construction and does not change throughout the lifetime of the

std::shared_mutex::try_lock

bool try_lock(); (since C++17) Tries to lock the mutex. Returns immediately. On successful lock acquisition returns true, otherwise returns false. This function is allowed to fail spuriously and return false even if the mutex is not currently locked by any other thread. If try_lock is called by a thread that already owns the mutex in any mode (shared or exclusive), the behavior is undefined. Prior unlock() operation on the same mutex synchronizes-with (as defined in std::memory_order) t

std::logical_or

Defined in header <functional> template< class T > struct logical_or; (until C++14) template< class T = void > struct logical_or; (since C++14) Function object for performing logical OR (logical disjunction). Effectively calls operator|| on type T. Specializations The standard library provides a specialization of std::logical_or when T is not specified, which leaves the parameter types and return type to be deduced. logical_or<void> function

std::basic_ios::swap

protected: void swap( basic_ios& other ); (since C++11) Exchanges the states of *this and other, except for the associated rdbuf objects. rdbuf() and other.rdbuf() returns the same values as before the call. This swap function is protected: it is called by the swap member functions of the derived stream classes such as std::basic_ofstream or std::basic_istringstream, which know how to correctly swap the associated streambuffers. Parameters other - the basic_ios object to exc

std::allocator::allocate

pointer allocate( size_type n, std::allocator<void>::const_pointer hint = 0 ); Allocates n * sizeof(T) bytes of uninitialized storage by calling ::operator new(std::size_t), but it is unspecified when and how this function is called. The pointer hint may be used to provide locality of reference: the allocator, if supported by the implementation, will attempt to allocate the new memory block as close as possible to hint. Parameters n - the number of objects to allocate stor

std::list::push_back

void push_back( const T& value ); (1) void push_back( T&& value ); (2) (since C++11) Appends the given element value to the end of the container. 1) The new element is initialized as a copy of value. 2) value is moved into the new element. No iterators or references are invalidated. Parameters value - the value of the element to append Type requirements - T must meet the requirements of CopyInsertable in order to use overload (1). - T must meet the requ

std::deque::rend

reverse_iterator rend(); const_reverse_iterator rend() const; const_reverse_iterator crend() const; (since C++11) Returns a reverse iterator to the element following the last element of the reversed container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior. Parameters (none). Return value Reverse iterator to the element following the last

std::dynarray::begin

iterator begin(); (since {std}) const_iterator begin() const; (since {std}) const_iterator cbegin() const; (since {std}) 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 See also end cend returns an iterator to the end (public member

TimedMutex

The TimedMutex concept extends the TimedLockable concept to include inter-thread synchronization. Requirements TimedLockable Mutex Additionally, for object m of TimedMutex type. The expression m.try_lock_for(duration) has the following properties Behaves as an atomic operation. Attempts to obtain exclusive ownership of the mutex within the duration specified by duration. If duration is less or equal duration.zero(), attempts to obtain the ownership without locking (as if by try_loc