cpp/utility/pair

is a class template that provides a way to store two heterogeneous objects as a single unit. A pair is a specific case of a std with two elements.

If neither nor  is a possibly cv-qualified class type with non-trivial destructor, or array thereof, the destructor of  is trivial.