oops EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION now perfroms full specialization,

no need for the typename keywords
This commit is contained in:
Gael Guennebaud 2011-08-22 10:48:04 +02:00
parent b85c89c313
commit b3f5fbbd9a

View File

@ -43,9 +43,9 @@ namespace std \
typedef vector<__VA_ARGS__, EIGEN_ALIGNED_ALLOCATOR<__VA_ARGS__> > vector_base; \
public: \
typedef __VA_ARGS__ value_type; \
typedef typename vector_base::allocator_type allocator_type; \
typedef typename vector_base::size_type size_type; \
typedef typename vector_base::iterator iterator; \
typedef vector_base::allocator_type allocator_type; \
typedef vector_base::size_type size_type; \
typedef vector_base::iterator iterator; \
explicit vector(const allocator_type& a = allocator_type()) : vector_base(a) {} \
template<typename InputIterator> \
vector(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : vector_base(first, last, a) {} \