mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 13:13:55 +00:00
Update documentation
This commit is contained in:
parent
edc0d935c0
commit
8977da6f50
@ -48,7 +48,7 @@ constexpr span<const T, N>
|
|||||||
make_span(const std::array<T, N>& a) noexcept;
|
make_span(const std::array<T, N>& a) noexcept;
|
||||||
|
|
||||||
template<class R>
|
template<class R>
|
||||||
span<std::remove_pointer_t<decltype(std::declval<R&>().data())> >
|
span<remove_pointer_t<iterator_t<R> > >
|
||||||
make_span(R&& r);
|
make_span(R&& r);
|
||||||
|
|
||||||
} /* boost */
|
} /* boost */
|
||||||
@ -70,9 +70,9 @@ make_span(std::array<T, N>& a);`]
|
|||||||
make_span(const std::array<T, N>& a);`]
|
make_span(const std::array<T, N>& a);`]
|
||||||
[Returns `span<const T, N>(a)`.]]
|
[Returns `span<const T, N>(a)`.]]
|
||||||
[[`template<class R>
|
[[`template<class R>
|
||||||
span<std::remove_pointer_t<decltype(std::declval<R&>().data())> >
|
span<remove_pointer_t<iterator_t<R> > >
|
||||||
make_span(R&& r);`]
|
make_span(R&& r);`]
|
||||||
[Returns `span<>(std::forward<R>(r))`.]]]
|
[Returns `span<remove_pointer_t<iterator_t<R> > >(std::forward<R>(r))`.]]]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ template<class T, std::size_t N>
|
|||||||
span(const std::array<T, N>&) -> span<const T, N>;
|
span(const std::array<T, N>&) -> span<const T, N>;
|
||||||
|
|
||||||
template<class R>
|
template<class R>
|
||||||
span(R&&) -> span<std::remove_pointer_t<decltype(std::declval<R&>().data())> >;
|
span(R&&) -> span<remove_pointer_t<iterator_t<R> > >;
|
||||||
|
|
||||||
template<class T, std::size_t E>
|
template<class T, std::size_t E>
|
||||||
span<const std::byte, E == dynamic_extent ? dynamic_extent : sizeof(T) * E>
|
span<const std::byte, E == dynamic_extent ? dynamic_extent : sizeof(T) * E>
|
||||||
@ -228,7 +228,7 @@ constexpr span(R&& r);`]
|
|||||||
[`remove_cvref_t<R>` is not a specialization of `array`,]
|
[`remove_cvref_t<R>` is not a specialization of `array`,]
|
||||||
[`is_array_v<remove_cvref_t<R>>` is `false`,]
|
[`is_array_v<remove_cvref_t<R>>` is `false`,]
|
||||||
[`r.data()` is well-formed and
|
[`r.data()` is well-formed and
|
||||||
`is_convertible_v<remove_pointer_t<decltype(declval<R&>().data())>(*)[],
|
`is_convertible_v<remove_pointer_t<iterator_t<R> >(*)[],
|
||||||
T(*)[]>` is `true`, and]
|
T(*)[]>` is `true`, and]
|
||||||
[`r.size()` is well-formed and
|
[`r.size()` is well-formed and
|
||||||
`is_convertible_v<decltype(declval<R&>().size()), size_t>` is `true`.]]]]
|
`is_convertible_v<decltype(declval<R&>().size()), size_t>` is `true`.]]]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user