x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
make_keyword_range_fn.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\python\detail\make_keyword_range_fn.hpp
旋转
特效
属性
历史版本
// Copyright David Abrahams 2002. // 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 MAKE_KEYWORD_RANGE_FN_DWA2002927_HPP # define MAKE_KEYWORD_RANGE_FN_DWA2002927_HPP # include
# include
# include
# include
namespace boost { namespace python { namespace detail { // Think of this as a version of make_function without a compile-time // check that the size of kw is no greater than the expected arity of // F. This version is needed when defining functions with default // arguments, because compile-time information about the number of // keywords is missing for all but the initial function definition. // // @group make_keyword_range_function { template
object make_keyword_range_function( F f , Policies const& policies , keyword_range const& kw) { return detail::make_function_aux( f, policies, detail::get_signature(f), kw, mpl::int_<0>()); } template
object make_keyword_range_function( F f , Policies const& policies , keyword_range const& kw , Signature const& sig) { return detail::make_function_aux( f, policies, sig, kw, mpl::int_<0>()); } // } // Builds an '__init__' function which inserts the given Holder type // in a wrapped C++ class instance. ArgList is an MPL type sequence // describing the C++ argument types to be passed to Holder's // constructor. // // Holder and ArgList are intended to be explicitly specified. template
object make_keyword_range_constructor( CallPolicies const& policies // The CallPolicies with which to invoke the Holder's constructor , detail::keyword_range const& kw // The (possibly empty) set of associated argument keywords , Holder* = 0 , ArgList* = 0, Arity* = 0) { #if !defined( BOOST_PYTHON_NO_PY_SIGNATURES) && defined( BOOST_PYTHON_PY_SYGNATURES_PROPER_INIT_SELF_TYPE) python_class
::register_(); #endif return detail::make_keyword_range_function( objects::make_holder
::template apply
::execute , policies , kw); } }}} // namespace boost::python::detail #endif // MAKE_KEYWORD_RANGE_FN_DWA2002927_HPP
make_keyword_range_fn.hpp
网页地址
文件地址
上一页
29/65
下一页
下载
( 2 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.