x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
circular_buffer.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\circular_buffer.hpp
旋转
特效
属性
历史版本
// Circular buffer library header file. // Copyright (c) 2003-2007 Jan Gaspar // 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) // See www.boost.org/libs/circular_buffer for documentation. #if !defined(BOOST_CIRCULAR_BUFFER_HPP) #define BOOST_CIRCULAR_BUFFER_HPP #if defined(_MSC_VER) && _MSC_VER >= 1200 #pragma once #endif #include "circular_buffer_fwd.hpp" #include
// BOOST_CB_ENABLE_DEBUG: Debug support control. #if defined(NDEBUG) || defined(BOOST_CB_DISABLE_DEBUG) #define BOOST_CB_ENABLE_DEBUG 0 #else #define BOOST_CB_ENABLE_DEBUG 1 #endif // BOOST_CB_ASSERT: Runtime assertion. #if BOOST_CB_ENABLE_DEBUG #include
#define BOOST_CB_ASSERT(Expr) BOOST_ASSERT(Expr) #else #define BOOST_CB_ASSERT(Expr) ((void)0) #endif // BOOST_CB_STATIC_ASSERT: Compile time assertion. #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) #define BOOST_CB_STATIC_ASSERT(Expr) ((void)0) #else #include
#define BOOST_CB_STATIC_ASSERT(Expr) BOOST_STATIC_ASSERT(Expr) #endif // BOOST_CB_IS_CONVERTIBLE: Check if Iterator::value_type is convertible to Type. #if BOOST_WORKAROUND(__BORLANDC__, <= 0x0550) || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) || \ BOOST_WORKAROUND(BOOST_MSVC, < 1300) #define BOOST_CB_IS_CONVERTIBLE(Iterator, Type) ((void)0) #else #include
#include
#define BOOST_CB_IS_CONVERTIBLE(Iterator, Type) \ BOOST_CB_STATIC_ASSERT((is_convertible
::value_type, Type>::value)) #endif // BOOST_CB_ASSERT_TEMPLATED_ITERATOR_CONSTRUCTORS: // Check if the STL provides templated iterator constructors for its containers. #if defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS) #define BOOST_CB_ASSERT_TEMPLATED_ITERATOR_CONSTRUCTORS BOOST_CB_STATIC_ASSERT(false); #else #define BOOST_CB_ASSERT_TEMPLATED_ITERATOR_CONSTRUCTORS ((void)0); #endif #include "circular_buffer/debug.hpp" #include "circular_buffer/details.hpp" #include "circular_buffer/base.hpp" #include "circular_buffer/space_optimized.hpp" #undef BOOST_CB_ASSERT_TEMPLATED_ITERATOR_CONSTRUCTORS #undef BOOST_CB_IS_CONVERTIBLE #undef BOOST_CB_STATIC_ASSERT #undef BOOST_CB_ASSERT #undef BOOST_CB_ENABLE_DEBUG #endif // #if !defined(BOOST_CIRCULAR_BUFFER_HPP)
circular_buffer.hpp
网页地址
文件地址
上一页
15/113
下一页
下载
( 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.