hdf5
hdf5 copied to clipboard
WIP: Modern C++ dtor declarations
I'll need someone's help to actually implement the copy assignment operators correctly.
@byrnHDF would you know how to implement the copy assignment operators in the second commit? I figure they should probably call close() like the dtor does...
@byrnHDF would you know how to implement the copy assignment operators in the second commit? I figure they should probably call close() like the dtor does...
I'm not up-to-date on the latest conventions for these types of functions.
@byrnHDF who's the HDF5 C++ expert that I can ping?
@gnuoyd @derobins do you know an HDF5 C++ expert that I can ping?
Not calling myself an expert, but I'm reviewing this PR.
Binh-Minh
From: Sean McBride @.> Sent: Friday, July 8, 2022 1:32 PM To: HDFGroup/hdf5 @.> Cc: Binh-Minh Ribler @.>; Review requested @.> Subject: Re: [HDFGroup/hdf5] WIP: Modern C++ dtor declarations (PR #1830)
@gnuoydhttps://github.com/gnuoyd @derobinshttps://github.com/derobins do you know an HDF5 C++ expert that I can ping?
— Reply to this email directly, view it on GitHubhttps://github.com/HDFGroup/hdf5/pull/1830#issuecomment-1179218793, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJN634G6FV36DAKRC4DHVRTVTBQZVANCNFSM52DRST6A. You are receiving this because your review was requested.Message ID: @.***>
@gnuoyd @derobins do you know an HDF5 C++ expert that I can ping?
I can help, but I'm a bit underwater for the immediate future. I'll jump in as soon as I free up.
Looks sensible, but are there tests that exercise the changes?
I didn't add any new tests, if that's what you're asking. I imagine the dtors are well-exercised by existing tests. As for the copy assignment operators, I'm not sure.
@bmribler not sure why you just tagged this as "approved"... it's a WIP and in fact it appears to be conflicted now...
OK, I removed the commit that was WIP, leaving only the 1 commit that modernizes the dtors.
This is now ready for review & merge IMHO.
The PR didn't run tests directly, but the commit earlier today passed all tests except the clang_format check which failed due to 2 extra blank lines, which were removed in the subsequent commit.
@bmribler not sure why you just tagged this as "approved"... it's a WIP and in fact it appears to be conflicted now...
My mistake, @seanm
I'll need someone's help to actually implement the copy assignment operators correctly.
@seanm, I'm sorry, I can do it after this modernizes the dtors PR is merged.
@bmribler @byrnHDF friendly ping...
@seanm you meant for the copy assignment operators?
@seanm you meant for the copy assignment operators?
No, those were moved to https://github.com/HDFGroup/hdf5/pull/3306
This PR is ready to merge IMHO.