|
libsigc++ 3.6.0
|
limit_reference object for a class that derives from trackable. More...
#include <sigc++/limit_reference.h>
Public Types | |
| using | reference_type = typename std::remove_volatile_t< T_type > |
Public Member Functions | |
| limit_reference (reference_type & target) | |
| Constructor. | |
| T_type & | invoke () const |
| Retrieve the reference. | |
| const trackable & | visit () const |
| Retrieve the entity to visit for visit_each(). | |
limit_reference object for a class that derives from trackable.
| using sigc::limit_reference< T_type, true >::reference_type = typename std::remove_volatile_t<T_type> |
|
inline |
Constructor.
| target | The reference to limit. |
|
inline |
Retrieve the reference.
This is always a reference to the derived instance.
|
inline |
Retrieve the entity to visit for visit_each().
Depending on the template specialization, this is either a derived reference, or sigc::trackable& if T_type derives from sigc::trackable.