forked from qt-creator/qt-creator
Utils: Add Utils::SmallStringView::empty
It is required by many template function because it is used in the STL. Change-Id: I5a2b9266d0c9d79bdc37cbbc4e7b62fac7a82b8b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -97,6 +97,12 @@ public:
|
||||
return m_size == 0;
|
||||
}
|
||||
|
||||
constexpr
|
||||
size_type empty() const noexcept
|
||||
{
|
||||
return m_size == 0;
|
||||
}
|
||||
|
||||
constexpr
|
||||
const_iterator begin() const noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user