1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
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_ACCESS_04182005_0737)
8 #define FUSION_ACCESS_04182005_0737
10 #include <boost/type_traits/add_const.hpp>
11 #include <boost/type_traits/add_reference.hpp>
13 namespace boost { namespace fusion { namespace detail
18 typedef typename add_reference<T>::type type;
26 typename add_const<T>::type
34 typedef T const& type;
38 struct call_param<T &>
44 struct call_param<T const>
46 typedef T const& type;
50 struct call_param<T volatile>
52 typedef T const& type;
56 struct call_param<T const volatile>
58 typedef T const& type;