Wraps a slot that may not be present.
More...
#include <slotarg.h>
template<typename T>
class cwidget::util::slotarg< T >
Wraps a slot that may not be present.
- Template Parameters
-
T | The slot type that is wrapped by this argument. |
See also cwidget::util::arg, cwidget::util::slot0arg.
◆ slotarg() [1/2]
Create a slotarg from an optional slot.
- Parameters
-
slot | The slot to store, or NULL to store no slot. |
◆ slotarg() [2/2]
Create a slotarg from an existing slot.
◆ operator bool()
Return true if this argument stores a slot.
◆ operator slotarg< S >()
template<typename T>
template<typename S >
Convert between compatible slotarg types.
◆ operator*() [1/2]
Return the encapsulated slot, if any.
◆ operator*() [2/2]
Return the encapsulated slot, if any.
The documentation for this class was generated from the following file: