Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qspan.h>
Public Member Functions | |
template<std::size_t E2 = E, std::enable_if_t< E2==0, bool > = true> | |
Q_IMPLICIT constexpr | QSpanBase () noexcept |
template<typename It , typename Base::template if_compatible_iterator< It > = true> | |
constexpr | QSpanBase (It first, qsizetype count) |
template<typename It , typename End , typename Base::template if_compatible_iterator_and_sentinel< It, End > = true> | |
constexpr | QSpanBase (It first, End last) |
template<size_t N, std::enable_if_t< N==E, bool > = true> | |
Q_IMPLICIT constexpr | QSpanBase (q20::type_identity_t< T >(&arr)[N]) noexcept |
template<typename S , size_t N, if_compatible_array< S, N > = true> | |
Q_IMPLICIT constexpr | QSpanBase (std::array< S, N > &arr) noexcept |
template<typename S , size_t N, if_compatible_array< S, N > = true> | |
Q_IMPLICIT constexpr | QSpanBase (const std::array< S, N > &arr) noexcept |
template<typename Range , typename Base::template if_compatible_range< Range > = true> | |
Q_IMPLICIT constexpr | QSpanBase (Range &&r) |
template<typename S , if_qualification_conversion< S > = true> | |
Q_IMPLICIT constexpr | QSpanBase (QSpan< S, E > other) noexcept |
template<typename S , if_qualification_conversion< S > = true> | |
Q_IMPLICIT constexpr | QSpanBase (QSpan< S > other) |
template<typename U = T, std::enable_if_t< std::is_const_v< U >, bool > = true> | |
Q_IMPLICIT constexpr | QSpanBase (std::initializer_list< std::remove_cv_t< T > > il) |
Protected Types | |
using | Base = QSpanCommon<T> |
Protected Types inherited from QSpanPrivate::QSpanCommon< T > | |
template<typename Iterator > | |
using | is_compatible_iterator |
template<typename Iterator , typename End > | |
using | is_compatible_iterator_and_sentinel |
template<typename Range > | |
using | is_compatible_range |
template<typename Iterator > | |
using | if_compatible_iterator |
template<typename Iterator , typename End > | |
using | if_compatible_iterator_and_sentinel |
template<typename Range > | |
using | if_compatible_range = std::enable_if_t<is_compatible_range<Range>::value, bool> |
Protected Attributes | |
T * | m_data |
Static Protected Attributes | |
static constexpr qsizetype | m_size = qsizetype(E) |
|
protected |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexpr |
Definition at line 190 of file qspan.h.
References QSpanPrivate::QSpanBase< T, E >::m_size, and Q_ASSERT.
|
inlineexplicitconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
protected |
Definition at line 178 of file qspan.h.
Referenced by QSpan< T, E >::data().
|
staticconstexprprotected |
Definition at line 179 of file qspan.h.
Referenced by QSpanPrivate::QSpanBase< T, E >::QSpanBase(), and QSpan< T, E >::size().