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

#include <diplomat_runtime.hpp>

Public Member Functions

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

Public Attributes

inner
 

Constructor & Destructor Documentation

◆ Err() [1/5]

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

◆ Err() [2/5]

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

◆ Err() [3/5]

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

◆ Err() [4/5]

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

◆ Err() [5/5]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ inner

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

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