Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/fusion/view/filter_view/detail/key_of_impl.hpp @ 107:e4c146b6e491
Switch to OS/X 10.7 and libc++ throughout. (Otherwise we get only very limited C++11 support.)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 14:43:42 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /*============================================================================= |
Chris@16 | 2 Copyright (c) 2009 Christopher Schmidt |
Chris@16 | 3 |
Chris@16 | 4 Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 ==============================================================================*/ |
Chris@16 | 7 |
Chris@16 | 8 #ifndef BOOST_FUSION_VIEW_FILTER_VIEW_DETAIL_KEY_OF_IMPL_HPP |
Chris@16 | 9 #define BOOST_FUSION_VIEW_FILTER_VIEW_DETAIL_KEY_OF_IMPL_HPP |
Chris@16 | 10 |
Chris@101 | 11 #include <boost/fusion/support/config.hpp> |
Chris@16 | 12 #include <boost/fusion/iterator/key_of.hpp> |
Chris@16 | 13 |
Chris@16 | 14 namespace boost { namespace fusion { namespace extension |
Chris@16 | 15 { |
Chris@16 | 16 template <typename> |
Chris@16 | 17 struct key_of_impl; |
Chris@16 | 18 |
Chris@16 | 19 template <> |
Chris@16 | 20 struct key_of_impl<filter_view_iterator_tag> |
Chris@16 | 21 { |
Chris@16 | 22 template <typename It> |
Chris@16 | 23 struct apply |
Chris@16 | 24 : result_of::key_of<typename It::first_type> |
Chris@16 | 25 {}; |
Chris@16 | 26 }; |
Chris@16 | 27 }}} |
Chris@16 | 28 |
Chris@16 | 29 #endif |