/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2006 Dan Marsden 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) ==============================================================================*/ #if !defined (BOOST_FUSION_PAIR_TIE_20060812_2058) #define BOOST_FUSION_PAIR_TIE_20060812_2058 #include #include #include namespace boost { namespace fusion { template struct pair; namespace result_of { template struct pair_tie { typedef fusion::pair type; }; } template BOOST_FUSION_GPU_ENABLED typename disable_if, typename result_of::pair_tie::type>::type pair_tie(T& t) { return typename result_of::pair_tie::type(t); } template BOOST_FUSION_GPU_ENABLED typename result_of::pair_tie::type pair_tie(T const& t) { return typename result_of::pair_tie::type(t); } }} #endif