![]() |
Qt 6.x
The Qt SDK
|
#include <type_traits>
Go to the source code of this file.
Typedefs | |
template<typename T > | |
using | passByConstRefOrValue = std::conditional_t<((sizeof(T) > 3 *sizeof(void *))||!std::is_trivial_v< T >), const T &, T > |
using passByConstRefOrValue = std::conditional_t<((sizeof(T) > 3 * sizeof(void *)) || !std::is_trivial_v<T>), const T &, T> |
Used by Qmltc to decide when value types should be passed by value or reference.
Definition at line 24 of file qqmlcpptypehelpers_p.h.