util/AllocatedString: add method data()
This commit is contained in:
parent
101f08ca75
commit
1d1259a86d
@ -123,6 +123,10 @@ public:
|
||||
return *value == SENTINEL;
|
||||
}
|
||||
|
||||
constexpr pointer_type data() const {
|
||||
return value;
|
||||
}
|
||||
|
||||
reference_type operator[](size_type i) {
|
||||
return value[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user