#ifndef EXERCISE_2_HPP_ #define EXERCISE_2_HPP_ template class Pair { private: T1 m_first; T2 m_second; public: Pair(const T1& first, const T2& second) : m_first(first), m_second(second) { } const T1& first() const; const T2& second() const; }; template const T1& Pair::first() const { return m_first; } template const T2& Pair::second() const { return m_second; } #endif