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
template< typename T1, typename T2 > Class Reference

QBiPointer can be thought of as a space-optimized std::variant<T1*, T2*> with a nicer API to check the active pointer. Its other main feature is that it only requires sizeof(void *) space. More...

+ Collaboration diagram for template< typename T1, typename T2 >:

Detailed Description

QBiPointer can be thought of as a space-optimized std::variant<T1*, T2*> with a nicer API to check the active pointer. Its other main feature is that it only requires sizeof(void *) space.

, T2>

Note
It can also store one additional flag for a user defined purpose.

The documentation for this class was generated from the following file: