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>.
Loading...
Searching...
No Matches
q20iterator.h File Reference

(e86e2752845ede635840851198c334f550fafb8f)

#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