TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Typedefs | Functions
std Namespace Reference

Typedefs

using any = TTKAny
 
template<class _Key , class _Value >
using unsorted_map = TTKUnsortedMap< _Key, _Value >
 

Functions

template<typename _Tp , typename _Up = _Tp>
_Tp exchange (_Tp &__obj, _Up &&__new_val) noexcept
 Assign __new_val to __obj and return its previous value. More...
 
template<typename _Tp >
constexpr const _Tp & clamp (const _Tp &_Val, const _Tp &_Min_val, const _Tp &_Max_val)
 
void swap (TTKAny &left, TTKAny &right) noexcept
 
template<class _Key , class _Value >
void swap (TTKUnsortedMap< _Key, _Value > &left, TTKUnsortedMap< _Key, _Value > &right) noexcept
 

Typedef Documentation

using std::any = typedef TTKAny

Definition at line 219 of file ttkany.h.

template<class _Key , class _Value >
using std::unsorted_map = typedef TTKUnsortedMap<_Key, _Value>

Definition at line 433 of file ttkunsortedmap.h.

Function Documentation

template<typename _Tp >
constexpr const _Tp& std::clamp ( const _Tp &  _Val,
const _Tp &  _Min_val,
const _Tp &  _Max_val 
)
inline

Definition at line 54 of file ttkcompat.h.

References TTK::max(), and TTK::min().

template<typename _Tp , typename _Up = _Tp>
_Tp std::exchange ( _Tp &  __obj,
_Up &&  __new_val 
)
inlinenoexcept

Assign __new_val to __obj and return its previous value.

Definition at line 44 of file ttkcompat.h.

Referenced by TTKAny::swap().

void std::swap ( TTKAny left,
TTKAny right 
)
inlinenoexcept

Definition at line 212 of file ttkany.h.

Referenced by TTKConcurrentQueue< T >::clear(), and MusicSongMeta::operator=().

template<class _Key , class _Value >
void std::swap ( TTKUnsortedMap< _Key, _Value > &  left,
TTKUnsortedMap< _Key, _Value > &  right 
)
inlinenoexcept

Definition at line 427 of file ttkunsortedmap.h.