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
qquick3dutils_p.h File Reference

(60dcd8f11291b54a251fd07ef2a71a14fd5be1c4)

#include <type_traits>
#include <QtCore/QtGlobal>
#include <private/qglobal_p.h>
Include dependency graph for qquick3dutils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hasFuzzyCompare< T, typename >
struct  hasFuzzyCompare< T, std::void_t< decltype(qFuzzyCompare(std::declval< T & >(), std::declval< T & >()))> >

Functions

template<typename T, std::enable_if_t<!hasFuzzyCompare< T >::value, bool > = true>
bool qUpdateIfNeeded (T &orig, T updated)
template<typename T, std::enable_if_t< hasFuzzyCompare< T >::value, bool > = true>
bool qUpdateIfNeeded (T &orig, T updated)

Function Documentation

◆ qUpdateIfNeeded() [1/2]

template<typename T, std::enable_if_t<!hasFuzzyCompare< T >::value, bool > = true>
bool qUpdateIfNeeded ( T & orig,
T updated )

Definition at line 33 of file qquick3dutils_p.h.

◆ qUpdateIfNeeded() [2/2]

template<typename T, std::enable_if_t< hasFuzzyCompare< T >::value, bool > = true>
bool qUpdateIfNeeded ( T & orig,
T updated )

Definition at line 43 of file qquick3dutils_p.h.