80 class list<T,EIGEN_ALIGNED_ALLOCATOR<T> >
81 :
public list<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T),
82 Eigen::aligned_allocator_indirection<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T)> >
84 typedef list<EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T),
86 EIGEN_STD_LIST_SPECIALIZATION_BODY
88 void resize(size_type new_size)
89 { resize(new_size, T()); }
91 void resize(size_type new_size,
const value_type& x)
93 if (list_base::size() < new_size)
94 list_base::insert(list_base::end(), new_size - list_base::size(), x);
96 while (new_size < list_base::size()) list_base::pop_back();
101 void push_back(
const value_type& x)
102 { list_base::push_back(x); }
103 using list_base::insert;
104 iterator insert(const_iterator position,
const value_type& x)
105 {
return list_base::insert(position,x); }
106 void insert(const_iterator position, size_type new_size,
const value_type& x)
107 { list_base::insert(position, new_size, x); }