Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
std::experimental Namespace Reference

Namespaces

namespace  detail_
 

Classes

class  bad_optional_access
 
struct  constexpr_optional_base
 
union  constexpr_storage_t
 
struct  in_place_t
 
struct  is_assignable
 
struct  is_nothrow_move_assignable
 
struct  is_nothrow_move_constructible
 
struct  nullopt_t
 
class  optional
 
class  optional< T & >
 
class  optional< T && >
 
struct  optional_base
 
union  storage_t
 
struct  trivial_init_t
 

Typedefs

template<typename T >
using is_trivially_destructible = std::has_trivial_destructor< T >
 
template<class T >
using OptionalBase = typename std::conditional< is_trivially_destructible< T >::value, constexpr_optional_base< typename std::remove_const< T >::type >, optional_base< typename std::remove_const< T >::type > >::type
 

Functions

template<class T >
constexpr T && constexpr_forward (typename std::remove_reference< T >::type &&t) noexcept
 
template<class T >
constexpr T && constexpr_forward (typename std::remove_reference< T >::type &t) noexcept
 
template<class T >
constexpr std::remove_reference< T >::type && constexpr_move (T &&t) noexcept
 
template<class X >
constexpr optional< X & > make_optional (reference_wrapper< X > v)
 
template<class T >
constexpr optional< typename decay< T >::typemake_optional (T &&v)
 
