x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
config.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\dynamic_bitset\config.hpp
旋转
特效
属性
历史版本
// -------------------------------------------------- // // (C) Copyright Chuck Allison and Jeremy Siek 2001 - 2002. // (C) Copyright Gennaro Prota 2003 - 2006. // // 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) // // ----------------------------------------------------------- // See http://www.boost.org/libs/dynamic_bitset/ for documentation. // // $Revision: 41369 $ $Date: 2007-11-25 13:07:19 -0500 (Sun, 25 Nov 2007) $ - $Name$ #ifndef BOOST_DYNAMIC_BITSET_CONFIG_HPP_GP_20040424 #define BOOST_DYNAMIC_BITSET_CONFIG_HPP_GP_20040424 #include "boost/config.hpp" #include "boost/detail/workaround.hpp" // support for pre 3.0 libstdc++ - thanks Phil Edwards! #if defined (__STL_CONFIG_H) && !defined (__STL_USE_NEW_IOSTREAMS) # define BOOST_OLD_IOSTREAMS #endif // this should be in the config system some day // see http://lists.boost.org/MailArchives/boost/msg62291.php #define BOOST_DYNAMIC_BITSET_GNUC_VERSION ( __GNUC__ * 100 * 100 \ + __GNUC_MINOR__ * 100) // no-op function to workaround gcc bug c++/8419 // namespace boost { namespace detail { template
T make_non_const(T t) { return t; } }} #if defined(__GNUC__) && BOOST_WORKAROUND(BOOST_DYNAMIC_BITSET_GNUC_VERSION, \ BOOST_TESTED_AT(30300)) # define BOOST_DYNAMIC_BITSET_WRAP_CONSTANT(expr) \ (boost::detail::make_non_const(expr)) #else # define BOOST_DYNAMIC_BITSET_WRAP_CONSTANT(expr) (expr) #endif // #if (defined __BORLANDC__ && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))) \ || (defined BOOST_NO_MEMBER_TEMPLATE_FRIENDS) #define BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS #endif // if we can't use friends then we simply expose private members // #if defined(BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS) #define BOOST_DYNAMIC_BITSET_PRIVATE public #else #define BOOST_DYNAMIC_BITSET_PRIVATE private #endif // A couple of macros to cope with libraries without locale // support. The first macro must be used to declare a reference // to a ctype facet. The second one to widen a char by using // that ctype object. If facets and locales aren't available // the first macro is a no-op and the second one just expands // to its parameter c. // #if defined (BOOST_USE_FACET) #define BOOST_DYNAMIC_BITSET_CTYPE_FACET(ch, name, loc) \ const std::ctype
& name = \ BOOST_USE_FACET(std::ctype
, loc) /**/ #define BOOST_DYNAMIC_BITSET_WIDEN_CHAR(fac, c) \ (fac.widen(c)) #else #define BOOST_DYNAMIC_BITSET_CTYPE_FACET(ch, name, loc) /**/ #define BOOST_DYNAMIC_BITSET_WIDEN_CHAR(fac, c) c #endif #endif // include guard
config.hpp
网页地址
文件地址
上一页 1/2
下一页
下载
( 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.