Skip to content
Snippets Groups Projects

AthContainers: Some updates to DataVector.

Merged Scott Snyder requested to merge ssnyder/athena:dv.AthContainers-20200818 into master

Some updates to DataVector, to be more consistent with recent standards.

  • Declare some methods noexcept, where possible. (Some methods that are noexcept in std::vector do in fact throw exceptions with DataVector.)
  • Declare empty as [[nodiscard]] as well as noexcept
  • Have emplace_back return the pointer being pushed. For DataVector, we do the same thing for push_back,

Merge request reports

Pipeline #1876349 failed

Pipeline failed for cffe2c37 on ssnyder:dv.AthContainers-20200818

Approval is optional

Merged by Edward MoyseEdward Moyse 4 years ago (Aug 20, 2020 1:31pm UTC)

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading