mirror of
https://github.com/boostorg/move.git
synced 2025-07-30 20:37:13 +02:00
Use new <__utility/swap.h> header for modern libc++ versions. Fixes #57
This commit is contained in:
@ -40,6 +40,8 @@
|
||||
//In GCC 4.4 stl_move.h was renamed to move.h
|
||||
#include <bits/move.h>
|
||||
#endif
|
||||
#elif defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 13000)
|
||||
#include <__utility/swap.h> //libc++ refactored <utility> headers in smaller headers
|
||||
#elif defined(_LIBCPP_VERSION)
|
||||
#include <type_traits> //The initial import of libc++ defines std::swap and still there
|
||||
#elif __cplusplus >= 201103L
|
||||
|
Reference in New Issue
Block a user