Closed MBkkt closed 1 year ago
std::bit_cast
is c++20. velocypack currently is at c++17. We first have to agree on moving to c++20 or you have to make the code conditional.
@maierlars we can just use memcpy
your code uses std::bit_cast
.
@maierlars I didn't know, thanks for mentioning
https://en.cppreference.com/w/cpp/numeric/bit_cast Hmm, shouldn't work for old compiler, memcpy?