BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
bio::meta::pod_tuple< types > Struct Template Reference

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. std::get<int>(std::tuple<int, int>{1,2}) is not defined.

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.
 

Detailed Description

template<typename... types>
struct bio::meta::pod_tuple< types >

Behaves like std::tuple but is an aggregate PODType.


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