bound_argument object for a bound argument that is passed by bind() or returned by bind_return() by reference, specialized for std::reference_wrapper<> types.
More...
#include <sigc++/adaptors/bound_argument.h>
|
| bound_argument (const std::reference_wrapper< T_wrapped > & _A_argument) |
| Constructor.
|
|
| bound_argument (const std::reference_wrapper< T_wrapped > & _A_argument) |
| Constructor.
|
|
std::reference_wrapper< T_wrapped > & | invoke () |
| Retrieve the entity to pass to the bound functor or return.
|
|
T_wrapped & | invoke () |
| Retrieve the entity to pass to the bound functor or return.
|
|
const std::reference_wrapper< T_wrapped > & | visit () const |
| Retrieve the entity to visit in visit_each().
|
|
const limit_reference< T_wrapped > & | visit () const |
| Retrieve the entity to visit in visit_each().
|
|
template<class T_wrapped>
class sigc::bound_argument< std::reference_wrapper< T_wrapped > >
bound_argument object for a bound argument that is passed by bind() or returned by bind_return() by reference, specialized for std::reference_wrapper<> types.
T_wrapped The type of the bound argument.
◆ bound_argument() [1/2]
template <class T_wrapped>
sigc::bound_argument< std::reference_wrapper< T_wrapped > >::bound_argument |
( |
const std::reference_wrapper< T_wrapped > & | _A_argument | ) |
|
|
inline |
Constructor.
- Parameters
-
_A_argument | The argument to bind. |
◆ bound_argument() [2/2]
sigc::bound_argument< std::reference_wrapper< T_wrapped > >::bound_argument |
( |
const std::reference_wrapper< T_wrapped > & | _A_argument | ) |
|
|
inline |
Constructor.
- Parameters
-
_A_argument | The argument to bind. |
◆ invoke() [1/2]
std::reference_wrapper< T_wrapped > & sigc::bound_argument< std::reference_wrapper< T_wrapped > >::invoke |
( |
| ) |
|
|
inline |
Retrieve the entity to pass to the bound functor or return.
- Returns
- The bound argument.
◆ invoke() [2/2]
template <class T_wrapped>
Retrieve the entity to pass to the bound functor or return.
- Returns
- The bound argument.
◆ visit() [1/2]
const std::reference_wrapper< T_wrapped > & sigc::bound_argument< std::reference_wrapper< T_wrapped > >::visit |
( |
| ) |
const |
|
inline |
Retrieve the entity to visit in visit_each().
- Returns
- The bound argument.
◆ visit() [2/2]
template <class T_wrapped>
Retrieve the entity to visit in visit_each().
- Returns
- The limited_reference to the bound argument.