Added is_final intrinsic for msvc 2013 and later

This commit is contained in:
Kohei Takahashi
2018-02-02 12:12:27 +09:00
committed by GitHub
parent c8c95f18ca
commit 29c6fc7aa2

View File

@ -135,6 +135,9 @@
# define BOOST_IS_NOTHROW_MOVE_ASSIGN(T) (__is_nothrow_assignable(T&, T&&))
# define BOOST_IS_NOTHROW_MOVE_CONSTRUCT(T) (__is_nothrow_constructible(T, T&&))
#endif
#if _MSC_VER >= 1800
# define BOOST_IS_FINAL(T) __is_final(T)
#endif
# define BOOST_HAS_TYPE_TRAITS_INTRINSICS
#endif