scipopt / soplex

Sequential object-oriented simPlex
Other
59 stars 18 forks source link

Support for c++20 #15

Closed salome-eriksson closed 1 year ago

salome-eriksson commented 1 year ago

Currently SoPlex cannot be used as a library when compiling with c++20, since adding the template parameter to the constructor of a templated class is no longer permitted (https://cplusplus.github.io/CWG/issues/2237.html), but SoPlex uses this in several header files. This pull request removes redundant template parameters from the header files.

leoneifler commented 1 year ago

thanks for creating this. I merged it and the changes will be mirrored here soon (tomorrow at the latest). We will also create a job in our continuous integration to test and maintain compatibility with cpp20 compilers