acadia/lib/glacier/string/string.h
2023-06-22 02:18:44 -07:00

21 lines
307 B
C++

#pragma once
#include <stdint.h>
namespace glcr {
class String {
public:
String(const char* cstr);
const char* cstr() const { return cstr_; }
uint64_t length() const { return length_; }
bool operator==(const String& str);
private:
char* cstr_;
uint64_t length_;
};
} // namespace glcr