Silicium
Public Member Functions | List of all members
Si::optional< T & > Struct Template Reference

#include <optional.hpp>

Public Member Functions

 optional () BOOST_NOEXCEPT
 
 optional (T &data) BOOST_NOEXCEPT
 
 optional (some_t, T &data) BOOST_NOEXCEPT
 
 optional (none_t) BOOST_NOEXCEPT
 
void emplace (T &data) BOOST_NOEXCEPT
 
SILICIUM_USE_RESULT bool operator! () const BOOST_NOEXCEPT
 
SILICIUM_USE_RESULT T & operator* () BOOST_NOEXCEPT
 
SILICIUM_USE_RESULT T const & operator* () const BOOST_NOEXCEPT
 
T * operator-> () BOOST_NOEXCEPT
 
T const * operator-> () const BOOST_NOEXCEPT
 

Constructor & Destructor Documentation

template<class T >
Si::optional< T & >::optional ( )
inline
template<class T >
Si::optional< T & >::optional ( T &  data)
inline
template<class T >
Si::optional< T & >::optional ( some_t  ,
T &  data 
)
inline
template<class T >
Si::optional< T & >::optional ( none_t  )
inline

Member Function Documentation

template<class T >
void Si::optional< T & >::emplace ( T &  data)
inline
template<class T >
SILICIUM_USE_RESULT bool Si::optional< T & >::operator! ( ) const
inline
template<class T >
SILICIUM_USE_RESULT T& Si::optional< T & >::operator* ( )
inline
template<class T >
SILICIUM_USE_RESULT T const& Si::optional< T & >::operator* ( ) const
inline
template<class T >
T* Si::optional< T & >::operator-> ( )
inline
template<class T >
T const* Si::optional< T & >::operator-> ( ) const
inline

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