SciQLop / CDFpp

A modern C++ header only cdf library with Python bindings
MIT License
9 stars 4 forks source link

This is just wrong #3

Closed jeandet closed 2 years ago

jeandet commented 4 years ago

https://github.com/SciQLop/CDFpp/blob/7e180694a7b27f0cb61b531058c42d5bdeafc689/include/cdf-file.hpp#L40-L42

if try_emplace fails data is already moved.