x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
value_type.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\parameter\value_type.hpp
旋转
特效
属性
历史版本
// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to 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_PARAMETER_VALUE_TYPE_060921_HPP # define BOOST_PARAMETER_VALUE_TYPE_060921_HPP # include
# include
# include
# include
# include
# include
# if BOOST_WORKAROUND(BOOST_MSVC, < 1300) # include
# endif namespace boost { namespace parameter { // A metafunction that, given an argument pack, returns the type of // the parameter identified by the given keyword. If no such // parameter has been specified, returns Default # if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) template
struct value_type0 { typedef typename mpl::apply_wrap3< typename Parameters::binding,Keyword,Default,mpl::false_ >::type type; BOOST_MPL_ASSERT_NOT(( mpl::and_< is_same
, is_same
> )); }; # endif template
# if !BOOST_WORKAROUND(BOOST_MSVC, < 1300) struct value_type # else struct value_type_eti # endif { # if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) typedef typename mpl::eval_if< mpl::is_placeholder
, mpl::identity
, value_type0
>::type type; # else typedef typename mpl::apply_wrap3< typename Parameters::binding,Keyword,Default,mpl::false_ >::type type; BOOST_MPL_ASSERT_NOT(( mpl::and_< is_same
, is_same
> )); # endif # if !BOOST_WORKAROUND(BOOST_MSVC, < 1300) BOOST_MPL_AUX_LAMBDA_SUPPORT(3,value_type,(Parameters,Keyword,Default)) # endif }; # if BOOST_WORKAROUND(BOOST_MSVC, < 1300) template
struct value_type { typedef typename mpl::eval_if< is_same
, mpl::identity
, value_type_eti
>::type type; BOOST_MPL_AUX_LAMBDA_SUPPORT(3,value_type,(Parameters,Keyword,Default)) }; # endif // A metafunction that, given an argument pack, returns the type of // the parameter identified by the given keyword. If no such // parameter has been specified, returns the type returned by invoking // DefaultFn template
struct lazy_value_type { typedef typename mpl::apply_wrap3< typename Parameters::binding , Keyword , typename aux::result_of0
::type , mpl::false_ >::type type; }; }} // namespace boost::parameter #endif // BOOST_PARAMETER_VALUE_TYPE_060921_HPP
value_type.hpp
网页地址
文件地址
上一页
10/10 下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.