util/AllocatedString: remove Null(), IsNull()
This commit is contained in:
@@ -85,10 +85,6 @@ public:
|
||||
return BasicAllocatedString(value);
|
||||
}
|
||||
|
||||
static BasicAllocatedString Null() noexcept {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static BasicAllocatedString Empty() {
|
||||
auto p = new value_type[1];
|
||||
p[0] = SENTINEL;
|
||||
@@ -120,10 +116,6 @@ public:
|
||||
return value != nullptr;
|
||||
}
|
||||
|
||||
constexpr bool IsNull() const noexcept {
|
||||
return value == nullptr;
|
||||
}
|
||||
|
||||
operator string_view() const noexcept {
|
||||
return value != nullptr
|
||||
? string_view(value)
|
||||
|
Reference in New Issue
Block a user