File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 712
712
\indexlibraryglobal {error_code}%
713
713
\indexlibraryglobal {error_condition}%
714
714
\indexlibraryglobal {system_error}%
715
- \indexlibraryglobal {is_error_code_enum}%
716
- \indexlibraryglobal {is_error_condition_enum}%
717
- \indexlibraryglobal {errc}%
718
715
\begin {codeblock }
719
716
#include <compare> // see \ref {compare.syn }
720
717
728
725
class system_error;
729
726
730
727
template<class T>
731
- struct is_error_code_enum : public false_type {};
728
+ struct @ \libglobal { is_error_code_enum}@ : public false_type {};
732
729
733
730
template<class T>
734
- struct is_error_condition_enum : public false_type {};
731
+ struct @ \libglobal { is_error_condition_enum}@ : public false_type {};
735
732
736
- enum class errc { // freestanding
733
+ enum class @ \libglobal { errc}@ { // freestanding
737
734
address_family_not_supported, // \tcode {EAFNOSUPPORT}
738
735
address_in_use, // \tcode {EADDRINUSE}
739
736
address_not_available, // \tcode {EADDRNOTAVAIL}
836
833
837
834
// \ref {syserr }, system error support
838
835
template<class T>
839
- constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
836
+ constexpr bool @ \libglobal { is_error_code_enum_v}@ = is_error_code_enum<T>::value;
840
837
template<class T>
841
838
constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
842
839
}
Original file line number Diff line number Diff line change 160
160
template<class T, T v> struct integral_constant;
161
161
162
162
template<bool B>
163
- using bool_constant = integral_constant<bool, B>;
164
- using true_type = bool_constant<true>;
165
- using false_type = bool_constant<false>;
163
+ using @ \libglobal { bool_constant}@ = integral_constant<bool, B>;
164
+ using @ \libglobal { true_type}@ = bool_constant<true>;
165
+ using @ \libglobal { false_type}@ = bool_constant<false>;
166
166
167
167
// \ref {meta.unary.cat }, primary type categories
168
168
template<class T> struct is_void;
595
595
\indexlibrarymember {value_type}{integral_constant}%
596
596
\begin {codeblock }
597
597
namespace std {
598
- template<class T, T v> struct integral_constant {
598
+ template<class T, T v> struct @ \libglobal { integral_constant}@ {
599
599
static constexpr T value = v;
600
600
601
601
using value_type = T;
607
607
}
608
608
\end {codeblock }
609
609
610
- \indexlibraryglobal {integral_constant}%
611
610
\indexlibraryglobal {bool_constant}%
612
611
\indexlibraryglobal {true_type}%
613
612
\indexlibraryglobal {false_type}%
You can’t perform that action at this time.
0 commit comments