~ubuntu-branches/ubuntu/lucid/ardour/lucid-proposed

« back to all changes in this revision

Viewing changes to libs/sigc++2/sigc++/bind.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2008-07-29 11:27:04 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729112704-x1rmgb4tjotjyu5u
Tags: 1:2.5-0ubuntu1
* New upstream release.
* debian/patches/s390-FTBFS.patch: Dropped, as it fails to apply, and
  Ubuntu doesn't concern itself with s390.
* debian/control:
  - Fix package description, thanks to the patch in Debian bug #485892.
  - Metadata cleanup and sync control/control.in files.
  - Add libaubio-dev to Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <sigc++/adaptors/bind.h>
23
23
 
24
 
#ifndef LIBSIGC_DISABLE_DEPRECATED
25
 
 
26
 
namespace SigC {
27
 
 
28
 
template <class T_bound1, class T_functor>
29
 
inline ::sigc::bind_functor<-1, T_functor,
30
 
                            typename ::sigc::unwrap_reference<T_bound1>::type>
31
 
bind(const T_functor& _A_functor, T_bound1 _A_b1)
32
 
{ return ::sigc::bind_functor<-1, T_functor,
33
 
                              typename ::sigc::unwrap_reference<T_bound1>::type>
34
 
                              (_A_functor, _A_b1);
35
 
}
36
 
 
37
 
template <class T_bound1, class T_bound2, class T_functor>
38
 
inline ::sigc::bind_functor<-1, T_functor,
39
 
                            typename ::sigc::unwrap_reference<T_bound1>::type,
40
 
                            typename ::sigc::unwrap_reference<T_bound2>::type>
41
 
bind(const T_functor& _A_functor, T_bound1 _A_b1, T_bound2 _A_b2)
42
 
{ return ::sigc::bind_functor<-1, T_functor,
43
 
                              typename ::sigc::unwrap_reference<T_bound1>::type,
44
 
                              typename ::sigc::unwrap_reference<T_bound2>::type>
45
 
                              (_A_functor, _A_b1, _A_b2); 
46
 
}
47
 
 
48
 
template <class T_bound1, class T_bound2, class T_bound3, class T_functor>
49
 
inline ::sigc::bind_functor<-1, T_functor,
50
 
                            typename ::sigc::unwrap_reference<T_bound1>::type,
51
 
                            typename ::sigc::unwrap_reference<T_bound2>::type,
52
 
                            typename ::sigc::unwrap_reference<T_bound3>::type>
53
 
bind(const T_functor& _A_functor, T_bound1 _A_b1, T_bound2 _A_b2,T_bound3 _A_b3)
54
 
{ return ::sigc::bind_functor<-1, T_functor,
55
 
                              typename ::sigc::unwrap_reference<T_bound1>::type,
56
 
                              typename ::sigc::unwrap_reference<T_bound2>::type,
57
 
                              typename ::sigc::unwrap_reference<T_bound3>::type>
58
 
                              (_A_functor, _A_b1, _A_b2, _A_b3);
59
 
}
60
 
 
61
 
}
62
 
 
63
 
#endif /* LIBSIGC_DISABLE_DEPRECATED */
64
 
 
65
24
#endif /* _SIGC_BIND_HPP_ */