(287234704b57e171c786ba8df0b93c49edb903c5)
#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.
|
template<typename From, typename To> |
std::conditional_t< std::is_const_v< From >, const To &, To & > | QSpanPrivate::const_propagated (To &in) |
|
template<typename Range> |
AdlTester::begin_result< Range > | QSpanPrivate::adl_begin (Range &&r) |
|
template<typename Range> |
AdlTester::data_result< Range > | QSpanPrivate::adl_data (Range &&r) |
|
template<typename Range> |
AdlTester::size_result< Range > | QSpanPrivate::adl_size (Range &&r) |
|
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 > > > |
|
◆ MAKE_ADL_TEST
#define MAKE_ADL_TEST |
( |
| what | ) |
|
Value:
template <typename T> using what ## _result = decltype( what (std::declval<T&&>())); \
Definition at line 85 of file qspan.h.
◆ QT_ONLY_IF_DYNAMIC_SPAN
#define QT_ONLY_IF_DYNAMIC_SPAN |
( |
| DECL | ) |
|
Value: template <size_t M = E, typename = std::enable_if_t<M == q20::dynamic_extent>> DECL
Definition at line 442 of file qspan.h.
◆ QSpan() [1/5]
template<class T, std::size_t N>
QSpan |
( |
const std::array< T, N > & | | ) |
-> QSpan< const T, N > |
◆ QSpan() [2/5]
template<class It, class EndOrSize>
◆ QSpan() [3/5]
◆ QSpan() [4/5]
template<class T, std::size_t N>
◆ QSpan() [5/5]
template<class T, std::size_t N>
QSpan |
( |
T(&) | [N] | ) |
-> QSpan< T, N > |