mf
Media Framework
|
Heterogeneous tuple of items. More...
#include <elem_tuple.h>
Public Types | |
using | others_tuple_type = elem_tuple< Other_elems...> |
Public Member Functions | |
elem_tuple ()=default | |
elem_tuple (const elem_tuple &)=default | |
elem_tuple (elem_tuple &&)=default | |
elem_tuple (const First_elem &first, const Other_elems &...others) | |
elem_tuple & | operator= (const elem_tuple &)=default |
elem_tuple & | operator= (elem_tuple &&)=default |
bool | is_null () const noexcept |
Static Public Member Functions | |
static constexpr std::size_t | size () |
Public Attributes | |
First_elem | first_ |
others_tuple_type | others_ |
Static Public Attributes | |
static constexpr bool | is_nullable = elem_traits<First_elem>::is_nullable || others_tuple_type::is_nullable |
Friends | |
bool | operator== (const elem_tuple &a, const elem_tuple &b) |
bool | operator!= (const elem_tuple &a, const elem_tuple &b) |
Heterogeneous tuple of items.
Similar to std::tuple
, but is also POD type (implies standard layout), and guarantees memory layout. Items must be elem
types, but not other elem_tuple
s.
using mf::elem_tuple< First_elem, Other_elems >::others_tuple_type = elem_tuple<Other_elems...> |
|
default |
|
default |
|
default |
|
inline |
|
inlinenoexcept |
|
default |
|
default |
|
inlinestatic |
|
friend |
|
friend |
First_elem mf::elem_tuple< First_elem, Other_elems >::first_ |
|
static |
others_tuple_type mf::elem_tuple< First_elem, Other_elems >::others_ |