#pragma once #include template class Pair { public : T1 first; T2 second; template Pair(T12 &&first,T22 &&second):first(std::forward(first)),second(std::forward(second)) {} Pair() {} };