Re: [eigen] Should we require c++11 for Eigen tensor |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Should we require c++11 for Eigen tensor*From*: Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx>*Date*: Fri, 18 Oct 2019 19:03:10 +0200*Dkim-signature*: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1571418190; i=@uni-bremen.de; bh=axLTygbnrjR8WFqLA5rg7/pqVFepglzVRKBIqrmqmbI=; h=To:References:From:Date:In-Reply-To; b=OV9WzB8AqvFE+nkdyUp1S3NLMeai2959ArV1E9Dkax4tw6GYo0EvPTz0p05h0WaTP DKP7w1R75RqJqd6NKSVimPEBAJmJspwzR6I1ZGiaevXkoQUcxPW3dYGF4suhIh91zx Nj3BUscJatKS8IHbYIliyi3dqCORM9YPV//xpY5fml+wvulc0fSok9GVwwa9wM6VPA mfoR1y1VvWXsdK+ofUEKWUC3SiwFKL/qy5QlpIo8VmWn1FnOYFlx+MyQzvTam4sq6s AdunycXDy/op8SzPXQI85Wmmmmpyn7K7uiOlZEDxR5ZweB4lzWQavkbQs/zFQQboGX pSJAnkIFk/w0Q==

Hi!

Cheers, Christoph On 18/10/2019 18.46, Rasmus Munk Larsen wrote:

Dear Eigen tensor users, Today, various c++11 features are in use in many parts of Eigen tensor, while other parts compile with c++03 without warnings. This division is rather arbitrary and primarily dictated by what parts of the code gets compiled for the subset of tests that are enabled in c++03 mode: https://bitbucket.org/eigen/eigen/src/default/unsupported/test/CMakeLists.txt#lines-112 A larger set of tests covering the majority of the code base are only compiled in c++11 mode: https://bitbucket.org/eigen/eigen/src/c4368f48fef3737ef5a48604cfc63ce946b68616/unsupported/test/CMakeLists.txt#lines-179 I don't think a user can realistically use Eigen tensor and avoid the c++11 parts of the code. Therefore I would propose that we stop pretending that Eigen tensor supports c++03 and simply guard all the code with EIGEN_HAS_CXX11 or similar. This will then allow us to start cleaning up the code. Please let me know if you have any objections to this. Best, Rasmus

-- Dr.-Ing. Christoph Hertzberg Besuchsadresse der Nebengeschäftsstelle: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359 Bremen, Germany Postadresse der Hauptgeschäftsstelle Standort Bremen: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 1 28359 Bremen, Germany Tel.: +49 421 178 45-4021 Zentrale: +49 421 178 45-0 E-Mail: christoph.hertzberg@xxxxxxx Weitere Informationen: http://www.dfki.de/robotik ------------------------------------------------------------- Deutsches Forschungszentrum für Künstliche Intelligenz GmbH Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany Geschäftsführung: Prof. Dr. Jana Koehler (Vorsitzende) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 -------------------------------------------------------------

**Follow-Ups**:**[eigen] New EDSL***From:*Rob Conde

**Re: [eigen] Should we require c++11 for Eigen tensor***From:*Gael Guennebaud

**Re: [eigen] Should we require c++11 for Eigen tensor***From:*William Tambellini

**References**:**[eigen] Should we require c++11 for Eigen tensor***From:*Rasmus Munk Larsen

**Messages sorted by:**[ date | thread ]- Prev by Date:
**[eigen] Should we require c++11 for Eigen tensor** - Next by Date:
**[eigen] New EDSL** - Previous by thread:
**[eigen] Should we require c++11 for Eigen tensor** - Next by thread:
**[eigen] New EDSL**

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