remove comparison to dynamic_extent

This commit is contained in:
Jordan Maples [MSFT] 2020-02-03 13:53:38 -08:00
parent 3e40b3fa4b
commit d9d6ea8196

View File

@ -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];
}