Add copy assignment operator to strided_bounds

`strided_bounds` defines copy constructor, but lacks copy assignment
operator
This commit is contained in:
Vladislav Yaroslavlev 2015-11-12 10:44:41 +03:00
parent 2b2adebde5
commit 557e6693b5

View File

@ -685,6 +685,8 @@ public:
constexpr strided_bounds(const strided_bounds &) noexcept = default;
constexpr strided_bounds & operator=(const strided_bounds &) noexcept = default;
constexpr strided_bounds(const value_type(&values)[rank], index_type strides)
: m_extents(values), m_strides(std::move(strides))
{}