mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #179 from vladon/master
Added default copy assignment operators for helper types.
This commit is contained in:
commit
d7832acd70
@ -292,6 +292,7 @@ namespace details
|
||||
{}
|
||||
|
||||
BoundsRanges (const BoundsRanges&) = default;
|
||||
BoundsRanges& operator=(const BoundsRanges&) = default;
|
||||
BoundsRanges(const std::ptrdiff_t* const) { }
|
||||
BoundsRanges() = default;
|
||||
|
||||
@ -685,6 +686,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))
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user