6#include <QtCore/qglobal.h>
33 template<
class C>
constexpr auto ssize(
const C &
c)
34 -> std::common_type_t<std::ptrdiff_t, std::make_signed_t<
decltype(
c.size())>>
35 {
return static_cast<std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(
c.
size())
>>>(
c.size()); }
37 template<
class T, std::ptrdiff_t N>
constexpr std::ptrdiff_t
ssize(
const T (&)[N])
noexcept
44#ifdef __cpp_lib_ranges
45 using std::iter_reference_t;
47 template <
typename Dereferencable>
Combined button and popup list for selecting options.
constexpr auto ssize(const C &c) -> std::common_type_t< std::ptrdiff_t, std::make_signed_t< decltype(c.size())> >
decltype(*std::declval< Dereferencable & >()) iter_reference_t
GLenum GLuint GLintptr GLsizeiptr size
[1]