2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

X3.Examples: tuple: Do not run on unsupported compilers

This commit is contained in:
Nikita Kniazev
2021-06-01 22:46:29 +03:00
parent 3b64a41889
commit 8ba926425a
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,8 @@
# 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)
#==============================================================================
import config : requires ;
project spirit-x3-example
: requirements
<include>.
@@ -62,4 +64,4 @@ exe x3_calc9 :
calc/calc9/main.cpp
;
exe x3_tuple : attributes/tuple.cpp ;
exe x3_tuple : attributes/tuple.cpp : [ requires cxx17_structured_bindings ] ;

View File

@@ -1,4 +1,3 @@
/*=============================================================================
Copyright (c) 2019 Tom Tan
@@ -47,4 +46,4 @@ int main()
std::cout << "length = " << len << '\n'
<< "id = " << id << '\n'
<< "revision =" << rev;
}
}