QVariantPointer is a template class that emulates a pointer to QVariant based on a pointer. More...
|CMake:||find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
|qmake:||QT += core|
|QVariantPointer(const Pointer *pointer)|
QVariantConstPointer wraps a pointer and returns QVariantRef 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.
Constructs a QVariantPointer from the given pointer.
Dereferences the QVariantPointer to a QVariantRef.
Dereferences and returns the pointer. The pointer is expected to also implement operator->().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: