BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
bio::meta::pair_like Concept Reference

Whether a type behaves like a tuple with exactly two elements. More...

#include <bio/meta/concept/tuple.hpp>

Concept definition

template<typename t>
concept bio::meta::pair_like = tuple_like<t> && std::tuple_size_v<std::remove_reference_t<t>> == 2
Whether a type behaves like a tuple with exactly two elements.
Definition: tuple.hpp:199

Detailed Description

Whether a type behaves like a tuple with exactly two elements.

Types that meet this concept are for example std::tuple, std::pair, std::array, bio::meta::pod_tuple, iff std::tuple_size equals 2.