D
desktop
I have made this little test with std:air:
test<int> t1(1);
test<int> t2(2);
std:air<test<int>,test<int> > mypair = std::make_pair(t1,t2);
where test is a template class I wrote. It seems a bit cumbersome to
make a pair are there any better way to do it than the above procedure?
test<int> t1(1);
test<int> t2(2);
std:air<test<int>,test<int> > mypair = std::make_pair(t1,t2);
where test is a template class I wrote. It seems a bit cumbersome to
make a pair are there any better way to do it than the above procedure?