template<class T >
constexpr bool operator!= (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator!= (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator!= (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator!= (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator!= (const optional< T > &x, nullopt_t) noexcept
 
template<class T >
constexpr bool operator!= (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator!= (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator!= (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator!= (nullopt_t, const optional< T > &x) noexcept
 
template<class T >
constexpr bool operator< (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator< (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator< (const optional< T > &, nullopt_t) noexcept
 
template<class T >
constexpr bool operator< (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator< (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator< (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator< (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator< (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator< (nullopt_t, const optional< T > &x) noexcept
 
template<class T >
constexpr bool operator<= (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator<= (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator<= (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator<= (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator<= (const optional< T > &x, nullopt_t) noexcept
 
template<class T >
constexpr bool operator<= (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator<= (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator<= (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator<= (nullopt_t, const optional< T > &) noexcept
 
template<class T >
constexpr bool operator== (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator== (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator== (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator== (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator== (const optional< T > &x, nullopt_t) noexcept
 
template<class T >
constexpr bool operator== (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator== (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator== (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator== (nullopt_t, const optional< T > &x) noexcept
 
template<class T >
constexpr bool operator> (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator> (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator> (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator> (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator> (const optional< T > &x, nullopt_t) noexcept
 
template<class T >
constexpr bool operator> (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator> (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator> (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator> (nullopt_t, const optional< T > &) noexcept
 
template<class T >
constexpr bool operator>= (const optional< const T & > &x, const T &v)
 
template<class T >
constexpr bool operator>= (const optional< T & > &x, const T &v)
 
template<class T >
constexpr bool operator>= (const optional< T > &, nullopt_t) noexcept
 
template<class T >
constexpr bool operator>= (const optional< T > &x, const optional< T > &y)
 
template<class T >
constexpr bool operator>= (const optional< T > &x, const T &v)
 
template<class T >
constexpr bool operator>= (const T &v, const optional< const T & > &x)
 
template<class T >
constexpr bool operator>= (const T &v, const optional< T & > &x)
 
template<class T >
constexpr bool operator>= (const T &v, const optional< T > &x)
 
template<class T >
constexpr bool operator>= (nullopt_t, const optional< T > &x) noexcept
 
template<class T >
void swap (optional< T > &x, optional< T > &y) noexcept(noexcept(x.swap(y)))
 

Variables

constexpr struct std::experimental::in_place_t in_place
 
constexpr nullopt_t nullopt {nullopt_t::init()}
 
constexpr struct std::experimental::trivial_init_t trivial_init
 

Typedef Documentation

◆ is_trivially_destructible

template<typename T >
using std::experimental::is_trivially_destructible = typedef std::has_trivial_destructor<T>

Definition at line 115 of file optional.hpp.

◆ OptionalBase

template<class T >
using std::experimental::OptionalBase = typedef typename std::conditional< is_trivially_destructible<T>::value, constexpr_optional_base<typename std::remove_const<T>::type>, optional_base<typename std::remove_const<T>::type> >::type

Definition at line 355 of file optional.hpp.

Function Documentation

◆ constexpr_forward() [1/2]

template<class T >
constexpr T && std::experimental::constexpr_forward ( typename std::remove_reference< T >::type &&  t)
inlineconstexprnoexcept

Definition at line 187 of file optional.hpp.

◆ constexpr_forward() [2/2]

template<class T >
constexpr T && std::experimental::constexpr_forward ( typename std::remove_reference< T >::type t)
inlineconstexprnoexcept

Definition at line 182 of file optional.hpp.

◆ constexpr_move()

template<class T >
constexpr std::remove_reference< T >::type && std::experimental::constexpr_move ( T &&  t)
inlineconstexprnoexcept

Definition at line 193 of file optional.hpp.

◆ make_optional() [1/2]

template<class X >
constexpr optional< X & > std::experimental::make_optional ( reference_wrapper< X >  v)
constexpr

Definition at line 1029 of file optional.hpp.

◆ make_optional() [2/2]

template<class T >
constexpr optional< typename decay< T >::type > std::experimental::make_optional ( T &&  v)
constexpr

Definition at line 1023 of file optional.hpp.

◆ operator!=() [1/9]

template<class T >
constexpr bool std::experimental::operator!= ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 963 of file optional.hpp.

◆ operator!=() [2/9]

template<class T >
constexpr bool std::experimental::operator!= ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 902 of file optional.hpp.

◆ operator!=() [3/9]

template<class T >
constexpr bool std::experimental::operator!= ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 740 of file optional.hpp.

◆ operator!=() [4/9]

template<class T >
constexpr bool std::experimental::operator!= ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 840 of file optional.hpp.

◆ operator!=() [5/9]

template<class T >
constexpr bool std::experimental::operator!= ( const optional< T > &  x,
nullopt_t   
)
constexprnoexcept

Definition at line 777 of file optional.hpp.

◆ operator!=() [6/9]

template<class T >
constexpr bool std::experimental::operator!= ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 968 of file optional.hpp.

◆ operator!=() [7/9]

template<class T >
constexpr bool std::experimental::operator!= ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 907 of file optional.hpp.

◆ operator!=() [8/9]

template<class T >
constexpr bool std::experimental::operator!= ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 845 of file optional.hpp.

◆ operator!=() [9/9]

template<class T >
constexpr bool std::experimental::operator!= ( nullopt_t  ,
const optional< T > &  x 
)
constexprnoexcept

Definition at line 782 of file optional.hpp.

◆ operator<() [1/9]

template<class T >
constexpr bool std::experimental::operator< ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 973 of file optional.hpp.

◆ operator<() [2/9]

template<class T >
constexpr bool std::experimental::operator< ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 912 of file optional.hpp.

◆ operator<() [3/9]

template<class T >
constexpr bool std::experimental::operator< ( const optional< T > &  ,
nullopt_t   
)
constexprnoexcept

Definition at line 787 of file optional.hpp.

◆ operator<() [4/9]

template<class T >
constexpr bool std::experimental::operator< ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 745 of file optional.hpp.

◆ operator<() [5/9]

template<class T >
constexpr bool std::experimental::operator< ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 850 of file optional.hpp.

◆ operator<() [6/9]

template<class T >
constexpr bool std::experimental::operator< ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 988 of file optional.hpp.

◆ operator<() [7/9]

template<class T >
constexpr bool std::experimental::operator< ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 927 of file optional.hpp.

◆ operator<() [8/9]

template<class T >
constexpr bool std::experimental::operator< ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 865 of file optional.hpp.

◆ operator<() [9/9]

template<class T >
constexpr bool std::experimental::operator< ( nullopt_t  ,
const optional< T > &  x 
)
constexprnoexcept

Definition at line 792 of file optional.hpp.

◆ operator<=() [1/9]

template<class T >
constexpr bool std::experimental::operator<= ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 1003 of file optional.hpp.

◆ operator<=() [2/9]

template<class T >
constexpr bool std::experimental::operator<= ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 942 of file optional.hpp.

◆ operator<=() [3/9]

template<class T >
constexpr bool std::experimental::operator<= ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 755 of file optional.hpp.

◆ operator<=() [4/9]

template<class T >
constexpr bool std::experimental::operator<= ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 880 of file optional.hpp.

◆ operator<=() [5/9]

template<class T >
constexpr bool std::experimental::operator<= ( const optional< T > &  x,
nullopt_t   
)
constexprnoexcept

Definition at line 797 of file optional.hpp.

◆ operator<=() [6/9]

template<class T >
constexpr bool std::experimental::operator<= ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 998 of file optional.hpp.

◆ operator<=() [7/9]

template<class T >
constexpr bool std::experimental::operator<= ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 937 of file optional.hpp.

◆ operator<=() [8/9]

template<class T >
constexpr bool std::experimental::operator<= ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 875 of file optional.hpp.

◆ operator<=() [9/9]

template<class T >
constexpr bool std::experimental::operator<= ( nullopt_t  ,
const optional< T > &   
)
constexprnoexcept

Definition at line 802 of file optional.hpp.

◆ operator==() [1/9]

template<class T >
constexpr bool std::experimental::operator== ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 953 of file optional.hpp.

◆ operator==() [2/9]

template<class T >
constexpr bool std::experimental::operator== ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 892 of file optional.hpp.

◆ operator==() [3/9]

template<class T >
constexpr bool std::experimental::operator== ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 735 of file optional.hpp.

◆ operator==() [4/9]

template<class T >
constexpr bool std::experimental::operator== ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 830 of file optional.hpp.

◆ operator==() [5/9]

template<class T >
constexpr bool std::experimental::operator== ( const optional< T > &  x,
nullopt_t   
)
constexprnoexcept

Definition at line 767 of file optional.hpp.

◆ operator==() [6/9]

template<class T >
constexpr bool std::experimental::operator== ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 958 of file optional.hpp.

◆ operator==() [7/9]

template<class T >
constexpr bool std::experimental::operator== ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 897 of file optional.hpp.

◆ operator==() [8/9]

template<class T >
constexpr bool std::experimental::operator== ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 835 of file optional.hpp.

◆ operator==() [9/9]

template<class T >
constexpr bool std::experimental::operator== ( nullopt_t  ,
const optional< T > &  x 
)
constexprnoexcept

Definition at line 772 of file optional.hpp.

◆ operator>() [1/9]

template<class T >
constexpr bool std::experimental::operator> ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 983 of file optional.hpp.

◆ operator>() [2/9]

template<class T >
constexpr bool std::experimental::operator> ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 922 of file optional.hpp.

◆ operator>() [3/9]

template<class T >
constexpr bool std::experimental::operator> ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 750 of file optional.hpp.

◆ operator>() [4/9]

template<class T >
constexpr bool std::experimental::operator> ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 860 of file optional.hpp.

◆ operator>() [5/9]

template<class T >
constexpr bool std::experimental::operator> ( const optional< T > &  x,
nullopt_t   
)
constexprnoexcept

Definition at line 807 of file optional.hpp.

◆ operator>() [6/9]

template<class T >
constexpr bool std::experimental::operator> ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 978 of file optional.hpp.

◆ operator>() [7/9]

template<class T >
constexpr bool std::experimental::operator> ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 917 of file optional.hpp.

◆ operator>() [8/9]

template<class T >
constexpr bool std::experimental::operator> ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 855 of file optional.hpp.

◆ operator>() [9/9]

template<class T >
constexpr bool std::experimental::operator> ( nullopt_t  ,
const optional< T > &   
)
constexprnoexcept

Definition at line 812 of file optional.hpp.

◆ operator>=() [1/9]

template<class T >
constexpr bool std::experimental::operator>= ( const optional< const T & > &  x,
const T v 
)
constexpr

Definition at line 993 of file optional.hpp.

◆ operator>=() [2/9]

template<class T >
constexpr bool std::experimental::operator>= ( const optional< T & > &  x,
const T v 
)
constexpr

Definition at line 932 of file optional.hpp.

◆ operator>=() [3/9]

template<class T >
constexpr bool std::experimental::operator>= ( const optional< T > &  ,
nullopt_t   
)
constexprnoexcept

Definition at line 817 of file optional.hpp.

◆ operator>=() [4/9]

template<class T >
constexpr bool std::experimental::operator>= ( const optional< T > &  x,
const optional< T > &  y 
)
constexpr

Definition at line 760 of file optional.hpp.

◆ operator>=() [5/9]

template<class T >
constexpr bool std::experimental::operator>= ( const optional< T > &  x,
const T v 
)
constexpr

Definition at line 870 of file optional.hpp.

◆ operator>=() [6/9]

template<class T >
constexpr bool std::experimental::operator>= ( const T v,
const optional< const T & > &  x 
)
constexpr

Definition at line 1008 of file optional.hpp.

◆ operator>=() [7/9]

template<class T >
constexpr bool std::experimental::operator>= ( const T v,
const optional< T & > &  x 
)
constexpr

Definition at line 947 of file optional.hpp.

◆ operator>=() [8/9]

template<class T >
constexpr bool std::experimental::operator>= ( const T v,
const optional< T > &  x 
)
constexpr

Definition at line 885 of file optional.hpp.

◆ operator>=() [9/9]

template<class T >
constexpr bool std::experimental::operator>= ( nullopt_t  ,
const optional< T > &  x 
)
constexprnoexcept

Definition at line 822 of file optional.hpp.

◆ swap()

template<class T >
void std::experimental::swap ( optional< T > &  x,
optional< T > &  y 
)
noexcept

Definition at line 1016 of file optional.hpp.

Variable Documentation

◆ in_place

constexpr struct std::experimental::in_place_t std::experimental::in_place

◆ nullopt

constexpr nullopt_t std::experimental::nullopt {nullopt_t::init()}
constexpr

Definition at line 268 of file optional.hpp.

◆ trivial_init

constexpr struct std::experimental::trivial_init_t std::experimental::trivial_init