提交 f00fd1ea 编写于 作者: Y youngwolf

Support c++2a standard.

上级 0232a558
......@@ -678,13 +678,12 @@
static_assert(__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1), "ascs needs Clang 3.1 or higher.");
#else
static_assert(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6), "ascs needs GCC 4.7 or higher.");
#if __GNUC__ >= 9
#define ASCS_COPY_ALL_AND_THIS [=, this]
#endif
#endif
#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && (!defined(__cplusplus) || __cplusplus < 201103L)
#error ascs needs c++11 or higher.
#elif __cplusplus > 201703L
#define ASCS_COPY_ALL_AND_THIS [=, this]
#endif
#define ASCS_SF "%zu" //format used to print 'size_t'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册