|
||||
File indexing completed on 2025-01-30 10:02:09
0001 //----------------------------------------------------------------------------- 0002 // boost variant/detail/substitute_fwd.hpp header file 0003 // See http://www.boost.org for updates, documentation, and revision history. 0004 //----------------------------------------------------------------------------- 0005 // 0006 // Copyright (c) 2003 0007 // Eric Friedman 0008 // 0009 // Distributed under the Boost Software License, Version 1.0. (See 0010 // accompanying file LICENSE_1_0.txt or copy at 0011 // http://www.boost.org/LICENSE_1_0.txt) 0012 0013 #ifndef BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP 0014 #define BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP 0015 0016 #include <boost/mpl/aux_/lambda_arity_param.hpp> 0017 #include <boost/mpl/aux_/template_arity.hpp> 0018 #include <boost/mpl/int_fwd.hpp> 0019 0020 0021 #include <boost/mpl/aux_/config/ctps.hpp> 0022 #include <boost/mpl/aux_/config/ttp.hpp> 0023 0024 namespace boost { 0025 namespace detail { namespace variant { 0026 0027 /////////////////////////////////////////////////////////////////////////////// 0028 // metafunction substitute 0029 // 0030 // Substitutes one type for another in the given type expression. 0031 // 0032 template < 0033 typename T, typename Dest, typename Source 0034 BOOST_MPL_AUX_LAMBDA_ARITY_PARAM( 0035 typename Arity = mpl::int_< mpl::aux::template_arity<T>::value > 0036 ) 0037 > 0038 struct substitute; 0039 0040 }} // namespace detail::variant 0041 } // namespace boost 0042 0043 #endif // BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |