diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:54 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:54 +0000 |
| commit | 4a2db4d30e1653093d4d8b06e8221e2f8b723507 (patch) | |
| tree | 941a9d805eb2afbba58f445381819ba0e1dc355f /include/system_error | |
| parent | cb08bb04c85c6dcd3d951725505317c31eeff323 (diff) | |
Notes
Diffstat (limited to 'include/system_error')
| -rw-r--r-- | include/system_error | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/system_error b/include/system_error index 58040639d3ec..3257ef9569fb 100644 --- a/include/system_error +++ b/include/system_error @@ -240,7 +240,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD // is_error_code_enum template <class _Tp> -struct _LIBCPP_TYPE_VIS_ONLY is_error_code_enum +struct _LIBCPP_TEMPLATE_VIS is_error_code_enum : public false_type {}; #if _LIBCPP_STD_VER > 14 @@ -251,7 +251,7 @@ constexpr size_t is_error_code_enum_v = is_error_code_enum<_Tp>::value; // is_error_condition_enum template <class _Tp> -struct _LIBCPP_TYPE_VIS_ONLY is_error_condition_enum +struct _LIBCPP_TEMPLATE_VIS is_error_condition_enum : public false_type {}; #if _LIBCPP_STD_VER > 14 @@ -363,12 +363,12 @@ _LIBCPP_DECLARE_STRONG_ENUM(errc) _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(errc) template <> -struct _LIBCPP_TYPE_VIS_ONLY is_error_condition_enum<errc> +struct _LIBCPP_TEMPLATE_VIS is_error_condition_enum<errc> : true_type { }; #ifdef _LIBCPP_HAS_NO_STRONG_ENUMS template <> -struct _LIBCPP_TYPE_VIS_ONLY is_error_condition_enum<errc::__lx> +struct _LIBCPP_TEMPLATE_VIS is_error_condition_enum<errc::__lx> : true_type { }; #endif @@ -621,7 +621,7 @@ operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT {return !(__x == __y);} template <> -struct _LIBCPP_TYPE_VIS_ONLY hash<error_code> +struct _LIBCPP_TEMPLATE_VIS hash<error_code> : public unary_function<error_code, size_t> { _LIBCPP_INLINE_VISIBILITY @@ -632,7 +632,7 @@ struct _LIBCPP_TYPE_VIS_ONLY hash<error_code> }; template <> -struct _LIBCPP_TYPE_VIS_ONLY hash<error_condition> +struct _LIBCPP_TEMPLATE_VIS hash<error_condition> : public unary_function<error_condition, size_t> { _LIBCPP_INLINE_VISIBILITY |
