geekbrains_oop_cpp/lesson_5/exercise_3.hpp

15 lines
278 B
C++
Raw Normal View History

2021-07-04 00:58:03 +00:00
#ifndef EXERCISE_3_HPP_
#define EXERCISE_3_HPP_
#include "exercise_2.hpp"
template <typename T2>
class StringValuePair : public Pair<std::string, T2>
{
public:
StringValuePair(const std::string& first, const T2& second) :
Pair<std::string, T2>(first, second) {}
};
#endif