I\'ve been experimenting with std::tuple in combination with references:
std::tuple
#include #include int main() { int a,
How about:
auto test3 = std::make_tuple(std::ref(a),std::ref(b));