YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Language Implementation Features

语言实现的特性。 更多...

宏定义

#define YB_HAS_ALIGNAS
 内建 alignas 支持。 更多...
 
#define YB_HAS_ALIGNOF   (YB_IMPL_CPP >= 201103L || YB_IMPL_GNUCPP >= 40500)
 内建 alignof 支持。 更多...
 
#define YB_HAS_BUILTIN_NULLPTR
 内建 nullptr 支持。 更多...
 
#define YB_HAS_CONSTEXPR
 constexpr 支持。 更多...
 
#define YB_HAS_NOEXCEPT
 
#define YB_HAS_THREAD_LOCAL
 thread_local 支持。 更多...
 

详细描述

语言实现的特性。

自从
build 294

宏定义说明

#define YB_HAS_ALIGNAS
值:
(__has_feature(cxx_alignas) || __has_extension(cxx_alignas) || \
YB_IMPL_GNUCPP >= 40800)
#define __has_feature(...)
特性检测宏补充定义:若不可用则替换为预处理记号 0 。
Definition: ydef.h:118
#define __has_extension(...)
Definition: ydef.h:122

内建 alignas 支持。

自从
build 389

在文件 ydef.h192 行定义.

#define YB_HAS_ALIGNOF   (YB_IMPL_CPP >= 201103L || YB_IMPL_GNUCPP >= 40500)

内建 alignof 支持。

自从
build 315

在文件 ydef.h202 行定义.

#define YB_HAS_BUILTIN_NULLPTR
值:
(__has_feature(cxx_nullptr) || __has_extension(cxx_nullptr) || \
YB_IMPL_CPP >= 201103L || YB_IMPL_GNUCPP >= 40600 || \
YB_IMPL_MSCPP >= 1600)
#define __has_feature(...)
特性检测宏补充定义:若不可用则替换为预处理记号 0 。
Definition: ydef.h:118
#define __has_extension(...)
Definition: ydef.h:122

内建 nullptr 支持。

自从
build 313

在文件 ydef.h210 行定义.

#define YB_HAS_CONSTEXPR
值:
(__has_feature(cxx_constexpr) || YB_IMPL_CPP >= 201103L || \
YB_IMPL_GNUCPP >= 40600)
#define __has_feature(...)
特性检测宏补充定义:若不可用则替换为预处理记号 0 。
Definition: ydef.h:118

constexpr 支持。

自从
build 313

在文件 ydef.h221 行定义.

#define YB_HAS_NOEXCEPT
值:
(__has_feature(cxx_noexcept) || __has_extension(cxx_noexcept) || \
YB_IMPL_CPP >= 201103L || YB_IMPL_GNUCPP >= 40600)
#define __has_feature(...)
特性检测宏补充定义:若不可用则替换为预处理记号 0 。
Definition: ydef.h:118
#define __has_extension(...)
Definition: ydef.h:122

在文件 ydef.h231 行定义.

#define YB_HAS_THREAD_LOCAL
值:
(__has_feature(cxx_thread_local) || (YB_IMPL_CPP >= 201103L \
&& !YB_IMPL_GNUCPP) || YB_IMPL_GNUCPP >= 40800)
#define __has_feature(...)
特性检测宏补充定义:若不可用则替换为预处理记号 0 。
Definition: ydef.h:118

thread_local 支持。

参见
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
自从
build 425

在文件 ydef.h242 行定义.