GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing eel.is — [array.creation]

23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.3 Class template array [array]

23.3.3.6 Array creation functions [array.creation]

🔗
template<class T, size_t N> constexpr array<remove_cv_t<T>, N> to_array(T (&a)[N]);
1
#
Mandates: is_array_v<T> is false and is_constructible_v<remove_cv_t<T>, T&> is true.
2
#
Preconditions: T meets the Cpp17CopyConstructible requirements.
3
#
Returns: {{ a[0], …, a[N - 1] }}.
🔗
template<class T, size_t N> constexpr array<remove_cv_t<T>, N> to_array(T (&&a)[N]);
4
#
Mandates: is_array_v<T> is false and is_constructible_v<remove_cv_t<T>, T> is true.
5
#
Preconditions: T meets the Cpp17MoveConstructible requirements.
6
#
Returns: {{ std​::​move(a[0]), …, std​::​move(a[N - 1]) }}.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.