I\'ve been experimenting with std::tuple in combination with references:
std::tuple
#include #include int main() { int a,
What about std::make_tuple(a, b);
std::make_tuple(a, b);
Admittedly, it kind of defeats the purpose, but for functions like make_shared you still get benefits.
make_shared
Warning, I haven't tried to compile this, but I believe it will work.