error: use of deleted function
since 0.22.9 otagrum errors with:
/usr/x86_64-w64-mingw32/include/agrum/tools/multidim/utils/operators/completeProjectionRegister4MultiDim_tpl.h:102:49: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’
102 | static std::atomic< bool > first = true;
because of some std::atomic copy ctors:
static std::atomic< bool > first = true;
I'm guessing that this is only allowed in c++20 and otagrum still builds with the default c++17
So either agrum should export it cxx standard properly: https://cmake.org/cmake/help/v3.13/manual/cmake-compile-features.7.html#requiring-language-standards
.. or be compatible with c++17, as the build can be fixed with simply:
static std::atomic< bool > first = {true};
what I dont understand is that it only happens on mingw, not native linux