ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
diplomat::Ok< T > Struct Template Reference

#include <diplomat_runtime.hpp>

Public Member Functions

 Ok (T &&i)
 
template<typename X = T, typename = typename std::enable_if<std::is_trivially_copyable<X>::value>::type>
 Ok (T i)
 
 Ok ()=default
 
 Ok (Ok &&) noexcept=default
 
 Ok (const Ok &)=default
 
Okoperator= (const Ok &)=default
 
Okoperator= (Ok &&) noexcept=default
 

Public Attributes

inner
 

Constructor & Destructor Documentation

◆ Ok() [1/5]

template<class T >
diplomat::Ok< T >::Ok ( T &&  i)
inline

◆ Ok() [2/5]

template<class T >
template<typename X = T, typename = typename std::enable_if<std::is_trivially_copyable<X>::value>::type>
diplomat::Ok< T >::Ok ( i)
inline

◆ Ok() [3/5]

template<class T >
diplomat::Ok< T >::Ok ( )
default

◆ Ok() [4/5]

template<class T >
diplomat::Ok< T >::Ok ( Ok< T > &&  )
defaultnoexcept

◆ Ok() [5/5]

template<class T >
diplomat::Ok< T >::Ok ( const Ok< T > &  )
default

Member Function Documentation

◆ operator=() [1/2]

template<class T >
Ok & diplomat::Ok< T >::operator= ( const Ok< T > &  )
default

◆ operator=() [2/2]

template<class T >
Ok & diplomat::Ok< T >::operator= ( Ok< T > &&  )
defaultnoexcept

Member Data Documentation

◆ inner

template<class T >
T diplomat::Ok< T >::inner

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