x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
functional.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\tr1\functional.hpp
旋转
特效
属性
历史版本
// (C) Copyright John Maddock 2005. // Use, modification and distribution are 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_TR1_FUNCTIONAL_HPP_INCLUDED # define BOOST_TR1_FUNCTIONAL_HPP_INCLUDED # include
# include
#if defined(BOOST_HAS_TR1_REFERENCE_WRAPPER) \ || defined(BOOST_HAS_TR1_RESULT_OF)\ || defined(BOOST_HAS_TR1_MEM_FN)\ || defined(BOOST_HAS_TR1_BIND)\ || defined(BOOST_HAS_TR1_FUNCTION)\ || defined(BOOST_HAS_TR1_HASH) # ifdef BOOST_HAS_INCLUDE_NEXT # include_next BOOST_TR1_HEADER(functional) # else # include
# include BOOST_TR1_STD_HEADER(BOOST_TR1_PATH(functional)) # endif #endif #ifndef BOOST_HAS_TR1_REFERENCE_WRAPPER #include
namespace std{ namespace tr1{ using ::boost::reference_wrapper; using ::boost::ref; using ::boost::cref; } } #endif // BOOST_HAS_TR1_REFERENCE_WRAPPER #if !defined(BOOST_HAS_TR1_RESULT_OF)\ && !defined(BOOST_NO_SFINAE) && \ !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) // // we can only actually include result_of.hpp if the compiler // really does support it, otherwise we just get endless errors... // #include
namespace std{ namespace tr1{ using ::boost::result_of; } } #endif // BOOST_HAS_TR1_RESULT_OF #ifndef BOOST_HAS_TR1_MEM_FN // mem_fn: #include
namespace std{ namespace tr1{ using boost::mem_fn; } } #endif // BOOST_HAS_TR1_MEM_FN #ifndef BOOST_HAS_TR1_BIND // Bind: #include
namespace std{ namespace tr1{ using ::boost::is_bind_expression; using ::boost::is_placeholder; using ::boost::bind; namespace placeholders { #ifndef BOOST_BIND_NO_PLACEHOLDERS using ::_1; using ::_2; using ::_3; using ::_4; using ::_5; using ::_6; using ::_7; using ::_8; using ::_9; #endif } // placeholders } } #endif #ifndef BOOST_HAS_TR1_FUNCTION // polymorphic function object wrappers: #include
#include
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x582) \ && !BOOST_WORKAROUND(BOOST_MSVC, < 1310) \ && !defined(BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX) namespace std{ namespace tr1{ using ::boost::bad_function_call; using ::boost::function; using ::boost::swap; }} #endif #endif // BOOST_HAS_TR1_FUNCTION #ifndef BOOST_HAS_TR1_HASH // // This header can get included by boost/hash.hpp // leading to cyclic dependencies. As a workaround // we forward declare boost::hash and include // the actual header later. // namespace boost{ template
struct hash; } namespace std{ namespace tr1{ using ::boost::hash; }} #include
#endif #endif
functional.hpp
网页地址
文件地址
上一页
3/9
下一页
下载
( 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.