We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template<class F> concept Fitness = OrderedArithmeticType<F> && (std::ranges::sized_range<F> || (requires { requires F(-1) < F(0); }));
should be changed with:
template<class F> concept Fitness = OrderedArithmeticType<F> && requires { requires F{-1} < F{0}; };
This, in turn, requires constexpr constructor:
constexpr
constexpr fitnd(std::initializer_list<double>);
C++20 supports this feature but a very recent version of the compiler is required.
The new definition is simpler and more powerful (extending ordering check to multi dimensional fitness types).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
should be changed with:
This, in turn, requires
constexpr
constructor:C++20 supports this feature but a very recent version of the compiler is required.
The new definition is simpler and more powerful (extending ordering check to multi dimensional fitness types).
The text was updated successfully, but these errors were encountered: