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
28
29
30
31
32
33
|
// Copyright (C) 2020 T. Zachary Laine
//
// 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_STL_INTERFACES_CONFIG_HPP
#define BOOST_STL_INTERFACES_CONFIG_HPP
// Included for definition of __cpp_lib_concepts.
#include <iterator>
#if defined(__cpp_lib_concepts) && defined(__cpp_lib_ranges) && \
!defined(BOOST_STL_INTERFACES_DISABLE_CONCEPTS)
#define BOOST_STL_INTERFACES_USE_CONCEPTS 1
#else
#define BOOST_STL_INTERFACES_USE_CONCEPTS 0
#endif
// The inline namespaces v1 and v2 represent pre- and post-C++20. v1 is
// inline for standards before C++20, and v2 is inline for C++20 and later.
// Note that this only applies to code for which a v2 namespace alternative
// exists. Some instances of the v1 namespace may still be inline, if there
// is no v2 version of its contents.
#if BOOST_STL_INTERFACES_USE_CONCEPTS
# define BOOST_STL_INTERFACES_NAMESPACE_V1 namespace v1
# define BOOST_STL_INTERFACES_NAMESPACE_V2 inline namespace v2
#else
# define BOOST_STL_INTERFACES_NAMESPACE_V1 inline namespace v1
# define BOOST_STL_INTERFACES_NAMESPACE_V2 namespace v2
#endif
#endif
|