1 #ifndef _SIGX_AUTO_REF_H_
2 #define _SIGX_AUTO_REF_H_
30 #include <sigc++/reference_wrapper.h>
37 template <
class T_type>
38 sigc::reference_wrapper<T_type>
ref(T_type& v)
40 return sigc::reference_wrapper<T_type>(v);
43 template <
class T_type>
44 sigc::const_reference_wrapper<T_type>
ref(
const T_type& v)
46 return sigc::const_reference_wrapper<T_type>(v);
50 template <
class T_type>
51 sigc::reference_wrapper<T_type>
ref(
const sigc::reference_wrapper<T_type>& v)
53 return sigc::reference_wrapper<T_type>(v);
56 template <
class T_type>
57 sigc::const_reference_wrapper<T_type>
ref(
const sigc::const_reference_wrapper<T_type>& v)
59 return sigc::const_reference_wrapper<T_type>(v);
sigc::reference_wrapper< T_type > ref(T_type &v)
Definition: ref.h:38