TTKMusicPlayer  4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Namespaces | Typedefs | Functions
ttkoptional.h File Reference
#include "ttksmartptr.h"

Go to the source code of this file.

Classes

struct  TTKOptional< T >
 The class of the optional module. More...
 

Namespaces

 std
 

Typedefs

template<typename T >
using std::optional = TTKOptional< T >
 

Functions

template<typename T >
bool operator== (const TTKOptional< T > &v, const T &other)
 
template<typename T >
bool operator== (const T &other, const TTKOptional< T > &v)
 
template<typename T >
bool operator!= (const TTKOptional< T > &v, const T &other)
 
template<typename T >
bool operator!= (const T &other, const TTKOptional< T > &v)
 

Function Documentation

template<typename T >
bool operator!= ( const TTKOptional< T > &  v,
const T other 
)
inline

Definition at line 156 of file ttkoptional.h.

References operator==().

template<typename T >
bool operator!= ( const T other,
const TTKOptional< T > &  v 
)
inline

Definition at line 162 of file ttkoptional.h.

References operator==().

template<typename T >
bool operator== ( const TTKOptional< T > &  v,
const T other 
)
inline

Definition at line 144 of file ttkoptional.h.

References TTKOptional< T >::has_value().

Referenced by operator!=().

template<typename T >
bool operator== ( const T other,
const TTKOptional< T > &  v 
)
inline

Definition at line 150 of file ttkoptional.h.

References TTKOptional< T >::has_value().