TermOx
|
Heterogeneous collection of Widgets within a Layout_t. More...
#include <tuple.hpp>
Public Types | |
using | Parameters = std::tuple< typename Widget_t::Parameters... > |
Public Member Functions | |
Tuple () | |
Default construct each Widget. | |
Tuple (typename Widget_t::Parameters... p) | |
Construct each Widget with a Widget_t::Parameters object. | |
Tuple (Tuple::Parameters p) | |
Construct from a Tuple::Parameters object. | |
Tuple (std::unique_ptr< Widget_t >... widget_ptrs) | |
Move existing Widgets into a Tuple. | |
template<std::size_t Index> | |
auto | get () -> auto & |
Get child by index. | |
template<std::size_t Index> | |
auto | get () const -> auto const & |
Get child by index. | |
Heterogeneous collection of Widgets within a Layout_t.
Widgets are added to Layout_t in the order that Widget_t types are given.