diff options
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r-- | libcxx/include/exception | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception index 772ada4eadc..f02b10ff163 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -150,7 +150,7 @@ make_exception_ptr(_E __e) { return current_exception(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS } // nested_exception @@ -178,17 +178,17 @@ struct __nested }; template <class _Tp> -void +void #ifdef _LIBCPP_MOVE throw_with_nested /*[[noreturn]]*/ (_Tp&& __t, typename enable_if< is_class<typename remove_reference<_Tp>::type>::value && !is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value >::type* = 0) -#else +#else // _LIBCPP_MOVE throw_with_nested (_Tp& __t, typename enable_if< is_class<_Tp>::value && !is_base_of<nested_exception, _Tp>::value >::type* = 0) -#endif +#endif // _LIBCPP_MOVE { #ifndef _LIBCPP_NO_EXCEPTIONS throw __nested<typename remove_reference<_Tp>::type>(_STD::forward<_Tp>(__t)); @@ -196,17 +196,17 @@ throw_with_nested (_Tp& __t, typename enable_if< } template <class _Tp> -void +void #ifdef _LIBCPP_MOVE throw_with_nested /*[[noreturn]]*/ (_Tp&& __t, typename enable_if< !is_class<typename remove_reference<_Tp>::type>::value || is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value >::type* = 0) -#else +#else // _LIBCPP_MOVE throw_with_nested (_Tp& __t, typename enable_if< !is_class<_Tp>::value || is_base_of<nested_exception, _Tp>::value >::type* = 0) -#endif +#endif // _LIBCPP_MOVE { #ifndef _LIBCPP_NO_EXCEPTIONS throw _STD::forward<_Tp>(__t); |