Closed cmazakas closed 4 years ago
A warning is generated by the following struct on latest MSVC using /permissive-: https://github.com/boostorg/move/blob/develop/include/boost/move/detail/type_traits.hpp#L895-L905
/permissive-
warning C4624: 'boost::move_detail::alignment_of_hack<T>': destructor was implicitly defined as deleted
The fix is straight-forward:
template <typename T> struct alignment_of_hack { T t1; char c; T t2; alignment_of_hack(); ~alignment_of_hack(); };
Many thanks for the report!
A warning is generated by the following struct on latest MSVC using
/permissive-
: https://github.com/boostorg/move/blob/develop/include/boost/move/detail/type_traits.hpp#L895-L905The fix is straight-forward: