Skip to content

Commit 8a7079d

Browse files
committed
引入通配符库
1 parent 1b9d106 commit 8a7079d

File tree

19 files changed

+2979
-1
lines changed

19 files changed

+2979
-1
lines changed

3rd/wildcards/LICENSE_1_0.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Boost Software License - Version 1.0 - August 17th, 2003
2+
3+
Permission is hereby granted, free of charge, to any person or organization
4+
obtaining a copy of the software and accompanying documentation covered by
5+
this license (the "Software") to use, reproduce, display, distribute,
6+
execute, and transmit the Software, and to prepare derivative works of the
7+
Software, and to permit third-parties to whom the Software is furnished to
8+
do so, all subject to the following:
9+
10+
The copyright notices in the Software and this entire statement, including
11+
the above license grant, this restriction and the following disclaimer,
12+
must be included in all copies of the Software, in whole or in part, and
13+
all derivative works of the Software, unless such copies or derivative
14+
works are solely in the form of machine-executable object code generated by
15+
a source language processor.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
DEALINGS IN THE SOFTWARE.

3rd/wildcards/include/config.hpp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Copyright Tomas Zeman 2018.
2+
// Distributed under the Boost Software License, Version 1.0.
3+
// (See accompanying file LICENSE_1_0.txt or copy at
4+
// http://www.boost.org/LICENSE_1_0.txt)
5+
6+
#ifndef CONFIG_HPP
7+
#define CONFIG_HPP
8+
9+
#include "cpp_feature.hpp"
10+
11+
#define cfg_HAS_CONSTEXPR14 (__cpp_constexpr >= 201304)
12+
13+
#if cfg_HAS_CONSTEXPR14
14+
#define cfg_constexpr14 constexpr
15+
#else
16+
#define cfg_constexpr14
17+
#endif
18+
19+
#if cfg_HAS_CONSTEXPR14 && defined(__clang__)
20+
#define cfg_HAS_FULL_FEATURED_CONSTEXPR14 1
21+
#else
22+
#define cfg_HAS_FULL_FEATURED_CONSTEXPR14 1
23+
#endif
24+
25+
#endif // CONFIG_HPP

0 commit comments

Comments
 (0)