DSC Engine
Loading...
Searching...
No Matches
string.hpp
1#pragma once
2
3namespace DSC
4{
5 class String
6 {
7 private:
8 char* buffer = nullptr;
9 short len = 0;
10 public:
11 String();
12 String(const char* text);
13
14 operator const char*() const;
15
16 int size() const;
17
18 char operator[] (int index) const;
19
20 bool operator == (const String& other) const;
21
22 ~String();
23 };
24}
Definition: string.hpp:6