forked from boostorg/move
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
|
//In GCC 4.4 stl_move.h was renamed to move.h
|
||||||
#include <bits/move.h>
|
#include <bits/move.h>
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 13000)
|
||||||
|
#include <__utility/swap.h> //libc++ refactored <utility> headers in smaller headers
|
||||||
#elif defined(_LIBCPP_VERSION)
|
#elif defined(_LIBCPP_VERSION)
|
||||||
#include <type_traits> //The initial import of libc++ defines std::swap and still there
|
#include <type_traits> //The initial import of libc++ defines std::swap and still there
|
||||||
#elif __cplusplus >= 201103L
|
#elif __cplusplus >= 201103L
|
||||||
|
Reference in New Issue
Block a user