summaryrefslogtreecommitdiff
path: root/src/utils/smart_string.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-14 10:11:32 +0100
committerHampusM <hampus@hampusmat.com>2022-02-14 10:11:32 +0100
commit7892ef9d248c189be68ce7faf63230ec0a318b67 (patch)
tree7c3d07779d5ce96994f81c0cc22e8b667601ee9d /src/utils/smart_string.hpp
parenta03dfe959fcafd238119bdf7f27c07b92064496e (diff)
refactor: reorganize & add debugging
Diffstat (limited to 'src/utils/smart_string.hpp')
-rw-r--r--src/utils/smart_string.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/utils/smart_string.hpp b/src/utils/smart_string.hpp
new file mode 100644
index 0000000..fcaff98
--- /dev/null
+++ b/src/utils/smart_string.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+class SmartString
+{
+public:
+ SmartString(char *c_str);
+ SmartString(unsigned int size);
+
+ ~SmartString();
+
+ operator char *() const;
+
+ char *c_str = nullptr;
+};