Closed mhoemmen closed 3 years ago
Line 82 of const_wrapped_accessor_policy.hpp uses is_nothrow_copy_assignable_v<CP>. This was added in C++17. If we aim for mdarray to build with earlier versions of C++, we could work around by using is_nothrow_copy_assignable<CP>::value.
const_wrapped_accessor_policy.hpp
is_nothrow_copy_assignable_v<CP>
is_nothrow_copy_assignable<CP>::value
Thanks to Piotr Luszczek for pointing this out!
I'll work on this tomorrow.
Line 82 of
const_wrapped_accessor_policy.hpp
usesis_nothrow_copy_assignable_v<CP>
. This was added in C++17. If we aim for mdarray to build with earlier versions of C++, we could work around by usingis_nothrow_copy_assignable<CP>::value
.Thanks to Piotr Luszczek for pointing this out!