Merge pull request #179 from vladon/master

Added default copy assignment operators for helper types.
This commit is contained in:
Neil MacIntosh 2015-11-12 09:05:00 -08:00
commit d7832acd70

View File

@ -292,6 +292,7 @@ namespace details
{} {}
BoundsRanges (const BoundsRanges&) = default; BoundsRanges (const BoundsRanges&) = default;
BoundsRanges& operator=(const BoundsRanges&) = default;
BoundsRanges(const std::ptrdiff_t* const) { } BoundsRanges(const std::ptrdiff_t* const) { }
BoundsRanges() = default; BoundsRanges() = default;
@ -685,6 +686,8 @@ public:
constexpr strided_bounds(const strided_bounds &) noexcept = default; 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) constexpr strided_bounds(const value_type(&values)[rank], index_type strides)
: m_extents(values), m_strides(std::move(strides)) : m_extents(values), m_strides(std::move(strides))
{} {}