72 class list<T,EIGEN_ALIGNED_ALLOCATOR<T> >
73 :
public list<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T),
74 Eigen::aligned_allocator_indirection<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T)> >
76 typedef list<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T),
78 EIGEN_STD_LIST_SPECIALIZATION_BODY
80 void resize(size_type new_size)
81 { resize(new_size, T()); }
83 void resize(size_type new_size,
const value_type& x)
85 if (list_base::size() < new_size)
86 list_base::insert(list_base::end(), new_size - list_base::size(), x);
88 while (new_size < list_base::size()) list_base::pop_back();
93 void push_back(
const value_type& x)
94 { list_base::push_back(x); }
95 using list_base::insert;
96 iterator insert(const_iterator position,
const value_type& x)
97 {
return list_base::insert(position,x); }
98 void insert(const_iterator position, size_type new_size,
const value_type& x)
99 { list_base::insert(position, new_size, x); }