Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / fusion / mpl / at.hpp
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_AT_10022005_1616)
8 #define FUSION_AT_10022005_1616
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/mpl/at.hpp>
12 #include <boost/fusion/sequence/intrinsic/value_at.hpp>
13
14 namespace boost { 
15 namespace fusion
16 {
17     struct fusion_sequence_tag;
18 }
19
20 namespace mpl
21 {
22     template <typename Tag>
23     struct at_impl;
24
25     template <>
26     struct at_impl<fusion::fusion_sequence_tag>
27     {
28         template <typename Sequence, typename N>
29         struct apply : fusion::result_of::value_at<Sequence, N> {};
30     };
31 }}
32
33 #endif
34