Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmlcpptypehelpers_p.h File Reference

(ee9e3a10d967874eddc5400b2b7aa36950140b9b)

#include <type_traits>
+ Include dependency graph for qqmlcpptypehelpers_p.h:

Go to the source code of this file.

Typedefs

template<typename T >
using passByConstRefOrValue
 

Typedef Documentation

◆ passByConstRefOrValue

template<typename T >
using passByConstRefOrValue
Initial value:
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.