AI Engine API User Guide (AIE-API) 2024.1
Loading...
Searching...
No Matches
aie::TupleLike Concept Reference

Accepts any type implementing tuple interface. More...

#include <aie.hpp>

Concept definition

template<typename T>
concept aie::TupleLike = requires (T t) {
typename std::tuple_size<std::decay_t<T>>;
typename std::tuple_element<0, std::decay_t<T>>;
{ std::get<0>(t) };
}
Accepts any type implementing tuple interface.
Definition aie.hpp:991

Detailed Description

Accepts any type implementing tuple interface.

Examples: std::array, std::pair, std::tuple.