view: add const array ref template deduction
This commit is contained in:
parent
341907ac79
commit
84f8600f85
5
view.hpp
5
view.hpp
@ -449,7 +449,10 @@ namespace util {
|
||||
view (const std::vector<ValueT,AllocatorT>&) -> view<typename AllocatorT::const_pointer>;
|
||||
|
||||
template <typename ValueT, std::size_t N>
|
||||
view (std::array<ValueT,N>) -> view<ValueT*>;
|
||||
view (std::array<ValueT,N>&) -> view<ValueT*>;
|
||||
|
||||
template <typename ValueT, std::size_t N>
|
||||
view (const std::array<ValueT,N>&) -> view<const ValueT*>;
|
||||
|
||||
template <typename ContainerT>
|
||||
view (ContainerT&) -> view<
|
||||
|
Loading…
Reference in New Issue
Block a user