remove comparison to dynamic_extent
This commit is contained in:
1 parent
3e40b3fa4b
commit
d9d6ea8196
1 file changed
+2
-2
+2
-2
@@ -517,13 +517,13 @@ public:
|
||||
|
||||
constexpr reference front() const noexcept
|
||||
{
|
||||
Expects(size() != dynamic_extent && size() > 0);
|
||||
Expects(size() > 0);
|
||||
return data()[0];
|
||||
}
|
||||
|
||||
constexpr reference back() const noexcept
|
||||
{
|
||||
Expects(size() != dynamic_extent && size() > 0);
|
||||
Expects(size() > 0);
|
||||
return data()[size() - 1];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user