1 #ifndef FWCore_Utilities_VecArray_h 2 #define FWCore_Utilities_VecArray_h 27 template <
typename T,
unsigned int N>
80 throw std::length_error(
"push_back on already-full VecArray (N="+std::to_string(
N)+
")");
91 template <
typename ...Args>
94 throw std::length_error(
"emplace_back on already-full VecArray (N="+std::to_string(
N)+
")");
99 template <
typename ...Args>
101 data_[
size_] =
T(std::forward<Args>(
args)...);
112 throw std::length_error(
"Requesting size "+std::to_string(size)+
" while maximum allowed is "+std::to_string(
N));
std::ptrdiff_t difference_type
std::pair< int, int > value_type
const_reference back() const
const_iterator begin() const noexcept
void resize(unsigned int size)
const value_type * const_pointer
const_iterator cend() const noexcept
const value_type * const_iterator
void swap(VecArray &other) noexcept(noexcept(std::swap(data_, other.data_))&& noexcept(std::swap(size_, other.size_)))
void emplace_back(Args &&...args)
const_iterator end() const noexcept
void push_back(const T &value)
const value_type & const_reference
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
reference operator[](size_type pos)
const_iterator cbegin() const noexcept
constexpr size_type size() const noexcept
const_pointer data() const
const_reference operator[](size_type pos) const
void emplace_back_unchecked(Args &&...args)
constexpr bool empty() const noexcept
void push_back_unchecked(const T &value)
const_reference front() const
static constexpr size_type capacity() noexcept
iterator begin() noexcept