Add macro _LIBCPP_CONSTEXPR_AFTER_CXX11 for functions that have been marked constexpr post C++11

llvm-svn: 186323
This commit is contained in:
Marshall Clow 2013-07-15 14:57:19 +00:00
parent fa21c0724c
commit f20d2672e2

View File

@ -518,6 +518,13 @@ template <unsigned> struct __static_assert_check {};
# endif
#endif // _LIBCPP_STD_VER
#if _LIBCPP_STD_VER <= 11
#define _LIBCPP_CONSTEXPR_AFTER_CXX11
#else
#define _LIBCPP_CONSTEXPR_AFTER_CXX11 constexpr
#endif
#ifdef _LIBCPP_DEBUG2
# include <__debug>
#else