Chris@16: // Boost.Bimap Chris@16: // Chris@16: // Copyright (c) 2006-2007 Matias Capeletto Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: /// \file support/lambda.hpp Chris@16: /// \brief Placeholders definition to help in bimap modify function Chris@16: Chris@16: #ifndef BOOST_BIMAP_SUPPORT_LAMBDA_HPP Chris@16: #define BOOST_BIMAP_SUPPORT_LAMBDA_HPP Chris@16: Chris@101: #if defined(_MSC_VER) Chris@16: #pragma once Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: namespace bimaps { Chris@16: Chris@16: namespace { Chris@16: Chris@16: /* Chris@16: boost::lambda::placeholder1_type & _first = boost::lambda::_1; Chris@16: boost::lambda::placeholder2_type & _second = boost::lambda::_2; Chris@16: Chris@16: boost::lambda::placeholder1_type & _left = boost::lambda::_1; Chris@16: boost::lambda::placeholder2_type & _right = boost::lambda::_2; Chris@16: */ Chris@16: Chris@16: boost::lambda::placeholder1_type & _key = boost::lambda::_1; Chris@16: boost::lambda::placeholder1_type & _data = boost::lambda::_1; Chris@16: Chris@16: } Chris@16: Chris@16: } // namespace bimaps Chris@16: } // namespace boost Chris@16: Chris@16: Chris@16: #endif // BOOST_BIMAP_SUPPORT_LAMBDA_HPP Chris@16: