1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3 
4     Distributed under the Boost Software License, Version 1.0. (See accompanying
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_FRONT_10022005_1618)
8 #define FUSION_FRONT_10022005_1618
9 
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/mpl/front.hpp>
12 #include <boost/fusion/sequence/intrinsic/begin.hpp>
13 #include <boost/fusion/iterator/value_of.hpp>
14 
15 namespace boost { namespace mpl
16 {
17     template <typename Tag>
18     struct front_impl;
19 
20     template <>
21     struct front_impl<fusion::fusion_sequence_tag>
22     {
23         template <typename Sequence>
24         struct apply :
25             fusion::result_of::value_of<typename fusion::result_of::begin<Sequence>::type> {};
26     };
27 }}
28 
29 #endif
30