diff --git a/include/ircd/util.h b/include/ircd/util.h index a3186f182..14609baac 100644 --- a/include/ircd/util.h +++ b/include/ircd/util.h @@ -1088,30 +1088,10 @@ static_assert // To collapse pairs of iterators down to a single type // template -struct iterators -:std::pair -{ - using std::pair::pair; - - iterators(T &t) - :std::pair - { - std::begin(t), std::end(t) - }{} -}; +using iterators = std::pair; template -struct const_iterators -:std::pair -{ - using std::pair::pair; - - const_iterators(const T &t) - :std::pair - { - std::begin(t), std::end(t) - }{} -}; +using const_iterators = std::pair; template typename T::iterator