27e95edb5d24cd05c2eb50430a465f67196c2e1d
[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/mpl/at.hpp>
11 #include <boost/fusion/sequence/intrinsic/value_at.hpp>
12
13 namespace boost { 
14 namespace fusion
15 {
16     struct fusion_sequence_tag;
17 }
18
19 namespace mpl
20 {
21     template <typename Tag>
22     struct at_impl;
23
24     template <>
25     struct at_impl<fusion::fusion_sequence_tag>
26     {
27         template <typename Sequence, typename N>
28         struct apply : fusion::result_of::value_at<Sequence, N> {};
29     };
30 }}
31
32 #endif
33