Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
q20iterator.h File Reference
#include <QtCore/qglobal.h>
#include <iterator>
+ Include dependency graph for q20iterator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  q20
 

Typedefs

template<typename Dereferencable >
using q20::iter_reference_t = decltype(*std::declval< Dereferencable & >())
 

Functions

template<class C >
constexpr auto q20::ssize (const C &c) -> std::common_type_t< std::ptrdiff_t, std::make_signed_t< decltype(c.size())> >
 
template<class T , std::ptrdiff_t N>
constexpr std::ptrdiff_t q20::ssize (const T(&)[N]) noexcept