Simulant  21.12-246
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | Friends | List of all members
smlt::detail::base< DestructibleTrait, Ts > Class Template Reference

Public Member Functions

constexpr base (valueless_t tag) noexcept
 
template<std::size_t I, typename... Args>
constexpr base (in_place_index_t< I >, Args &&... args)
 
constexpr bool valueless_by_exception () const noexcept
 
constexpr std::size_t index () const noexcept
 

Protected Types

using data_t = recursive_union< DestructibleTrait, 0, Ts... >
 

Static Protected Member Functions

static constexpr std::size_t size ()
 

Protected Attributes

data_t data_
 
index_t index_
 

Friends

struct access::base
 
struct visitation::base
 
constexpr friend baseas_base (base &b)
 
constexpr friend const baseas_base (const base &b)
 
constexpr friend base && as_base (base &&b)
 
constexpr friend const base && as_base (const base &&b)
 
constexpr friend data_tdata (base &b)
 
constexpr friend const data_tdata (const base &b)
 
constexpr friend data_t && data (base &&b)
 
constexpr friend const data_t && data (const base &&b)
 

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