-
Notifications
You must be signed in to change notification settings - Fork 70
feat: support operator== for Literal/Manifest/ManifestList #147
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
Conversation
mapleFU
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use
class T {
public:
bool operator==(const T&) const = default;? ( Literal can also add bool operator== default )
Of course yes,but there is already have operator<=>, so.. |
|
I mean: and |
ok。。 that will be much more simple |
Xuanwo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @dongxiao1198 for working on this
add operator== for manifest and manifest list