Files
boost_fusion/include/boost/fusion/adapted/std_pair.hpp

25 lines
757 B
C++
Raw Normal View History

/*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Copyright (c) 2005-2006 Dan Marsden
2010-04-04 14:43:54 +00:00
Copyright (c) 2009-2010 Christopher Schmidt
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
2010-04-04 14:43:54 +00:00
#ifndef BOOST_FUSION_ADAPTED_STD_PAIR_HPP
#define BOOST_FUSION_ADAPTED_STD_PAIR_HPP
2010-04-04 14:43:54 +00:00
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
2010-04-04 14:43:54 +00:00
namespace std
{
2010-04-04 14:43:54 +00:00
template<class T1, class T2>
struct pair;
}
2010-04-04 14:43:54 +00:00
BOOST_FUSION_ADAPT_TPL_STRUCT(
(T1)(T2),(std::pair)(T1)(T2),(T1, first)(T2, second))
#endif