Skip to content
New issue

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

User defined constraints #2430

Open
AdiHarif opened this issue Oct 3, 2023 · 1 comment
Open

User defined constraints #2430

AdiHarif opened this issue Oct 3, 2023 · 1 comment

Comments

@AdiHarif
Copy link

AdiHarif commented Oct 3, 2023

Is there a proper way to define custom constraints?

In case there isn't, i think it would be a convenient feature (for now my workaround is defining a functor that returns either 1 or 0 and wrapping it with a macro).

@quentin
Copy link
Member

quentin commented Oct 7, 2023

Your workaround is currently the only way to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants