20 lines
278 B
C++
20 lines
278 B
C++
#pragma once
|
|
#include "String.h"
|
|
class String;
|
|
class StringValue;
|
|
|
|
|
|
|
|
class Char
|
|
{
|
|
private:
|
|
|
|
size_t _index;
|
|
String& _string;
|
|
|
|
public:
|
|
|
|
Char(size_t index, String& string) :_index(index), _string(string) {}
|
|
operator char() const;
|
|
Char& operator=(char other);
|
|
}; |