Skip to content

Commit 0562f1b

Browse files
committed
P1357R1 Traits for [Un]bounded Arrays
1 parent 6f34b05 commit 0562f1b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

source/support.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,8 @@
559559
\tcode{<functional>} \\ \rowsep
560560
\defnlibxname{cpp_lib_bool_constant} & \tcode{201505L} &
561561
\tcode{<type_traits>} \\ \rowsep
562+
\defnlibxname{cpp_lib_bounded_array_traits} & \tcode{201902L} &
563+
\tcode{<type_traits>} \\ \rowsep
562564
\defnlibxname{cpp_lib_boyer_moore_searcher} & \tcode{201603L} &
563565
\tcode{<functional>} \\ \rowsep
564566
\defnlibxname{cpp_lib_byte} & \tcode{201603L} &

source/utilities.tex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16483,6 +16483,8 @@
1648316483

1648416484
template<class T> struct is_signed;
1648516485
template<class T> struct is_unsigned;
16486+
template<class T> struct is_bounded_array;
16487+
template<class T> struct is_unbounded_array;
1648616488

1648716489
template<class T, class... Args> struct is_constructible;
1648816490
template<class T> struct is_default_constructible;
@@ -16727,6 +16729,10 @@
1672716729
inline constexpr bool is_signed_v = is_signed<T>::value;
1672816730
template<class T>
1672916731
inline constexpr bool is_unsigned_v = is_unsigned<T>::value;
16732+
template<class T>
16733+
inline constexpr bool is_bounded_array_v = is_bounded_array<T>::value;
16734+
template<class T>
16735+
inline constexpr bool is_unbounded_array_v = is_unbounded_array<T>::value;
1673016736
template<class T, class... Args>
1673116737
inline constexpr bool is_constructible_v = is_constructible<T, Args...>::value;
1673216738
template<class T>
@@ -17130,6 +17136,18 @@
1713017136
\tcode{T(0) < T(-1)};
1713117137
otherwise, \tcode{false} & \\ \rowsep
1713217138

17139+
\indexlibrary{\idxcode{is_bounded_array}}%
17140+
\tcode{template<class T>}\br
17141+
\tcode{struct is_bounded_array;} &
17142+
\tcode{T} is an array type of known bound\iref{dcl.array}
17143+
& \\ \rowsep
17144+
17145+
\indexlibrary{\idxcode{is_unbounded_array}}%
17146+
\tcode{template<class T>}\br
17147+
\tcode{struct is_unbounded_array;} &
17148+
\tcode{T} is an array type of unknown bound\iref{dcl.array}
17149+
& \\ \rowsep
17150+
1713317151
\indexlibrary{\idxcode{is_constructible}}%
1713417152
\tcode{template<class T, class... Args>}\br
1713517153
\tcode{struct is_constructible;} &

0 commit comments

Comments
 (0)