I need to construct an std::tuple object so that std::tuple_size<T>::value = 0.
Is there a way to do this?
std::tuple<> empty;
using empty_t = std::tuple<>;
auto empty2 = std::make_tuple();
static_assert(std::tuple_size<std::tuple<>>::value == 0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With