0b6a182c
Hu Chunming
添加无鉴权注册和注销
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// 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)
#ifndef BOOST_QVM_STATIC_ASSERT
# if __cplusplus >= 201103L
# include <utility>
# define BOOST_QVM_STATIC_ASSERT(condition) static_assert(condition, "Boost QVM static assertion failure")
# else
# ifdef __GNUC__
# define BOOST_QVM_ATTRIBUTE_UNUSED __attribute__((unused))
# else
# define BOOST_QVM_ATTRIBUTE_UNUSED
# endif
# define BOOST_QVM_TOKEN_PASTE(x, y) x ## y
# define BOOST_QVM_TOKEN_PASTE2(x, y) BOOST_QVM_TOKEN_PASTE(x, y)
# define BOOST_QVM_STATIC_ASSERT(condition) typedef char BOOST_QVM_TOKEN_PASTE2(boost_qvm_static_assert_failure_,__LINE__)[(condition)?1:-1] BOOST_QVM_ATTRIBUTE_UNUSED
# endif
#endif
|