[eigen] eigen3 msvc 1900

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


Hi,
it seems that patching
Core/util/Macros.h line 310 as follows:
#if _MSC_VER >= 1900
    #define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \
        using Base::operator =;\
  EIGEN_STRONG_INLINE Derived& operator=(const Derived& other) { Base::operator=(other); return *this; }
#else
    #define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \
        using Base::operator =;
#endif 

and Core/MapBase.h line 310 as follows:
Derived& operator=(const MapBase& other)
    {
      return MapBase<Derived, ReadOnlyAccessors>::Base::operator=(other);
    }
   
    using MapBase<Derived, ReadOnlyAccessors>::Base::operator=;
   
lets Eigen3 compile smoothly using msvc 1900 22310.1


Yann





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