42 #include <QtCore/qglobal.h>
66 #ifdef __cpp_lib_ssize
69 template<
class C> constexpr
auto ssize(
const C &
c)
70 -> std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(
c.size())>>
71 {
return static_cast<std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(
c.
size())
>>>(
c.size()); }
73 template<
class T, std::ptrdiff_t N> constexpr std::ptrdiff_t
ssize(
const T (&)[N]) noexcept
constexpr std::ptrdiff_t ssize(const T(&)[N]) noexcept
constexpr auto ssize(const C &c) -> std::common_type_t< std::ptrdiff_t, std::make_signed_t< decltype(c.size())>>
GLenum GLuint GLintptr GLsizeiptr size
[1]