The differences between std::make_tuple, std::tie and std::forward_as_tuple
C++
std::make_tuple(T&&) applies a std::decay on each of the the types it receives, in order to determine the corresponding type to store in the tuple. std::decay removes all …
Mar 27, 2026