-
Notifications
You must be signed in to change notification settings - Fork 158
Fix : Add support for std::byte as Dataset type for c++17 and above #698
Conversation
Codecov Report
@@ Coverage Diff @@
## master #698 +/- ##
=======================================
Coverage 81.37% 81.37%
=======================================
Files 67 67
Lines 4248 4248
=======================================
Hits 3457 3457
Misses 791 791
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
1uc
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.
Many thanks!
| DATASET_NAME, {5}, create_datatype<typename details::inspector<TestType>::base_type>()); | ||
|
|
||
| // Write into the initial part of the dataset | ||
| dataset.write(t1); |
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.
Despite the above tests not doing it, it might be nice to also check:
auto dataset2 = file.createDataSet(DATASET_NAME2, t1);
We could leave this for when we refactor the whole file to be more DRY.
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.
ok, I leave this for the refactoring later.
Description
Add support for std::byte as Dataset type when using c++17 and above
Fixes #480
How to test this?
cmake -DCMAKE_CXX_STANDARD=17 .. make -j8 make testTest System