mirror of
https://github.com/microsoft/GSL.git
synced 2025-05-13 01:15:18 -04:00
committed by
Anna Gringauze
parent
55aad0ab6d
commit
86be2366c7
@ -1931,6 +1931,8 @@ public:
|
||||
|
||||
constexpr pointer data() const noexcept { return data_; }
|
||||
|
||||
constexpr bool empty() const noexcept { return this->size() == 0; }
|
||||
|
||||
constexpr explicit operator bool() const noexcept { return data_ != nullptr; }
|
||||
|
||||
constexpr iterator begin() const { return iterator{this, true}; }
|
||||
|
Reference in New Issue
Block a user