Re: [eigen] 3.3-beta2 released!

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


It doesn't compile with MSVC-2010. I managed to understand the error message now. (The error message was for the SFINAE itself, i.e. the failing substitution generated the error message.)
​The fix was to write internal::has_ReturnType using techniques for very old compilers, i.e. "enum" for defining constants, and "template<typename C> before both function definitions.

Still, the original internal::has_ReturnType worked fully correctly in isolation, it only ran into problems when it was used in a sufficiently deeply nested context.

Attachment: sfinae-patch-msvc2010.patch
Description: Binary data



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