// // Copyright (c) 2009 Rutger ter Borg // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_NUMERIC_BINDINGS_DETAIL_COPY_CONST_HPP #define BOOST_NUMERIC_BINDINGS_DETAIL_COPY_CONST_HPP #include #include #include namespace boost { namespace numeric { namespace bindings { namespace detail { template< typename Source, typename Target > struct copy_const { typedef typename mpl::if_< is_const, typename add_const::type, Target >::type type; }; } // namespace detail } // namespace bindings } // namespace numeric } // namespace boost #endif