I\'ve been experimenting with std::tuple in combination with references:
std::tuple
#include #include int main() { int a,
For the why: make_tuple parameters are passed by const reference (const T&), so if you pass int&, T matches int. If it deduced T to be int&, the parameter would be const T&&, and you'd get a compile error.
make_tuple
const T&
int&
T
int
const T&&