view: add deduction guideline for iterator/int
This commit is contained in:
parent
d975c05c58
commit
7dabd12253
4
view.hpp
4
view.hpp
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user