Behaves like std::tuple but is an aggregate PODType. More...
#include <bio/meta/pod_tuple.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<typename... types> | |
pod_tuple (types &&...) -> pod_tuple< types... > | |
User defined deduction guide enables easy use. | |
Access an element of a pod_tuple by index | |
The same as std::get on an std::tuple. Note that these functions are available, both, in the bio namespace and in namespace std. | |
template<std::size_t i, typename... types> | |
constexpr auto & | get (bio::meta::pod_tuple< types... > &t) noexcept |
The same as std::get on an std::tuple. | |
template<std::size_t i, typename... types> | |
constexpr auto const & | get (bio::meta::pod_tuple< types... > const &t) noexcept |
The same as std::get on an std::tuple. | |
template<std::size_t i, typename... types> | |
constexpr auto && | get (bio::meta::pod_tuple< types... > &&t) noexcept |
The same as std::get on an std::tuple. | |
template<std::size_t i, typename... types> | |
constexpr auto const && | get (bio::meta::pod_tuple< types... > const &&t) noexcept |
The same as std::get on an std::tuple. | |
Access an element of a pod_tuple by type | |
The same as std::get on an std::tuple. Note that these functions are available, both, in the bio namespace and in namespace std. As is the case with std::tuple, this function is only defined if the type appears once in the tuple, i.e. | |
template<typename type , typename... arg_types> | |
constexpr auto & | get (bio::meta::pod_tuple< arg_types... > &t) noexcept |
The same as std::get on an std::tuple. | |
template<typename type , typename... arg_types> | |
constexpr auto const & | get (bio::meta::pod_tuple< arg_types... > const &t) noexcept |
The same as std::get on an std::tuple. | |
template<typename type , typename... arg_types> | |
constexpr auto && | get (bio::meta::pod_tuple< arg_types... > &&t) noexcept |
The same as std::get on an std::tuple. | |
template<typename type , typename... arg_types> | |
constexpr auto const && | get (bio::meta::pod_tuple< arg_types... > const &&t) noexcept |
The same as std::get on an std::tuple. | |
Behaves like std::tuple but is an aggregate PODType.