-
Notifications
You must be signed in to change notification settings - Fork 108
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== to TaggedUnion.hpp #280
Add operator== to TaggedUnion.hpp #280
Conversation
Following @liuzicheng1987 advice (getml#272 (comment)), I had a hard time converting my code in order to have it work in TaggedUnion.hpp. Note sure at all that it is OK?
Looks good to me...the only thing I could think of is to maybe add a test. (Just put it with the JSON tests.) |
I thank you. I'll add tests. But i won't be able to before the end of the year.
|
@liuzicheng1987 |
Hi @ttamttam thanks for adding the tests. Sorry it took me four days to respond, I must habe somehow missed it. The tests look great. I will run them and (if everything goes well) then merge. |
Hi @ttamttam, compilation has failed. I think you need to just rearrange the code a bit: Just put the struct declaration before the declaration of the operator()== and you should be fine. I promise next time I will be faster to review the changes. |
no problem. thanks. won't be able to do that before the week-end. tschuess
4 déc. 2024 09:14:36 Dr. Patrick Urbanke (劉自成) ***@***.***>:
…
Hi @ttamttam[https://github.com/ttamttam],
compilation has failed.
I think you need to just rearrange the code a bit: Just put the struct declaration before the declaration of the operator()== and you should be fine.
I promise next time I will be faster to review the changes.
—
Reply to this email directly, view it on GitHub[#280 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAAM4HBO5CSLZGJHV426FFL2D22WXAVCNFSM6AAAAABSMNHONWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJWGUYDCMZVGA].
You are receiving this because you were mentioned.
[Image de pistage][https://github.com/notifications/beacon/AAAM4HD5PW53HXKBW3HTB2T2D22WXA5CNFSM6AAAAABSMNHONWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUV73BWM.gif]
|
@ttamttam , looks great! Thank you for your contribution! |
Following @liuzicheng1987 advice (#272 (comment)), I had a hard time converting my code in order to have it work in TaggedUnion.hpp.
Note sure at all that it is OK?
Best regards