diff options
Diffstat (limited to 'week-5/StringWeek5.h')
-rw-r--r-- | week-5/StringWeek5.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/week-5/StringWeek5.h b/week-5/StringWeek5.h new file mode 100644 index 0000000..8c2bdac --- /dev/null +++ b/week-5/StringWeek5.h @@ -0,0 +1,16 @@ +#pragma once + +#include <string> +#include <sstream> + +class StringWeek5 { +public: + template <class T> + void add(const T& value); + void removeAll(const std::string& remove); + const std::string& getText() const; +private: + std::string text; +}; + +#include "StringWeek5.hpp" |