Re: [eigen] Eigen with C++20

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


Hi Lawrence,

I am not aware of any such work, although we recently had a C++20 related contribution: https://gitlab.com/libeigen/eigen/-/merge_requests/796
Contributions to make Eigen more modern are always welcome, but for now C++20 specific code would have to be under header guards, as we want to guarantee compatibility with C++14.

It might make sense to also ask on our Discord server to find people with shared interests: https://discord.gg/2SkEJGqZjR

Best,
   Rasmus

On Sun, Jan 9, 2022 at 10:54 PM Lawrence Ibarria <lawrence@xxxxxxxxxxxxxxxxxxx> wrote:
Hi, 

We use Eigen heavily in our company and with C++20 now released and in most compilers I was interested in trying to put Eigen inside a c++ module. 
I have tried with Clang, but module support in Clang is rather lacking (as of 13.0.0.). 
With gcc, basic modules compile but Eigen has many issues. A main one is the complexities of merging C headers (intrinsics specifically) with modules, and otherwise I get compiler crashes (with g++-11). 

Has anyone looked yet into modules for Eigen? Any interest ? 

Thank you, 



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