1 /*=============================================================================
2 Copyright (c) 2012 Nathan Ridge
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 #ifndef BOOST_FUSION_SUPPORT_AS_CONST_HPP
8 #define BOOST_FUSION_SUPPORT_AS_CONST_HPP
10 namespace boost { namespace fusion { namespace extension
12 // A customization point that allows certain wrappers around
13 // Fusion sequence elements (e.g. adt_attribute_proxy) to be
14 // unwrapped in contexts where the element only needs to be
15 // read. The library wraps accesses to Fusion elements in
16 // such contexts with calls to this function. Users can
17 // specialize this function for their own wrappers.
19 const T& as_const(const T& obj)