![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qcompilerdetection.h>#include <QtCore/qtypes.h>#include <QtCore/qcontainerfwd.h>#include <array>#include <cstddef>#include <cassert>#include <initializer_list>#include <QtCore/q20iterator.h>#include <QtCore/q20memory.h>#include <QtCore/q20type_traits.h>Go to the source code of this file.
Namespaces | |
| namespace | q20 |
| namespace | QSpanPrivate |
| namespace | QSpanPrivate::AdlTester |
Macros | |
| #define | MAKE_ADL_TEST(what) |
| #define | QT_ONLY_IF_DYNAMIC_SPAN(DECL) |
Typedefs | |
| template<typename T> | |
| using | QSpanPrivate::is_qspan = is_qspan_helper<q20::remove_cvref_t<T>> |
| template<typename T> | |
| using | QSpanPrivate::is_std_span = is_std_span_helper<q20::remove_cvref_t<T>> |
| template<typename T> | |
| using | QSpanPrivate::is_std_array = is_std_array_helper<q20::remove_cvref_t<T>> |
| template<typename From, typename To> | |
| using | QSpanPrivate::is_qualification_conversion |
| template<typename Range> | |
| using | QSpanPrivate::iterator_t = decltype(QSpanPrivate::adl_begin(std::declval<Range&>())) |
| template<typename Range> | |
| using | QSpanPrivate::range_reference_t = q20::iter_reference_t<QSpanPrivate::iterator_t<Range>> |
Functions | |
| template<typename From, typename To> | |
| std::conditional_t< std::is_const_v< From >, const To &, To & > | QSpanPrivate::const_propagated (To &inin) |
| template<typename Range> | |
| AdlTester::begin_result< Range > | QSpanPrivate::adl_begin (Range &&rr) |
| template<typename Range> | |
| AdlTester::data_result< Range > | QSpanPrivate::adl_data (Range &&rr) |
| template<typename Range> | |
| AdlTester::size_result< Range > | QSpanPrivate::adl_size (Range &&rr) |
| template<class It, class EndOrSize> | |
| QSpan (It, EndOrSize) -> QSpan< std::remove_reference_t< q20::iter_reference_t< It > > > | |
| template<class T, std::size_t N> | |
| QSpan (T(&)[N]) -> QSpan< T, N > | |
| template<class T, std::size_t N> | |
| QSpan (std::array< T, N > &) -> QSpan< T, N > | |
| template<class T, std::size_t N> | |
| QSpan (const std::array< T, N > &) -> QSpan< const T, N > | |
| template<class R> | |
| QSpan (R &&) -> QSpan< std::remove_reference_t< QSpanPrivate::range_reference_t< R > > > | |
Variables | |
| constexpr auto | q20::dynamic_extent = std::size_t(-1) |
| template<typename From, typename To> | |
| constexpr bool | QSpanPrivate::is_qualification_conversion_v = is_qualification_conversion<From, To>::value |
| #define MAKE_ADL_TEST | ( | what | ) |
| #define QT_ONLY_IF_DYNAMIC_SPAN | ( | DECL | ) |
| QSpan | ( | const std::array< T, N > & | ) | -> QSpan< const T, N > |
| QSpan | ( | It | , |
| EndOrSize | ) -> QSpan< std::remove_reference_t< q20::iter_reference_t< It > > > |
| QSpan | ( | R && | ) | -> QSpan< std::remove_reference_t< QSpanPrivate::range_reference_t< R > > > |
| QSpan | ( | std::array< T, N > & | ) | -> QSpan< T, N > |
| QSpan | ( | T(&) | [N] | ) | -> QSpan< T, N > |