view: add deduction guideline for iterator/int

This commit is contained in:
Danny Robson 2019-11-15 14:53:59 +11:00
parent d975c05c58
commit 7dabd12253

View File

@ -566,6 +566,10 @@ namespace cruft {
template <typename BeginT> template <typename BeginT>
view (BeginT, std::uint32_t count) -> view<BeginT,BeginT>; view (BeginT, std::uint32_t count) -> view<BeginT,BeginT>;
template <typename IteratorT>
view (IteratorT, int) -> view<IteratorT, IteratorT>;
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
template <typename ValueT, size_t N> template <typename ValueT, size_t N>