aboutsummaryrefslogtreecommitdiff
path: root/oop1w5/StringWeek5.h
diff options
context:
space:
mode:
Diffstat (limited to 'oop1w5/StringWeek5.h')
-rw-r--r--oop1w5/StringWeek5.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/oop1w5/StringWeek5.h b/oop1w5/StringWeek5.h
new file mode 100644
index 0000000..8c2bdac
--- /dev/null
+++ b/oop1w5/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"