⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gen_signature_fb_extensible.inl

📁 机器人开源项目orocos的源代码
💻 INL
字号:
// (C) Copyright Tobias Schwinger//// Use modification and distribution are subject to the boost Software License,// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).#include <boost/preprocessor/cat.hpp>//------------------------------------------------------------------------------#ifndef op//------------------------------------------------------------------------------namespace boost { namespace mpl {//------------------------------------------------------------------------------// Extensible Sequence#   define op clear#   include BOOST_FT_FRAGMENT(signature_fb_extensible, MPL-intrinsic decoration)// (insert/erase default implementation should work just fine)// Front Extensible Sequence#   define op push_front#   define p T#   include BOOST_FT_FRAGMENT(signature_fb_extensible, MPL-intrinsic decoration)#   define op pop_front#   include BOOST_FT_FRAGMENT(signature_fb_extensible, MPL-intrinsic decoration)// Back Extensible Sequence#   define op push_back#   define p T#   include BOOST_FT_FRAGMENT(signature_fb_extensible, MPL-intrinsic decoration)#   define op pop_back#   include BOOST_FT_FRAGMENT(signature_fb_extensible, MPL-intrinsic decoration)//------------------------------------------------------------------------------} } // namespace ::boost::mpl//------------------------------------------------------------------------------#else // MPL-intrinsic decoration//------------------------------------------------------------------------------    template<>     struct BOOST_PP_CAT(op,_impl)     < function_types::detail::signature_mpl_sequence_tag >    { #   ifndef p      template< typename S > #   else      template< typename S, typename p >#   endif      struct apply        : function_types::function_type_signature          < typename function_types::detail::function_type_impl            < typename S::kind#   ifndef p            , typename op < typename S::types >::type#   else            , typename op < typename S::types, p >::type #     undef p#   endif            >::type          >      { };    };#   undef op//------------------------------------------------------------------------------#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -