ConnectPair<T1,T2> stores two items of types T1 and T2, basically the same as std::pair from the STL.