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
pdfium::internal::CheckedSubFastOp< T, U > Struct Template Reference

#include <safe_math_shared_impl.h>

Collaboration diagram for pdfium::internal::CheckedSubFastOp< T, U >:

Public Member Functions

template<typename V>
 __attribute__ ((always_inline)) static const expr bool Do(T x

Static Public Member Functions

template<typename V>
static constexpr bool Do (T, U, V *)

Public Attributes

y
U V * result

Static Public Attributes

static const bool is_supported = false

Detailed Description

template<typename T, typename U>
struct pdfium::internal::CheckedSubFastOp< T, U >

Definition at line 53 of file safe_math_shared_impl.h.

Member Function Documentation

◆ __attribute__()

template<typename T, typename U>
template<typename V>
pdfium::internal::CheckedSubFastOp< T, U >::__attribute__ ( (always_inline) ) const

References result, and y.

◆ Do()

template<typename T, typename U>
template<typename V>
constexpr bool pdfium::internal::CheckedSubFastOp< T, U >::Do ( T ,
U ,
V *  )
inlinestaticconstexpr

Definition at line 56 of file safe_math_shared_impl.h.

Member Data Documentation

◆ is_supported

template<typename T, typename U>
const bool pdfium::internal::CheckedSubFastOp< T, U >::is_supported = false
static

Definition at line 54 of file safe_math_shared_impl.h.

◆ result

template<typename T, typename U>
U V* pdfium::internal::CheckedSubFastOp< T, U >::result
Initial value:
{
return !__builtin_sub_overflow(x, y, result)
GLint GLint GLint GLint GLint x

Definition at line 82 of file safe_math_clang_gcc_impl.h.

Referenced by __attribute__().

◆ y

template<typename T, typename U>
U pdfium::internal::CheckedSubFastOp< T, U >::y

Definition at line 82 of file safe_math_clang_gcc_impl.h.

Referenced by __attribute__().


The documentation for this struct was generated from the following files: