view: remove addition operators

The effect of these operators was never particularly clear. It's better
to remove them completely and replace them with explicit function calls.
This commit is contained in:
Danny Robson 2018-10-30 15:00:02 +11:00
parent b510c48797
commit 383805af3a

View File

@ -349,20 +349,6 @@ namespace cruft {
}
constexpr auto
operator+ (int count) const
{
return consume (count);
}
constexpr auto
operator+= (int count)&
{
return *this = consume (count);
}
///////////////////////////////////////////////////////////////////////
template <
typename ValueT,