std::shuffle_order_engine

Defined in header <random> template< class Engine, std::size_t K > class shuffle_order_engine; (since C++11) shuffle_order_engine is a random number engine adaptor that shuffles the random numbers generated by the base engine. It maintains a table of size K and delivers a randomly selected number from that table when requested, replacing it with a number generated by the base engine. The following typedef defines the random number engine with one commonly use

std::showpos

Defined in header <ios> std::ios_base& showpos( std::ios_base& str ); (1) std::ios_base& noshowpos( std::ios_base& str ); (2) Enables or disables the display of the plus sign '+' in non-negative integer output. Has no effect on input. 1) enables the showpos flag in the stream str as if by calling str.setf(std::ios_base::showpos). 2) disables the showpos flag in the stream str as if by calling str.unsetf(std::ios_base::showpos). This is an I/O manipulat

std::showpoint

Defined in header <ios> std::ios_base& showpoint( std::ios_base& str ); (1) std::ios_base& noshowpoint( std::ios_base& str ); (2) Enables or disables the unconditional inclusion of the decimal point character in floating-point output. Has no effect on input. 1) enables the showpoint flag in the stream str as if by calling str.setf(std::ios_base::showpoint). 2) disables the showpoint flag in the stream str as if by calling str.unsetf(std::ios_base::show

std::showbase

Defined in header <ios> std::ios_base& showbase( std::ios_base& str ); (1) std::ios_base& noshowbase( std::ios_base& str ); (2) 1) enables the showbase flag in the stream str as if by calling str.setf(std::ios_base::showbase). 2) disables the showbase flag in the stream str as if by calling str.unsetf(std::ios_base::showbase). This is an I/O manipulator, it may be called with an expression such as out << std::showbase for any out of type std::bas

std::shared_timed_mutex::unlock_shared

void unlock_shared(); (since C++14) Releases the mutex from shared ownership by the calling thread. . The mutex must be locked by the current thread of execution in shared mode, otherwise, the behavior is undefined. This operation synchronizes-with (as defined in std::memory_order) any subsequent lock() operation that obtains ownership of the same mutex. Parameters (none). Return value (none). Exceptions (none). Notes unlock_shared() is usually not called directly: std::shar

std::shared_timed_mutex::unlock

void unlock(); (since C++14) Unlocks the mutex. The mutex must be locked by the current thread of execution, otherwise, the behavior is undefined. This operation synchronizes-with (as defined in std::memory_order) any subsequent lock operation that obtains ownership of the same mutex. Parameters (none). Return value (none). Exceptions (none). Notes unlock() is usually not called directly: std::unique_lock and std::lock_guard are used to manage exclusive locking. Example

std::shared_timed_mutex::try_lock_until

template< class Clock, class Duration > bool try_lock_until( const std::chrono::time_point<Clock,Duration>& timeout_time ); (since C++14) Tries to lock the mutex. Blocks until specified timeout_time has been reached or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_time has already passed, this function behaves like try_lock(). The clock tied to timeout_time is used, which means that adjustmen

std::shared_timed_mutex::try_lock_shared_until

template< class Clock, class Duration > bool try_lock_shared_until( const std::chrono::time_point<Clock,Duration>& timeout_time ); (since C++14) Tries to lock the mutex in shared mode. Blocks until specified timeout_time has been reached or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_time has already passed, this function behaves like try_lock_shared(). The clock tied to timeout_time is use

std::shared_timed_mutex::try_lock_shared_for

template< class Rep, class Period > bool try_lock_shared_for( const std::chrono::duration<Rep,Period>& timeout_duration ); (since C++14) Tries to lock the mutex in shared mode. Blocks until specified timeout_duration has elapsed or the shared lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_duration is less or equal timeout_duration.zero(), the function behaves like try_lock_shared(). A steady clock

std::shared_timed_mutex::try_lock_shared

bool try_lock_shared(); (since C++14) Tries to lock the mutex in shared mode. 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 currenly exclusively locked by any other thread. Prior unlock() operation on the same mutex synchronizes-with (as defined in std::memory_order) this operation if it returns true. The behavior is undefined if the calling thread already o