aboutsummaryrefslogtreecommitdiff
path: root/oop1w5/StringWeek5.hpp
blob: ed71e7539c0c1f34f35f4df9f4d7a4c16176c4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "StringWeek5.h"
#include <string>

template <typename T>
void StringWeek5::add(const T& value) {
	std::stringstream value_str("");
	value_str << value;
	this->text.append(value_str.str());
}