Skip to content

Commit d8a29da

Browse files
jensmaurerzygoloid
authored andcommitted
P1357R1 Traits for [Un]bounded Arrays
1 parent 28b949b commit d8a29da

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
@@ -555,6 +555,8 @@
555555
\tcode{<functional>} \\ \rowsep
556556
\defnlibxname{cpp_lib_bool_constant} & \tcode{201505L} &
557557
\tcode{<type_traits>} \\ \rowsep
558+
\defnlibxname{cpp_lib_bounded_array_traits} & \tcode{201902L} &
559+
\tcode{<type_traits>} \\ \rowsep
558560
\defnlibxname{cpp_lib_boyer_moore_searcher} & \tcode{201603L} &
559561
\tcode{<functional>} \\ \rowsep
560562
\defnlibxname{cpp_lib_byte} & \tcode{201603L} &

source/utilities.tex

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

1649116491
template<class T> struct is_signed;
1649216492
template<class T> struct is_unsigned;
16493+
template<class T> struct is_bounded_array;
16494+
template<class T> struct is_unbounded_array;
1649316495

1649416496
template<class T, class... Args> struct is_constructible;
1649516497
template<class T> struct is_default_constructible;
@@ -16734,6 +16736,10 @@
1673416736
inline constexpr bool is_signed_v = is_signed<T>::value;
1673516737
template<class T>
1673616738
inline constexpr bool is_unsigned_v = is_unsigned<T>::value;
16739+
template<class T>
16740+
inline constexpr bool is_bounded_array_v = is_bounded_array<T>::value;
16741+
template<class T>
16742+
inline constexpr bool is_unbounded_array_v = is_unbounded_array<T>::value;
1673716743
template<class T, class... Args>
1673816744
inline constexpr bool is_constructible_v = is_constructible<T, Args...>::value;
1673916745
template<class T>
@@ -17137,6 +17143,18 @@
1713717143
\tcode{T(0) < T(-1)};
1713817144
otherwise, \tcode{false} & \\ \rowsep
1713917145

17146+
\indexlibrary{\idxcode{is_bounded_array}}%
17147+
\tcode{template<class T>}\br
17148+
\tcode{struct is_bounded_array;} &
17149+
\tcode{T} is an array type of known bound\iref{dcl.array}
17150+
& \\ \rowsep
17151+
17152+
\indexlibrary{\idxcode{is_unbounded_array}}%
17153+
\tcode{template<class T>}\br
17154+
\tcode{struct is_unbounded_array;} &
17155+
\tcode{T} is an array type of unknown bound\iref{dcl.array}
17156+
& \\ \rowsep
17157+
1714017158
\indexlibrary{\idxcode{is_constructible}}%
1714117159
\tcode{template<class T, class... Args>}\br
1714217160
\tcode{struct is_constructible;} &

0 commit comments

Comments
 (0)