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

add operator operator TriBool() for Literal #57

Closed
Clueliss opened this issue Aug 12, 2022 · 1 comment
Closed

add operator operator TriBool() for Literal #57

Clueliss opened this issue Aug 12, 2022 · 1 comment
Assignees

Comments

@Clueliss
Copy link
Collaborator

Clueliss commented Aug 12, 2022

Literal would be more convenient to use if it had an operator TriStateBool() that returns the ebv.

Proposed change:

- Literal Literal::effective_boolean_value() const;
+ TriBool Literal::effective_boolean_value() const;
+ Literal::operator TriBool() const;
+ Literal Literal::into_effective_boolean_value() const;
@Clueliss Clueliss self-assigned this Aug 12, 2022
@Clueliss Clueliss changed the title operator bool() or operator TriStateBool() for Literal add operator operator TriBool() for Literal Aug 15, 2022
@Clueliss
Copy link
Collaborator Author

Fixed by #85

@bigerl bigerl closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants