![]() |
![]() |
Namespaces | |
namespace | sigc |
Classes | |
struct | sigc::reference_wrapper<T_type> |
Reference wrapper. More... | |
struct | sigc::const_reference_wrapper<T_type> |
Const reference wrapper. More... | |
struct | sigc::unwrap_reference<T_type> |
struct | sigc::unwrap_reference<reference_wrapper<T_type>> |
struct | sigc::unwrap_reference<const_reference_wrapper<T_type>> |
Functions | |
template<class T_type> | |
reference_wrapper<T_type> | ref (T_type& v) |
Creates a reference wrapper. | |
template<class T_type> | |
const_reference_wrapper<T_type> | ref (const T_type& v) |
Creates a const reference wrapper. | |
template<class T_type> | |
T_type& | unwrap (T_type& v) |
template<class T_type> | |
const T_type& | unwrap (const T_type& v) |
template<class T_type> | |
T_type& | unwrap (const reference_wrapper<T_type>& v) |
template<class T_type> | |
const T_type& | unwrap (const const_reference_wrapper<T_type>& v) |
|
Creates a const reference wrapper. Passing an object throught sigc::ref() makes libsigc++ adaptors like, e.g., sigc::bind store references to the object instead of copies. If the object type inherits from sigc::trackable this will ensure automatic invalidation of the adaptors when the object is deleted or overwritten.
|
|
Creates a reference wrapper. Passing an object throught sigc::ref() makes libsigc++ adaptors like, e.g., sigc::bind store references to the object instead of copies. If the object type inherits from sigc::trackable this will ensure automatic invalidation of the adaptors when the object is deleted or overwritten.
|
|
|
|
|
|
|
|
|