Replies: 3 comments 12 replies
-
Hello, thanks for your interest in aligator! Could you elaborate on some of these points? I am not familiar with C++20 beyond concepts. We could get onto it with your help and the help of other developers if we could get a report (and a PR down the line) on e.g. noncompliant code and how to fix the CMake build flags. |
Beta Was this translation helpful? Give feedback.
-
Hello @lbt0116, would you have time to come back to this? I will be converting this to a discussion in the meantime. |
Beta Was this translation helpful? Give feedback.
-
I compiled the version you provided, and indeed the previous ConstraintSetTpl issue has disappeared. However, there is still a problem related to fmt, as shown below: kinodynamics-fwd.hxx:27:5: error:call to non-‘constexpr’ function ‘std::string fmt::v11::format(format_string<T ...>, T&& ...) [with T = {long unsigned int, long unsigned int}; std::string = std::__cxx11::basic_string; format_string<T ...> = fstring<long unsigned int, long unsigned int>]’ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The project currently faces compatibility issues with C++20, such as disallowing template parameters in destructors (e.g., ~ConstraintSetTpl()) and the use of non-constexpr types like std::string in constant expressions, which prevent leveraging modern C++20 features. To address this, I propose ensuring full C++20 compliance by updating problematic code, replacing non-compliant patterns, and adding explicit C++20 support in the build system (e.g., CMake flags). This would enable developers to benefit from C++20's improvements like concepts, ranges, and enhanced constexpr, ensuring the library stays modern and developer-friendly.
Beta Was this translation helpful? Give feedback.
All reactions