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:
parent
b510c48797
commit
383805af3a
14
view.hpp
14
view.hpp
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user