Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove defaulted constructors and operators of StdArray #43153

Merged
merged 4 commits into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions DataFormats/Common/interface/StdArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,6 @@ namespace edm {
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;

// Constructors

// default constructor
constexpr StdArray() = default;

// copy constructor
constexpr StdArray(StdArray<T, N> const& init) = default;

// move constructor
constexpr StdArray(StdArray<T, N>&& init) = default;

// copy assignment operator
constexpr StdArray& operator=(StdArray<T, N> const& init) = default;

// move assignment operator
constexpr StdArray& operator=(StdArray<T, N>&& init) = default;

// Interoperability with std::array

// copy assignment from an std::array
Expand Down