Changed code to use the new DLIB_ASSERT_HAS_STANDARD_LAYOUT to check
if a type can be swapped rather than the explicit union trick.
Showing
Please
register
or
sign in
to comment
if a type can be swapped rather than the explicit union trick.