]>
Commit | Line | Data |
---|---|---|
1 | // Boost.Bimap | |
2 | // | |
3 | // Copyright (c) 2006-2007 Matias Capeletto | |
4 | // | |
5 | // Distributed under the Boost Software License, Version 1.0. | |
6 | // (See accompanying file LICENSE_1_0.txt or copy at | |
7 | // http://www.boost.org/LICENSE_1_0.txt) | |
8 | ||
9 | /// \file support/lambda.hpp | |
10 | /// \brief Placeholders definition to help in bimap modify function | |
11 | ||
12 | #ifndef BOOST_BIMAP_SUPPORT_LAMBDA_HPP | |
13 | #define BOOST_BIMAP_SUPPORT_LAMBDA_HPP | |
14 | ||
15 | #if defined(_MSC_VER) | |
16 | #pragma once | |
17 | #endif | |
18 | ||
19 | #include <boost/config.hpp> | |
20 | ||
21 | #include <boost/lambda/lambda.hpp> | |
22 | ||
23 | namespace boost { | |
24 | namespace bimaps { | |
25 | ||
26 | namespace { | |
27 | ||
28 | /* | |
29 | boost::lambda::placeholder1_type & _first = boost::lambda::_1; | |
30 | boost::lambda::placeholder2_type & _second = boost::lambda::_2; | |
31 | ||
32 | boost::lambda::placeholder1_type & _left = boost::lambda::_1; | |
33 | boost::lambda::placeholder2_type & _right = boost::lambda::_2; | |
34 | */ | |
35 | ||
36 | boost::lambda::placeholder1_type & _key = boost::lambda::_1; | |
37 | boost::lambda::placeholder1_type & _data = boost::lambda::_1; | |
38 | ||
39 | } | |
40 | ||
41 | } // namespace bimaps | |
42 | } // namespace boost | |
43 | ||
44 | ||
45 | #endif // BOOST_BIMAP_SUPPORT_LAMBDA_HPP | |
46 |