x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
cygwin_error.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\system\cygwin_error.hpp
旋转
特效
属性
历史版本
// boost/system/cygwin_error.hpp -------------------------------------------// // Copyright Beman Dawes 2007 // 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 library home page at http://www.boost.org/libs/system #ifndef BOOST_CYGWIN_ERROR_HPP #define BOOST_CYGWIN_ERROR_HPP // This header is effectively empty for compiles on operating systems where // it is not applicable. # ifdef __CYGWIN__ #include
namespace boost { namespace system { // To construct an error_code after a API error: // // error_code( errno, system_category ) // User code should use the portable "posix" enums for POSIX errors; this // allows such code to be portable to non-POSIX systems. For the non-POSIX // errno values that POSIX-based systems typically provide in addition to // POSIX values, use the system specific enums below. namespace cygwin_error { enum cygwin_errno { no_net = ENONET, no_package = ENOPKG, no_share = ENOSHARE }; } // namespace cygwin_error template<> struct is_error_code_enum
{ static const bool value = true; }; namespace cygwin_error { inline error_code make_error_code( cygwin_errno e ) { return error_code( e, get_system_category() ); } } } } #endif // __CYGWIN__ #endif // BOOST_CYGWIN_ERROR_HPP
cygwin_error.hpp
网页地址
文件地址
上一页
2/6
下一页
下载
( 1 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.