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

24 lines
757 B
C++
Raw Normal View History

2007-10-21 00:52:09 +00:00
/*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Copyright (c) 2005-2006 Dan Marsden
2010-02-22 22:55:54 +00:00
Copyright (c) 2009-2010 Christopher Schmidt
2007-10-21 00:52:09 +00:00
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-02-22 22:55:54 +00:00
#ifndef BOOST_FUSION_ADAPTED_STD_PAIR_HPP
#define BOOST_FUSION_ADAPTED_STD_PAIR_HPP
2007-10-21 00:52:09 +00:00
2010-02-22 22:55:54 +00:00
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
namespace std
2007-10-21 00:52:09 +00:00
{
2010-02-22 22:55:54 +00:00
template<class T1, class T2>
struct pair;
}
2007-10-21 00:52:09 +00:00
2010-02-22 22:55:54 +00:00
BOOST_FUSION_ADAPT_TPL_STRUCT(
(T1)(T2),(std::pair)(T1)(T2),(T1, first)(T2, second))
2007-10-21 00:52:09 +00:00
#endif