HighFive icon indicating copy to clipboard operation
HighFive copied to clipboard

HighFive assumes containers have a default ctor.

Open 1uc opened this issue 1 year ago • 0 comments

HighFive needlessly assumes that every container has a default constructor. It happens here: https://github.com/BlueBrain/HighFive/blob/94ede4f756f2d1ba77296f0f25d22142e8567e0e/include/highfive/bits/H5Slice_traits_misc.hpp#L161-L162 and here (resize isn't safe to use): https://github.com/BlueBrain/HighFive/blob/94ede4f756f2d1ba77296f0f25d22142e8567e0e/include/highfive/bits/H5Inspector_misc.hpp#L326

1uc avatar Feb 19 '24 13:02 1uc