openMSX
Classes | Typedefs
sreg_impl Namespace Reference

Classes

struct  semiregular
 
struct  semiregular< T & >
 
struct  semiregular< T && >
 
struct  semiregular_copy_assign
 
struct  semiregular_move_assign
 

Typedefs

template<typename T >
using semiregular_move_layer = std::conditional_t< std::is_move_assignable_v< T >, std::optional< T >, semiregular_move_assign< T > >
 
template<typename T >
using semiregular_copy_layer = std::conditional_t< std::is_copy_assignable_v< T >, std::optional< T >, semiregular_copy_assign< T > >
 

Typedef Documentation

◆ semiregular_copy_layer

template<typename T >
using sreg_impl::semiregular_copy_layer = typedef std::conditional_t<std::is_copy_assignable_v<T>, std::optional<T>, semiregular_copy_assign<T> >

Definition at line 87 of file semiregular.hh.

◆ semiregular_move_layer

template<typename T >
using sreg_impl::semiregular_move_layer = typedef std::conditional_t<std::is_move_assignable_v<T>, std::optional<T>, semiregular_move_assign<T> >

Definition at line 63 of file semiregular.hh.