TermOx
|
Homogeneous collection of Widgets within a Layout_t<Widget_t>. More...
#include <array.hpp>
Public Member Functions | |
template<typename... Args> | |
Array (Args &&... args) | |
args will be copied into each Widget's constructor call. | |
template<typename Child_t = typename Layout_t::Child_t, typename = std::enable_if_t< std::is_constructible_v<Child_t, typename Child_t::Parameters>, void>> | |
Array (std::array< typename Layout_t::Child_t::Parameters, N > parameters) | |
Array (std::array< std::unique_ptr< typename Layout_t::Child_t >, N > widget_ptrs) | |
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. | |
Homogeneous collection of Widgets within a Layout_t<Widget_t>.
Depends on Layout_t::make_child(args...) to construct the Widget_t.