Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
q20iterator.h File Reference

(c3de0905697f8709f208c5cc1100b4f5e45032f1)

#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