Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/fusion/mpl/at.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
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 |