fix doc example typo
[boost.git] / boost / fusion / container / list / detail / value_of_impl.hpp
blobf8175c6d4da40ceff9c8338431ff85bcd3023bc8
1 /*=============================================================================
2 Copyright (c) 2005 Joel de Guzman
3 Copyright (c) 2005 Eric Niebler
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(FUSION_VALUE_OF_IMPL_07172005_0838)
9 #define FUSION_VALUE_OF_IMPL_07172005_0838
11 namespace boost { namespace fusion
13 struct cons_iterator_tag;
15 namespace extension
17 template <typename Tag>
18 struct value_of_impl;
20 template <>
21 struct value_of_impl<cons_iterator_tag>
23 template <typename Iterator>
24 struct apply
26 typedef typename Iterator::cons_type cons_type;
27 typedef typename cons_type::car_type type;
34 #endif