1 /*=============================================================================
2 Copyright (c) 1999-2003 Jaakko Jarvi
3 Copyright (c) 2001-2011 Joel de Guzman
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_AS_FUSION_ELEMENT_05052005_0338)
9 #define FUSION_AS_FUSION_ELEMENT_05052005_0338
11 #include <boost/ref.hpp>
13 namespace boost { namespace fusion { namespace detail
16 struct as_fusion_element
22 struct as_fusion_element<reference_wrapper<T> >
27 template <typename T, int N>
28 struct as_fusion_element<T[N]>
30 typedef const T(&type)[N];
33 template <typename T, int N>
34 struct as_fusion_element<volatile T[N]>
36 typedef const volatile T(&type)[N];
39 template <typename T, int N>
40 struct as_fusion_element<const volatile T[N]>
42 typedef const volatile T(&type)[N];