TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Namespaces | Macros | Typedefs | Functions
ttkany.h File Reference
#include <memory>
#include <typeindex>
#include "ttkcompat.h"
#include "ttkmoduleexport.h"

Go to the source code of this file.

Classes

class  TTKAny
 The class of the ttk any module. More...
 
struct  TTKAny::_Base
 
struct  TTKAny::_Derived< T >
 

Namespaces

 TTK
 The namespace of the process utils.
 
 std
 

Macros

#define TTKAnyCast(x, y)   ((x)(y))
 

Typedefs

template<typename T >
using TTK::remove_cvr = typename std::remove_cv< typename std::remove_reference< T >::type >::type
 
using std::any = TTKAny
 

Functions

template<typename T , typename... Args>
TTKAny TTK::make_any (Args &&...args)
 
template<typename T , typename _TYPE = remove_cvr<T>>
_TYPE TTK::any_cast (const TTKAny &other)
 
template<typename T , typename _TYPE = remove_cvr<T>>
_TYPE TTK::any_cast (TTKAny &other)
 
template<typename T , typename _TYPE = remove_cvr<T>>
_TYPE TTK::any_cast (TTKAny &&other)
 
template<typename T , typename _TYPE = remove_cvr<T>>
_TYPE TTK::any_cast (const TTKAny *const other) noexcept
 
template<typename T , typename _TYPE = remove_cvr<T>>
_TYPE TTK::any_cast (TTKAny *const other) noexcept
 
void std::swap (TTKAny &left, TTKAny &right) noexcept
 

Macro Definition Documentation

#define TTKAnyCast (   x,
 
)    ((x)(y))

Definition at line 145 of file ttkany.h.