Re: [eigen] [patch] Missing function in StdVector

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


oops, and here's the diff

Index: Eigen/StdVector
===================================================================
--- Eigen/StdVector     (révision 964038)
+++ Eigen/StdVector     (copie de travail)
@@ -105,6 +105,8 @@
   }
   void push_back(const value_type& x)
   { vector_base::push_back(x); }
+  template<class _Iter> void insert(const_iterator position, _Iter
first, _Iter last)
+  { return vector_base::insert(position, first, last); }
   iterator insert(iterator position, const value_type& x)
   { return vector_base::insert(position,x); }
   iterator insert(iterator position, size_type new_size, const value_type& x)

2009/5/6 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Thanks, commited (please check the diff below)
>
> By the way, why does StdVector have no copyright/license?
> I know other global headers have none, but that's only because they're
> trivial files.
> Actually, Core is no longer trivial so it should also have a license.
>
> For StdVector I'm not sure who owns a copyright? So please do it...
>
> Benoit
>
> 2009/5/6 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
>> Nothing major, just required
>>
>> template<class _Iter> void insert(const_iterator position, _Iter
>> first, _Iter last)
>>
>> for the unit tests to compile under windows.
>>
>> Regards,
>> Hauke
>>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/