Add copy assignment operator to strided_bounds
`strided_bounds` defines copy constructor, but lacks copy assignment operator
This commit is contained in:
1 parent
2b2adebde5
commit
557e6693b5
1 file changed
+2
@@ -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))
|
||||
{}
|
||||
|
||||
Reference in new issue
Block a user