]>
Commit | Line | Data |
---|---|---|
45516216 | 1 | namespace boost { |
2 | namespace lambda { | |
3 | template <int I> struct placeholder; | |
4 | template <class Base> class lambda_functor; | |
5 | namespace detail { | |
6 | } | |
7 | } | |
8 | namespace lambda { | |
9 | enum { | |
10 | NONE = 0x00, FIRST = 0x01, SECOND = 0x02, THIRD = 0x04, EXCEPTION = 0x08, RETHROW = 0x10}; | |
11 | template<> struct placeholder<FIRST> { | |
12 | }; | |
13 | typedef const lambda_functor<placeholder<FIRST> > placeholder1_type; | |
14 | template <class T> class lambda_functor : public T { | |
15 | public: typedef T inherited; | |
16 | lambda_functor() { | |
17 | } | |
18 | }; | |
19 | boost::lambda::placeholder1_type free1 = boost::lambda::placeholder1_type(); | |
20 | boost::lambda::placeholder1_type& _1 = free1; | |
21 | using boost::lambda::_1; |