view: Avoid assertions that print the iterators

Not all iterators are printable.
This commit is contained in:
Danny Robson 2020-04-27 09:38:12 +10:00
parent 0927816e42
commit 3ff6873e4c

View File

@ -44,7 +44,7 @@ namespace cruft {
m_end (last)
{
if constexpr (cruft::is_lteq_orderable_v<BeginT,EndT>) {
CHECK_LE (m_begin, m_end);
CHECK (m_begin <= m_end);
}
}