std_pair.hpp 750 B

1234567891011121314151617181920
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Copyright (c) 2005-2006 Dan Marsden
  4. Copyright (c) 2009-2010 Christopher Schmidt
  5. Distributed under the Boost Software License, Version 1.0. (See accompanying
  6. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. ==============================================================================*/
  8. #ifndef BOOST_FUSION_ADAPTED_STD_PAIR_HPP
  9. #define BOOST_FUSION_ADAPTED_STD_PAIR_HPP
  10. #include <boost/fusion/support/config.hpp>
  11. #include <boost/fusion/adapted/struct/adapt_struct.hpp>
  12. #include <utility>
  13. BOOST_FUSION_ADAPT_TPL_STRUCT(
  14. (T1)(T2),(std::pair)(T1)(T2),(T1, first)(T2, second))
  15. #endif