Skip to content

P1357R1 Traits for [Un]bounded Arrays #2713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,8 @@
\tcode{<functional>} \\ \rowsep
\defnlibxname{cpp_lib_bool_constant} & \tcode{201505L} &
\tcode{<type_traits>} \\ \rowsep
\defnlibxname{cpp_lib_bounded_array_traits} & \tcode{201902L} &
\tcode{<type_traits>} \\ \rowsep
\defnlibxname{cpp_lib_boyer_moore_searcher} & \tcode{201603L} &
\tcode{<functional>} \\ \rowsep
\defnlibxname{cpp_lib_byte} & \tcode{201603L} &
Expand Down
18 changes: 18 additions & 0 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16490,6 +16490,8 @@

template<class T> struct is_signed;
template<class T> struct is_unsigned;
template<class T> struct is_bounded_array;
template<class T> struct is_unbounded_array;

template<class T, class... Args> struct is_constructible;
template<class T> struct is_default_constructible;
Expand Down Expand Up @@ -16734,6 +16736,10 @@
inline constexpr bool is_signed_v = is_signed<T>::value;
template<class T>
inline constexpr bool is_unsigned_v = is_unsigned<T>::value;
template<class T>
inline constexpr bool is_bounded_array_v = is_bounded_array<T>::value;
template<class T>
inline constexpr bool is_unbounded_array_v = is_unbounded_array<T>::value;
template<class T, class... Args>
inline constexpr bool is_constructible_v = is_constructible<T, Args...>::value;
template<class T>
Expand Down Expand Up @@ -17137,6 +17143,18 @@
\tcode{T(0) < T(-1)};
otherwise, \tcode{false} & \\ \rowsep

\indexlibrary{\idxcode{is_bounded_array}}%
\tcode{template<class T>}\br
\tcode{struct is_bounded_array;} &
\tcode{T} is an array type of known bound\iref{dcl.array}
& \\ \rowsep

\indexlibrary{\idxcode{is_unbounded_array}}%
\tcode{template<class T>}\br
\tcode{struct is_unbounded_array;} &
\tcode{T} is an array type of unknown bound\iref{dcl.array}
& \\ \rowsep

\indexlibrary{\idxcode{is_constructible}}%
\tcode{template<class T, class... Args>}\br
\tcode{struct is_constructible;} &
Expand Down