VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Optional< T > Struct Template Reference

simplified optional More...

Public Member Functions

 Optional (T &&v)
 
 Optional (const T &v)
 
 Optional ()
 
 Optional (Optional &&)=default
 
Optionaloperator= (Optional &&)=default
 
 Optional (const Optional &)=delete
 
Optionaloperator= (const Optional &)=delete
 
 operator bool () const
 
const T * operator-> () const
 
T * operator-> ()
 
const T & operator* () const &
 
T & operator* ()&
 
T && value ()
 
const T & value () const
 
void reset ()
 

Detailed Description

template<typename T>
struct VSTGUI::Optional< T >

simplified optional

Constructor & Destructor Documentation

Optional ( T &&  v)
inline
Optional ( const T &  v)
inlineexplicit
Optional ( )
inline
Optional ( Optional< T > &&  )
default
Optional ( const Optional< T > &  )
delete

Member Function Documentation

operator bool ( ) const
inlineexplicit
const T & operator* ( ) const
inline
T & operator* ( )
inline
const T * operator-> ( ) const
inline
T * operator-> ( )
inline
Optional& operator= ( Optional< T > &&  )
default
Optional& operator= ( const Optional< T > &  )
delete
void reset ( )
inline
T && value ( )
inline
const T & value ( ) const
inline

The documentation for this struct was generated from the following file: