YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YCLib/Host.cpp
浏览该文件的文档.
1 /*
2  © 2014 FrankHB.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
29 #include "YCLib/YModules.h"
30 #include YFM_YCLib_Host
31 
32 using namespace YSLib;
33 
34 #if YF_Hosted
35 namespace platform_ex
36 {
37 
38 Exception::Exception(const std::string& s, LevelType l) ynothrow
39  : LoggedEvent(s, l)
40 {}
41 
42 } // namespace YSLib;
43 #endif
44 
std::exception Exception
YSLib 异常基类。
Definition: yexcept.h:44
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
Definition: ydef.h:514
GSStringTemplate< char >::basic_string string
Definition: ycont.h:164
记录日志的异常事件类。
Definition: yexcept.h:58