File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Copyright René Ferdinand Rivera Morell 2024
2+ # Copyright Andrey Semashev 2025
3+ #
24# Distributed under the Boost Software License, Version 1.0.
35# (See accompanying file LICENSE_1_0.txt or copy at
46# http://www.boost.org/LICENSE_1_0.txt)
57
68require-b2 5.2 ;
79
10+ import-search /boost/config/checks ;
11+ import config : requires ;
12+
813constant boost_dependencies :
914 /boost/assert//boost_assert
1015 /boost/config//boost_config
1116 /boost/core//boost_core
1217 /boost/type_traits//boost_type_traits ;
1318
19+ local cxx_requirements = [ requires
20+ exceptions
21+ sfinae_expr
22+ cxx11_constexpr
23+ cxx11_noexcept
24+ cxx11_decltype
25+ cxx11_rvalue_references
26+ cxx11_template_aliases
27+ cxx11_variadic_templates
28+ cxx11_defaulted_functions
29+ cxx11_deleted_functions
30+ cxx11_function_template_default_args
31+ cxx11_hdr_type_traits
32+ ] ;
33+
1434project /boost/scope
1535 : common-requirements
1636 <include>include
1737 ;
1838
1939explicit
20- [ alias boost_scope : : : : <library>$(boost_dependencies) ]
40+ [ alias boost_scope : : $(cxx_requirements) : : $(cxx_requirements) <library>$(boost_dependencies) ]
2141 [ alias all : boost_scope test ]
2242 ;
2343
Original file line number Diff line number Diff line change 1- # Copyright 2023-2024 Andrey Semashev
1+ # Copyright 2023-2025 Andrey Semashev
22#
33# Distributed under the Boost Software License, Version 1.0.
44# (See accompanying file LICENSE_1_0.txt or copy at
@@ -21,25 +21,18 @@ project
2121 <c++-template-depth>1024
2222
2323 [ requires
24- # Requirements of Boost.Scope implementation
2524 exceptions
26- sfinae_expr
27- cxx11_constexpr
28- cxx11_noexcept
29- cxx11_rvalue_references
30- cxx11_decltype
31- cxx11_template_aliases
32- cxx11_variadic_templates
33- cxx11_defaulted_functions
34- cxx11_deleted_functions
35- cxx11_function_template_default_args
36- cxx11_hdr_type_traits
37-
38- # Requirements of Boost.Scope tests
3925 cxx11_nullptr
4026 cxx11_lambdas
27+ cxx11_decltype
28+ cxx11_noexcept
29+ cxx11_constexpr
30+ cxx11_template_aliases
31+ cxx11_rvalue_references
4132 cxx11_auto_declarations
4233 cxx11_unified_initialization_syntax
34+ cxx11_defaulted_functions
35+ cxx11_deleted_functions
4336 cxx11_hdr_system_error
4437 ]
4538
Original file line number Diff line number Diff line change 1919#include < ostream>
2020#include < utility>
2121#include < stdexcept>
22- #include < type_traits>
2322
2423template < typename Resource >
2524struct empty_resource_deleter
You can’t perform that action at this time.
0 commit comments