File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ project
22
22
[ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ]
23
23
[ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_hdr_chrono cxx11_thread_local cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_atomic cxx11_hdr_type_traits cxx11_allocator cxx11_explicit_conversion_operators ]
24
24
[ requires cxx14_constexpr cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates ]
25
+ [ check-target-builds ../config//has_cxx14_type_traits "cxx14_type_traits" : : <build>no ]
25
26
: usage-requirements
26
27
<define>BOOST_MATH_TR1_NO_LIB=1
27
28
;
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ obj has_gmp : has_gmp.cpp :
36
36
obj is_ci_sanitizer_run : is_ci_sanitizer_run.cpp ;
37
37
obj is_ci_standalone_run : is_ci_standalone_run.cpp ;
38
38
obj is_cygwin_run : is_cygwin_run.cpp ;
39
+ obj has_cxx14_type_traits : has_cxx14_type_traits.cpp ;
39
40
40
41
explicit has_long_double_support ;
41
42
explicit has_mpfr_class ;
@@ -52,3 +53,4 @@ explicit has_fftw3 ;
52
53
explicit is_ci_sanitizer_run ;
53
54
explicit is_ci_standalone_run ;
54
55
explicit is_cygwin_run ;
56
+ explicit has_cxx14_type_traits ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2025 Matt Borland
2
+ // Distributed under the Boost Software License, Version 1.0.
3
+ // https://www.boost.org/LICENSE_1_0.txt
4
+
5
+ #include < type_traits>
6
+ #include < cstdint>
7
+
8
+ using big_int = std::conditional_t <(sizeof (long ) > sizeof (std::uint32_t )), long , std::uint32_t >;
9
+ static_assert (sizeof (big_int) >= sizeof(std::uint32_t ), "big_int is too small");
10
+
11
+ int main ()
12
+ {
13
+ return 0 ;
14
+ }
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ project
76
76
<search>$(mpfr_path)/build.vc10/lib/Win32/Debug
77
77
[ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_hdr_chrono cxx11_thread_local cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_atomic cxx11_hdr_type_traits cxx11_allocator cxx11_explicit_conversion_operators ]
78
78
[ requires cxx14_constexpr cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates ]
79
+ [ check-target-builds ../config//has_cxx14_type_traits "cxx14_type_traits" : : <build>no ]
79
80
;
80
81
81
82
if $(ntl-path)
You can’t perform that action at this time.
0 commit comments