![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
QVariant::Pointer is a template class that emulates a non-const pointer to QVariant. More...
#include <qvariant.h>
Public Member Functions | |
| Pointer (const Indirect &pointed) noexcept(std::is_nothrow_copy_constructible_v< Indirect >) | |
| Constructs a QVariant::Pointer from the value pointed to. | |
| Pointer (Indirect &&pointed) noexcept(std::is_nothrow_move_constructible_v< Indirect >) | |
| Constructs a QVariant::Pointer from the value pointed to. | |
| Reference< Indirect > | operator* () const noexcept(std::is_nothrow_copy_constructible_v< Indirect >) |
| Dereferences the QVariant::Pointer to a QVariant::Reference. | |
| operator ConstPointer< Indirect > () const noexcept(std::is_nothrow_copy_constructible_v< Indirect >) | |
QVariant::Pointer is a template class that emulates a non-const pointer to QVariant.
QVariant::Pointer<Indirect> wraps a pointed-to value of type Indirect and returns a QVariant::Reference to it from its operator*(). This makes it suitable as replacement for an actual pointer. We cannot return an actual pointer from generic iterators as the iterators don't hold an actual QVariant.
Definition at line 369 of file qvariant.h.
|
inlineexplicitnoexcept |
Constructs a QVariant::Pointer from the value pointed to.
Definition at line 375 of file qvariant.h.
|
inlineexplicitnoexcept |
Constructs a QVariant::Pointer from the value pointed to.
Definition at line 378 of file qvariant.h.
|
inlinenoexcept |
Definition at line 388 of file qvariant.h.
|
inlinenoexcept |
Dereferences the QVariant::Pointer to a QVariant::Reference.
Definition at line 382 of file qvariant.h.