Код: Выделить всё
std::array arr = {2,4,6};
std::tuple tup;
tup = arr; // c++23 or later
Подробнее здесь: https://stackoverflow.com/questions/793 ... o-stdtuple
Код: Выделить всё
std::array arr = {2,4,6};
std::tuple tup;
tup = arr; // c++23 or later