├── .circleci └── config.yml ├── .drone.star ├── .drone ├── after-success.sh ├── before-install.sh ├── before-script.sh └── boost.sh ├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CMakeLists.txt ├── README.md ├── appveyor.yml ├── build.jam ├── checks ├── Jamfile.v2 ├── architecture │ ├── .gitignore │ ├── 32.cpp │ ├── 64.cpp │ ├── Jamfile.jam │ ├── arm.cpp │ ├── combined.cpp │ ├── loongarch.cpp │ ├── mips.cpp │ ├── power.cpp │ ├── riscv.cpp │ ├── s390x.cpp │ ├── sparc.cpp │ └── x86.cpp ├── config.jam ├── std │ ├── cpp_aggregate_bases_17.cpp │ ├── cpp_aggregate_nsdmi_14.cpp │ ├── cpp_alias_templates_11.cpp │ ├── cpp_aligned_new_17.cpp │ ├── cpp_attributes_11.cpp │ ├── cpp_binary_literals_14.cpp │ ├── cpp_capture_star_this_17.cpp │ ├── cpp_char8_t_20.cpp │ ├── cpp_conditional_explicit_20.cpp │ ├── cpp_consteval_23.cpp │ ├── cpp_constexpr_11.cpp │ ├── cpp_constexpr_14.cpp │ ├── cpp_constexpr_17.cpp │ ├── cpp_decltype_11.cpp │ ├── cpp_decltype_auto_14.cpp │ ├── cpp_deduction_guides_17.cpp │ ├── cpp_delegating_constructors_11.cpp │ ├── cpp_enumerator_attributes_17.cpp │ ├── cpp_exceptions_03.cpp │ ├── cpp_explicit_conversion_11.cpp │ ├── cpp_explicit_this_parameter_23.cpp │ ├── cpp_fold_expressions_17.cpp │ ├── cpp_generic_lambdas_14.cpp │ ├── cpp_guaranteed_copy_elision_17.cpp │ ├── cpp_hex_float_17.cpp │ ├── cpp_if_consteval_23.cpp │ ├── cpp_if_constexpr_17.cpp │ ├── cpp_impl_destroying_delete_20.cpp │ ├── cpp_impl_three_way_comparison_20.cpp │ ├── cpp_implicit_move_23.cpp │ ├── cpp_inheriting_constructors_11.cpp │ ├── cpp_inheriting_constructors_17.cpp │ ├── cpp_init_captures_14.cpp │ ├── cpp_initializer_lists_11.cpp │ ├── cpp_inline_variables_17.cpp │ ├── cpp_lambdas_11.cpp │ ├── cpp_lib_addressof_constexpr_17.cpp │ ├── cpp_lib_allocator_traits_is_always_equal_17.cpp │ ├── cpp_lib_any_17.cpp │ ├── cpp_lib_apply_17.cpp │ ├── cpp_lib_array_constexpr_17.cpp │ ├── cpp_lib_as_const_17.cpp │ ├── cpp_lib_atomic_is_always_lock_free_17.cpp │ ├── cpp_lib_atomic_ref_20.cpp │ ├── cpp_lib_bind_front_20.cpp │ ├── cpp_lib_bit_cast_20.cpp │ ├── cpp_lib_bool_constant_17.cpp │ ├── cpp_lib_boyer_moore_searcher_17.cpp │ ├── cpp_lib_byte_17.cpp │ ├── cpp_lib_char8_t_20.cpp │ ├── cpp_lib_chrono_17.cpp │ ├── cpp_lib_chrono_udls_14.cpp │ ├── cpp_lib_clamp_17.cpp │ ├── cpp_lib_complex_udls_14.cpp │ ├── cpp_lib_concepts_20.cpp │ ├── cpp_lib_constexpr_misc_20.cpp │ ├── cpp_lib_constexpr_swap_algorithms_20.cpp │ ├── cpp_lib_destroying_delete_20.cpp │ ├── cpp_lib_enable_shared_from_this_17.cpp │ ├── cpp_lib_erase_if_20.cpp │ ├── cpp_lib_exchange_function_14.cpp │ ├── cpp_lib_execution_17.cpp │ ├── cpp_lib_filesystem_17.cpp │ ├── cpp_lib_gcd_lcm_17.cpp │ ├── cpp_lib_generic_associative_lookup_14.cpp │ ├── cpp_lib_generic_unordered_lookup_20.cpp │ ├── cpp_lib_hardware_interference_size_17.cpp │ ├── cpp_lib_has_unique_object_representations_17.cpp │ ├── cpp_lib_hypot_17.cpp │ ├── cpp_lib_incomplete_container_elements_17.cpp │ ├── cpp_lib_integer_sequence_14.cpp │ ├── cpp_lib_integral_constant_callable_14.cpp │ ├── cpp_lib_invoke_17.cpp │ ├── cpp_lib_is_aggregate_17.cpp │ ├── cpp_lib_is_constant_evaluated_20.cpp │ ├── cpp_lib_is_final_14.cpp │ ├── cpp_lib_is_invocable_17.cpp │ ├── cpp_lib_is_null_pointer_14.cpp │ ├── cpp_lib_is_swappable_17.cpp │ ├── cpp_lib_launder_17.cpp │ ├── cpp_lib_list_remove_return_type_20.cpp │ ├── cpp_lib_logical_traits_17.cpp │ ├── cpp_lib_make_from_tuple_17.cpp │ ├── cpp_lib_make_reverse_iterator_14.cpp │ ├── cpp_lib_make_unique_14.cpp │ ├── cpp_lib_map_try_emplace_17.cpp │ ├── cpp_lib_math_special_functions_17.cpp │ ├── cpp_lib_memory_resource_17.cpp │ ├── cpp_lib_node_extract_17.cpp │ ├── cpp_lib_nonmember_container_access_17.cpp │ ├── cpp_lib_not_fn_17.cpp │ ├── cpp_lib_null_iterators_14.cpp │ ├── cpp_lib_optional_17.cpp │ ├── cpp_lib_parallel_algorithm_17.cpp │ ├── cpp_lib_quoted_string_io_14.cpp │ ├── cpp_lib_ranges_20.cpp │ ├── cpp_lib_raw_memory_algorithms_17.cpp │ ├── cpp_lib_result_of_sfinae_14.cpp │ ├── cpp_lib_robust_nonmodifying_seq_ops_14.cpp │ ├── cpp_lib_sample_17.cpp │ ├── cpp_lib_scoped_lock_17.cpp │ ├── cpp_lib_shared_mutex_17.cpp │ ├── cpp_lib_shared_ptr_arrays_17.cpp │ ├── cpp_lib_shared_ptr_weak_type_17.cpp │ ├── cpp_lib_shared_timed_mutex_14.cpp │ ├── cpp_lib_string_udls_14.cpp │ ├── cpp_lib_string_view_17.cpp │ ├── cpp_lib_three_way_comparison_20.cpp │ ├── cpp_lib_to_chars_17.cpp │ ├── cpp_lib_transformation_trait_aliases_14.cpp │ ├── cpp_lib_transparent_operators_14.cpp │ ├── cpp_lib_transparent_operators_17.cpp │ ├── cpp_lib_tuple_element_t_14.cpp │ ├── cpp_lib_tuples_by_type_14.cpp │ ├── cpp_lib_type_trait_variable_templates_17.cpp │ ├── cpp_lib_uncaught_exceptions_17.cpp │ ├── cpp_lib_unordered_map_try_emplace_17.cpp │ ├── cpp_lib_variant_17.cpp │ ├── cpp_lib_void_t_17.cpp │ ├── cpp_multidimensional_subscript_23.cpp │ ├── cpp_named_character_escapes_23.cpp │ ├── cpp_namespace_attributes_17.cpp │ ├── cpp_noexcept_function_type_17.cpp │ ├── cpp_nontype_template_args_17.cpp │ ├── cpp_nontype_template_parameter_auto_17.cpp │ ├── cpp_nontype_template_parameter_class_20.cpp │ ├── cpp_nsdmi_11.cpp │ ├── cpp_range_based_for_11.cpp │ ├── cpp_range_based_for_17.cpp │ ├── cpp_range_based_for_23.cpp │ ├── cpp_raw_strings_11.cpp │ ├── cpp_ref_qualifiers_11.cpp │ ├── cpp_return_type_deduction_14.cpp │ ├── cpp_rtti_03.cpp │ ├── cpp_rvalue_references_11.cpp │ ├── cpp_size_t_suffix_23.cpp │ ├── cpp_sized_deallocation_14.cpp │ ├── cpp_static_assert_11.cpp │ ├── cpp_static_assert_17.cpp │ ├── cpp_static_call_operator_23.cpp │ ├── cpp_structured_bindings_17.cpp │ ├── cpp_template_template_args_17.cpp │ ├── cpp_threadsafe_static_init_11.cpp │ ├── cpp_unicode_characters_11.cpp │ ├── cpp_unicode_literals_11.cpp │ ├── cpp_user_defined_literals_11.cpp │ ├── cpp_variable_templates_14.cpp │ ├── cpp_variadic_templates_11.cpp │ └── cpp_variadic_using_17.cpp └── test_case.cpp ├── configure ├── doc ├── Jamfile.v2 ├── acknowledgements.qbk ├── build_time.qbk ├── config.qbk ├── configuring_boost.qbk ├── cstdint.qbk ├── guidelines.qbk ├── html │ ├── HTML.manifest │ ├── boost_config │ │ ├── acknowledgements.html │ │ ├── boost_macro_reference.html │ │ ├── build_config.html │ │ ├── cstdint.html │ │ ├── guidelines_for_boost_authors.html │ │ └── rationale.html │ └── index.html ├── macro_reference.qbk └── rationale.qbk ├── include └── boost │ ├── config.hpp │ ├── config │ ├── abi │ │ ├── borland_prefix.hpp │ │ ├── borland_suffix.hpp │ │ ├── msvc_prefix.hpp │ │ └── msvc_suffix.hpp │ ├── abi_prefix.hpp │ ├── abi_suffix.hpp │ ├── assert_cxx03.hpp │ ├── assert_cxx11.hpp │ ├── assert_cxx14.hpp │ ├── assert_cxx17.hpp │ ├── assert_cxx20.hpp │ ├── assert_cxx23.hpp │ ├── assert_cxx98.hpp │ ├── auto_link.hpp │ ├── compiler │ │ ├── borland.hpp │ │ ├── clang.hpp │ │ ├── clang_version.hpp │ │ ├── codegear.hpp │ │ ├── comeau.hpp │ │ ├── common_edg.hpp │ │ ├── compaq_cxx.hpp │ │ ├── cray.hpp │ │ ├── diab.hpp │ │ ├── digitalmars.hpp │ │ ├── gcc.hpp │ │ ├── gcc_xml.hpp │ │ ├── greenhills.hpp │ │ ├── hp_acc.hpp │ │ ├── intel.hpp │ │ ├── kai.hpp │ │ ├── metrowerks.hpp │ │ ├── mpw.hpp │ │ ├── nvcc.hpp │ │ ├── pathscale.hpp │ │ ├── pgi.hpp │ │ ├── sgi_mipspro.hpp │ │ ├── sunpro_cc.hpp │ │ ├── vacpp.hpp │ │ ├── visualc.hpp │ │ ├── xlcpp.hpp │ │ └── xlcpp_zos.hpp │ ├── detail │ │ ├── cxx_composite.hpp │ │ ├── posix_features.hpp │ │ ├── select_compiler_config.hpp │ │ ├── select_platform_config.hpp │ │ ├── select_stdlib_config.hpp │ │ └── suffix.hpp │ ├── header_deprecated.hpp │ ├── helper_macros.hpp │ ├── no_tr1 │ │ ├── cmath.hpp │ │ ├── complex.hpp │ │ ├── functional.hpp │ │ ├── memory.hpp │ │ └── utility.hpp │ ├── platform │ │ ├── aix.hpp │ │ ├── amigaos.hpp │ │ ├── beos.hpp │ │ ├── bsd.hpp │ │ ├── cloudabi.hpp │ │ ├── cray.hpp │ │ ├── cygwin.hpp │ │ ├── haiku.hpp │ │ ├── hpux.hpp │ │ ├── irix.hpp │ │ ├── linux.hpp │ │ ├── macos.hpp │ │ ├── qnxnto.hpp │ │ ├── solaris.hpp │ │ ├── symbian.hpp │ │ ├── vms.hpp │ │ ├── vxworks.hpp │ │ ├── wasm.hpp │ │ ├── win32.hpp │ │ └── zos.hpp │ ├── pragma_message.hpp │ ├── requires_threads.hpp │ ├── stdlib │ │ ├── dinkumware.hpp │ │ ├── libcomo.hpp │ │ ├── libcpp.hpp │ │ ├── libstdcpp3.hpp │ │ ├── modena.hpp │ │ ├── msl.hpp │ │ ├── roguewave.hpp │ │ ├── sgi.hpp │ │ ├── stlport.hpp │ │ ├── vacpp.hpp │ │ └── xlcpp_zos.hpp │ ├── user.hpp │ ├── warning_disable.hpp │ └── workaround.hpp │ ├── cstdint.hpp │ ├── cxx11_char_types.hpp │ ├── detail │ └── workaround.hpp │ ├── limits.hpp │ └── version.hpp ├── index.html ├── meta └── libraries.json ├── test ├── CMakeLists.txt ├── Jamfile.v2 ├── abi │ ├── abi_test.cpp │ ├── abi_test.hpp │ └── main.cpp ├── all │ ├── Jamfile.v2 │ └── options_v2.jam ├── boost_fallthrough_test.cpp ├── boost_has_2arg_use_facet.ipp ├── boost_has_bethreads.ipp ├── boost_has_clock_gettime.ipp ├── boost_has_detect_mismatch.ipp ├── boost_has_dirent_h.ipp ├── boost_has_expm1.ipp ├── boost_has_float128.ipp ├── boost_has_ftime.ipp ├── boost_has_getsystemtimeasfiletime.ipp ├── boost_has_gettimeofday.ipp ├── boost_has_hash.ipp ├── boost_has_int128.ipp ├── boost_has_log1p.ipp ├── boost_has_long_long.ipp ├── boost_has_macro_use_facet.ipp ├── boost_has_ms_int64.ipp ├── boost_has_nanosleep.ipp ├── boost_has_nl_types_h.ipp ├── boost_has_nrvo.ipp ├── boost_has_part_alloc.ipp ├── boost_has_pthread_delay_np.ipp ├── boost_has_pthread_ma_st.ipp ├── boost_has_pthread_yield.ipp ├── boost_has_pthreads.ipp ├── boost_has_rvalue_refs.ipp ├── boost_has_sched_yield.ipp ├── boost_has_sgi_type_traits.ipp ├── boost_has_sigaction.ipp ├── boost_has_slist.ipp ├── boost_has_static_assert.ipp ├── boost_has_stdint_h.ipp ├── boost_has_stlp_use_facet.ipp ├── boost_has_unistd_h.ipp ├── boost_has_variadic_tmpl.ipp ├── boost_has_vc6_mem_templ.ipp ├── boost_has_vc_iterator.ipp ├── boost_has_winthreads.ipp ├── boost_no_adl_barrier.ipp ├── boost_no_arg_dep_lookup.ipp ├── boost_no_array_type_spec.ipp ├── boost_no_auto_declarations.ipp ├── boost_no_auto_multidecl.ipp ├── boost_no_auto_ptr.ipp ├── boost_no_bcb_partial_spec.ipp ├── boost_no_char16_t.ipp ├── boost_no_char32_t.ipp ├── boost_no_com_value_init.ipp ├── boost_no_constexpr.ipp ├── boost_no_ctype_functions.ipp ├── boost_no_cv_spec.ipp ├── boost_no_cv_void_spec.ipp ├── boost_no_cwchar.ipp ├── boost_no_cwctype.ipp ├── boost_no_cxx03.ipp ├── boost_no_cxx11.ipp ├── boost_no_cxx11_addressof.ipp ├── boost_no_cxx11_alignas.ipp ├── boost_no_cxx11_alignof.ipp ├── boost_no_cxx11_allocator.ipp ├── boost_no_cxx11_atomic_sp.ipp ├── boost_no_cxx11_defaulted_moves.ipp ├── boost_no_cxx11_exception.ipp ├── boost_no_cxx11_final.ipp ├── boost_no_cxx11_hdr_array.ipp ├── boost_no_cxx11_hdr_atomic.ipp ├── boost_no_cxx11_hdr_chrono.ipp ├── boost_no_cxx11_hdr_codecvt.ipp ├── boost_no_cxx11_hdr_condition_variable.ipp ├── boost_no_cxx11_hdr_forward_list.ipp ├── boost_no_cxx11_hdr_future.ipp ├── boost_no_cxx11_hdr_initializer_list.ipp ├── boost_no_cxx11_hdr_mutex.ipp ├── boost_no_cxx11_hdr_random.ipp ├── boost_no_cxx11_hdr_ratio.ipp ├── boost_no_cxx11_hdr_regex.ipp ├── boost_no_cxx11_hdr_system_error.ipp ├── boost_no_cxx11_hdr_thread.ipp ├── boost_no_cxx11_hdr_tuple.ipp ├── boost_no_cxx11_hdr_type_traits.ipp ├── boost_no_cxx11_hdr_typeindex.ipp ├── boost_no_cxx11_hdr_unordered_map.ipp ├── boost_no_cxx11_hdr_unordered_set.ipp ├── boost_no_cxx11_inline_namespaces.ipp ├── boost_no_cxx11_non_pub_def_fun.ipp ├── boost_no_cxx11_numeric_limits.ipp ├── boost_no_cxx11_override.ipp ├── boost_no_cxx11_pointer_traits.ipp ├── boost_no_cxx11_ref_qualifiers.ipp ├── boost_no_cxx11_sfinae_expr.ipp ├── boost_no_cxx11_smart_ptr.ipp ├── boost_no_cxx11_std_align.ipp ├── boost_no_cxx11_thread_local.ipp ├── boost_no_cxx11_trailing_result_types.ipp ├── boost_no_cxx11_unrestricted_union.ipp ├── boost_no_cxx11_user_lit.ipp ├── boost_no_cxx14.ipp ├── boost_no_cxx14_binary_literals.ipp ├── boost_no_cxx14_constexpr.ipp ├── boost_no_cxx14_decltype_auto.ipp ├── boost_no_cxx14_digit_separator.ipp ├── boost_no_cxx14_generic_lambda.ipp ├── boost_no_cxx14_hdr_shared_mutex.ipp ├── boost_no_cxx14_lambda_capture.ipp ├── boost_no_cxx14_member_init.ipp ├── boost_no_cxx14_return_type_ded.ipp ├── boost_no_cxx14_std_exchange.ipp ├── boost_no_cxx14_var_templ.ipp ├── boost_no_cxx17.ipp ├── boost_no_cxx17_auto_nontype_template_params.ipp ├── boost_no_cxx17_deduction_guides.ipp ├── boost_no_cxx17_fold_expressions.ipp ├── boost_no_cxx17_hdr_any.ipp ├── boost_no_cxx17_hdr_charconv.ipp ├── boost_no_cxx17_hdr_execution.ipp ├── boost_no_cxx17_hdr_filesystem.ipp ├── boost_no_cxx17_hdr_memory_resource.ipp ├── boost_no_cxx17_hdr_optional.ipp ├── boost_no_cxx17_hdr_string_view.ipp ├── boost_no_cxx17_hdr_variant.ipp ├── boost_no_cxx17_if_constexpr.ipp ├── boost_no_cxx17_inline_variables.ipp ├── boost_no_cxx17_iterator_traits.ipp ├── boost_no_cxx17_std_apply.ipp ├── boost_no_cxx17_std_invoke.ipp ├── boost_no_cxx17_structured_bindings.ipp ├── boost_no_cxx20_hdr_barrier.ipp ├── boost_no_cxx20_hdr_bit.ipp ├── boost_no_cxx20_hdr_compare.ipp ├── boost_no_cxx20_hdr_concepts.ipp ├── boost_no_cxx20_hdr_coroutine.ipp ├── boost_no_cxx20_hdr_format.ipp ├── boost_no_cxx20_hdr_latch.ipp ├── boost_no_cxx20_hdr_numbers.ipp ├── boost_no_cxx20_hdr_ranges.ipp ├── boost_no_cxx20_hdr_semaphore.ipp ├── boost_no_cxx20_hdr_source_location.ipp ├── boost_no_cxx20_hdr_span.ipp ├── boost_no_cxx20_hdr_stop_token.ipp ├── boost_no_cxx20_hdr_syncstream.ipp ├── boost_no_cxx20_hdr_version.ipp ├── boost_no_cxx23_hdr_expected.ipp ├── boost_no_cxx23_hdr_flat_map.ipp ├── boost_no_cxx23_hdr_flat_set.ipp ├── boost_no_cxx23_hdr_generator.ipp ├── boost_no_cxx23_hdr_mdspan.ipp ├── boost_no_cxx23_hdr_print.ipp ├── boost_no_cxx23_hdr_spanstream.ipp ├── boost_no_cxx23_hdr_stacktrace.ipp ├── boost_no_cxx23_hdr_stdfloat.ipp ├── boost_no_cxx98_binders.ipp ├── boost_no_cxx98_function_base.ipp ├── boost_no_cxx98_random_shuffle.ipp ├── boost_no_cxx_hdr_functional.ipp ├── boost_no_decltype.ipp ├── boost_no_decltype_n3276.ipp ├── boost_no_ded_typename.ipp ├── boost_no_defaulted_functions.ipp ├── boost_no_deleted_functions.ipp ├── boost_no_dep_nested_class.ipp ├── boost_no_dep_val_param.ipp ├── boost_no_excep_std.ipp ├── boost_no_exceptions.ipp ├── boost_no_exp_func_tem_arg.ipp ├── boost_no_explicit_cvt_ops.ipp ├── boost_no_extern_template.ipp ├── boost_no_fenv_h.ipp ├── boost_no_fixed_len_variadic_templates.ipp ├── boost_no_func_tmp_order.ipp ├── boost_no_function_template_default_args.ipp ├── boost_no_function_type_spec.ipp ├── boost_no_i64_limits.ipp ├── boost_no_inline_memb_init.ipp ├── boost_no_integral_int64_t.ipp ├── boost_no_iosfwd.ipp ├── boost_no_iostream.ipp ├── boost_no_is_abstract.ipp ├── boost_no_iter_construct.ipp ├── boost_no_lambdas.ipp ├── boost_no_limits.ipp ├── boost_no_limits_const_exp.ipp ├── boost_no_ll_limits.ipp ├── boost_no_long_long.ipp ├── boost_no_mem_func_spec.ipp ├── boost_no_mem_tem_keyword.ipp ├── boost_no_mem_tem_pnts.ipp ├── boost_no_mem_templ_frnds.ipp ├── boost_no_mem_templates.ipp ├── boost_no_nested_friendship.ipp ├── boost_no_noexcept.ipp ├── boost_no_nullptr.ipp ├── boost_no_ops_in_namespace.ipp ├── boost_no_part_spec_def_args.ipp ├── boost_no_partial_spec.ipp ├── boost_no_priv_aggregate.ipp ├── boost_no_ptr_mem_const.ipp ├── boost_no_range_based_for.ipp ├── boost_no_raw_literals.ipp ├── boost_no_restrict_references.ipp ├── boost_no_ret_det.ipp ├── boost_no_rtti.ipp ├── boost_no_rvalue_references.ipp ├── boost_no_scoped_enums.ipp ├── boost_no_sfinae.ipp ├── boost_no_sfinae_expr.ipp ├── boost_no_sstream.ipp ├── boost_no_static_assert.ipp ├── boost_no_std_allocator.ipp ├── boost_no_std_distance.ipp ├── boost_no_std_iter_traits.ipp ├── boost_no_std_iterator.ipp ├── boost_no_std_locale.ipp ├── boost_no_std_messages.ipp ├── boost_no_std_min_max.ipp ├── boost_no_std_oi_assign.ipp ├── boost_no_std_typeinfo.ipp ├── boost_no_std_use_facet.ipp ├── boost_no_std_wstreambuf.ipp ├── boost_no_std_wstring.ipp ├── boost_no_stdc_namespace.ipp ├── boost_no_swprintf.ipp ├── boost_no_tem_local_classes.ipp ├── boost_no_template_aliases.ipp ├── boost_no_template_streams.ipp ├── boost_no_template_template.ipp ├── boost_no_two_phase_lookup.ipp ├── boost_no_typeid.ipp ├── boost_no_typename_with_ctor.ipp ├── boost_no_unicode_literals.ipp ├── boost_no_unified_init.ipp ├── boost_no_using_breaks_adl.ipp ├── boost_no_using_decl_overld.ipp ├── boost_no_using_template.ipp ├── boost_no_variadic_macros.ipp ├── boost_no_variadic_templates.ipp ├── boost_no_void_returns.ipp ├── boost_no_wchar_t.ipp ├── boost_override_test.cpp ├── check_memory.cpp ├── cmd_line_check.cpp ├── config_build_check.cpp ├── config_info.cpp ├── config_test.cpp ├── config_test.cu ├── config_test_c.c ├── cstdint_include_test.cpp ├── cstdint_test.cpp ├── cstdint_test2.cpp ├── has_2arg_use_facet_fail.cpp ├── has_2arg_use_facet_pass.cpp ├── has_bethreads_fail.cpp ├── has_bethreads_pass.cpp ├── has_clock_gettime_fail.cpp ├── has_clock_gettime_pass.cpp ├── has_detect_mismatch_fail.cpp ├── has_detect_mismatch_pass.cpp ├── has_dirent_h_fail.cpp ├── has_dirent_h_pass.cpp ├── has_expm1_fail.cpp ├── has_expm1_pass.cpp ├── has_float128_fail.cpp ├── has_float128_pass.cpp ├── has_ftime_fail.cpp ├── has_ftime_pass.cpp ├── has_getsystemtimeasfiletime_fail.cpp ├── has_getsystemtimeasfiletime_pass.cpp ├── has_gettimeofday_fail.cpp ├── has_gettimeofday_pass.cpp ├── has_hash_fail.cpp ├── has_hash_pass.cpp ├── has_int128_fail.cpp ├── has_int128_pass.cpp ├── has_log1p_fail.cpp ├── has_log1p_pass.cpp ├── has_long_long_fail.cpp ├── has_long_long_pass.cpp ├── has_macro_use_facet_fail.cpp ├── has_macro_use_facet_pass.cpp ├── has_ms_int64_fail.cpp ├── has_ms_int64_pass.cpp ├── has_nanosleep_fail.cpp ├── has_nanosleep_pass.cpp ├── has_nl_types_h_fail.cpp ├── has_nl_types_h_pass.cpp ├── has_nrvo_fail.cpp ├── has_nrvo_pass.cpp ├── has_part_alloc_fail.cpp ├── has_part_alloc_pass.cpp ├── has_pthread_delay_np_fail.cpp ├── has_pthread_delay_np_pass.cpp ├── has_pthread_ma_st_fail.cpp ├── has_pthread_ma_st_pass.cpp ├── has_pthread_yield_fail.cpp ├── has_pthread_yield_pass.cpp ├── has_pthreads_fail.cpp ├── has_pthreads_pass.cpp ├── has_rvalue_refs_fail.cpp ├── has_rvalue_refs_pass.cpp ├── has_sched_yield_fail.cpp ├── has_sched_yield_pass.cpp ├── has_sgi_type_traits_fail.cpp ├── has_sgi_type_traits_pass.cpp ├── has_sigaction_fail.cpp ├── has_sigaction_pass.cpp ├── has_slist_fail.cpp ├── has_slist_pass.cpp ├── has_static_assert_fail.cpp ├── has_static_assert_pass.cpp ├── has_stdint_h_fail.cpp ├── has_stdint_h_pass.cpp ├── has_stlp_use_facet_fail.cpp ├── has_stlp_use_facet_pass.cpp ├── has_unistd_h_fail.cpp ├── has_unistd_h_pass.cpp ├── has_variadic_tmpl_fail.cpp ├── has_variadic_tmpl_pass.cpp ├── has_vc6_mem_templ_fail.cpp ├── has_vc6_mem_templ_pass.cpp ├── has_vc_iterator_fail.cpp ├── has_vc_iterator_pass.cpp ├── has_winthreads_fail.cpp ├── has_winthreads_pass.cpp ├── header_deprecated_test.cpp ├── helper_macro_test.cpp ├── helper_macros_test.cpp ├── limits_test.cpp ├── link │ ├── Jamfile.v2 │ ├── bc_gen.sh │ ├── borland.mak │ ├── common.sh │ ├── link_test.cpp │ ├── link_test.hpp │ ├── main.cpp │ ├── test │ │ └── Jamfile.v2 │ ├── vc6-stlport.mak │ ├── vc6.mak │ ├── vc7-stlport.mak │ ├── vc7.mak │ ├── vc71-stlport.mak │ ├── vc71.mak │ └── vc_gen.sh ├── math_info.cpp ├── no_adl_barrier_fail.cpp ├── no_adl_barrier_pass.cpp ├── no_arg_dep_lookup_fail.cpp ├── no_arg_dep_lookup_pass.cpp ├── no_array_type_spec_fail.cpp ├── no_array_type_spec_pass.cpp ├── no_auto_declarations_fail.cpp ├── no_auto_declarations_pass.cpp ├── no_auto_multidecl_fail.cpp ├── no_auto_multidecl_pass.cpp ├── no_auto_ptr_fail.cpp ├── no_auto_ptr_pass.cpp ├── no_bcb_partial_spec_fail.cpp ├── no_bcb_partial_spec_pass.cpp ├── no_char16_t_fail.cpp ├── no_char16_t_pass.cpp ├── no_char32_t_fail.cpp ├── no_char32_t_pass.cpp ├── no_com_value_init_fail.cpp ├── no_com_value_init_pass.cpp ├── no_constexpr_fail.cpp ├── no_constexpr_pass.cpp ├── no_ctype_functions_fail.cpp ├── no_ctype_functions_pass.cpp ├── no_cv_spec_fail.cpp ├── no_cv_spec_pass.cpp ├── no_cv_void_spec_fail.cpp ├── no_cv_void_spec_pass.cpp ├── no_cwchar_fail.cpp ├── no_cwchar_pass.cpp ├── no_cwctype_fail.cpp ├── no_cwctype_pass.cpp ├── no_cxx03_fail.cpp ├── no_cxx03_pass.cpp ├── no_cxx11_addressof_fail.cpp ├── no_cxx11_addressof_pass.cpp ├── no_cxx11_alignas_fail.cpp ├── no_cxx11_alignas_pass.cpp ├── no_cxx11_alignof_fail.cpp ├── no_cxx11_alignof_pass.cpp ├── no_cxx11_allocator_fail.cpp ├── no_cxx11_allocator_pass.cpp ├── no_cxx11_atomic_sp_fail.cpp ├── no_cxx11_atomic_sp_pass.cpp ├── no_cxx11_defaulted_moves_fail.cpp ├── no_cxx11_defaulted_moves_pass.cpp ├── no_cxx11_exception_fail.cpp ├── no_cxx11_exception_pass.cpp ├── no_cxx11_fail.cpp ├── no_cxx11_final_fail.cpp ├── no_cxx11_final_pass.cpp ├── no_cxx11_hdr_array_fail.cpp ├── no_cxx11_hdr_array_pass.cpp ├── no_cxx11_hdr_atomic_fail.cpp ├── no_cxx11_hdr_atomic_pass.cpp ├── no_cxx11_hdr_chrono_fail.cpp ├── no_cxx11_hdr_chrono_pass.cpp ├── no_cxx11_hdr_codecvt_fail.cpp ├── no_cxx11_hdr_codecvt_pass.cpp ├── no_cxx11_hdr_condition_variable_fail.cpp ├── no_cxx11_hdr_condition_variable_pass.cpp ├── no_cxx11_hdr_forward_list_fail.cpp ├── no_cxx11_hdr_forward_list_pass.cpp ├── no_cxx11_hdr_future_fail.cpp ├── no_cxx11_hdr_future_pass.cpp ├── no_cxx11_hdr_initializer_list_fail.cpp ├── no_cxx11_hdr_initializer_list_pass.cpp ├── no_cxx11_hdr_mutex_fail.cpp ├── no_cxx11_hdr_mutex_pass.cpp ├── no_cxx11_hdr_random_fail.cpp ├── no_cxx11_hdr_random_pass.cpp ├── no_cxx11_hdr_ratio_fail.cpp ├── no_cxx11_hdr_ratio_pass.cpp ├── no_cxx11_hdr_regex_fail.cpp ├── no_cxx11_hdr_regex_pass.cpp ├── no_cxx11_hdr_system_error_fail.cpp ├── no_cxx11_hdr_system_error_pass.cpp ├── no_cxx11_hdr_thread_fail.cpp ├── no_cxx11_hdr_thread_pass.cpp ├── no_cxx11_hdr_tuple_fail.cpp ├── no_cxx11_hdr_tuple_pass.cpp ├── no_cxx11_hdr_type_traits_fail.cpp ├── no_cxx11_hdr_type_traits_pass.cpp ├── no_cxx11_hdr_typeindex_fail.cpp ├── no_cxx11_hdr_typeindex_pass.cpp ├── no_cxx11_hdr_unordered_map_fail.cpp ├── no_cxx11_hdr_unordered_map_pass.cpp ├── no_cxx11_hdr_unordered_set_fail.cpp ├── no_cxx11_hdr_unordered_set_pass.cpp ├── no_cxx11_inline_namespaces_fail.cpp ├── no_cxx11_inline_namespaces_pass.cpp ├── no_cxx11_non_pub_def_fun_fail.cpp ├── no_cxx11_non_pub_def_fun_pass.cpp ├── no_cxx11_numeric_limits_fail.cpp ├── no_cxx11_numeric_limits_pass.cpp ├── no_cxx11_override_fail.cpp ├── no_cxx11_override_pass.cpp ├── no_cxx11_pass.cpp ├── no_cxx11_pointer_traits_fail.cpp ├── no_cxx11_pointer_traits_pass.cpp ├── no_cxx11_ref_qualifiers_fail.cpp ├── no_cxx11_ref_qualifiers_pass.cpp ├── no_cxx11_sfinae_expr_fail.cpp ├── no_cxx11_sfinae_expr_pass.cpp ├── no_cxx11_smart_ptr_fail.cpp ├── no_cxx11_smart_ptr_pass.cpp ├── no_cxx11_std_align_fail.cpp ├── no_cxx11_std_align_pass.cpp ├── no_cxx11_thread_local_fail.cpp ├── no_cxx11_thread_local_pass.cpp ├── no_cxx11_trailing_result_types_fail.cpp ├── no_cxx11_trailing_result_types_pass.cpp ├── no_cxx11_unrestricted_union_fail.cpp ├── no_cxx11_unrestricted_union_pass.cpp ├── no_cxx11_user_lit_fail.cpp ├── no_cxx11_user_lit_pass.cpp ├── no_cxx14_binary_literals_fail.cpp ├── no_cxx14_binary_literals_pass.cpp ├── no_cxx14_constexpr_fail.cpp ├── no_cxx14_constexpr_pass.cpp ├── no_cxx14_decltype_auto_fail.cpp ├── no_cxx14_decltype_auto_pass.cpp ├── no_cxx14_digit_separator_fail.cpp ├── no_cxx14_digit_separator_pass.cpp ├── no_cxx14_fail.cpp ├── no_cxx14_generic_lambda_fail.cpp ├── no_cxx14_generic_lambda_pass.cpp ├── no_cxx14_hdr_shared_mutex_fail.cpp ├── no_cxx14_hdr_shared_mutex_pass.cpp ├── no_cxx14_lambda_capture_fail.cpp ├── no_cxx14_lambda_capture_pass.cpp ├── no_cxx14_member_init_fail.cpp ├── no_cxx14_member_init_pass.cpp ├── no_cxx14_pass.cpp ├── no_cxx14_return_type_ded_fail.cpp ├── no_cxx14_return_type_ded_pass.cpp ├── no_cxx14_std_exchange_fail.cpp ├── no_cxx14_std_exchange_pass.cpp ├── no_cxx14_var_templ_fail.cpp ├── no_cxx14_var_templ_pass.cpp ├── no_cxx17_auto_nontype_template_params_fail.cpp ├── no_cxx17_auto_nontype_template_params_pass.cpp ├── no_cxx17_deduction_guides_fail.cpp ├── no_cxx17_deduction_guides_pass.cpp ├── no_cxx17_fail.cpp ├── no_cxx17_fold_expressions_fail.cpp ├── no_cxx17_fold_expressions_pass.cpp ├── no_cxx17_hdr_any_fail.cpp ├── no_cxx17_hdr_any_pass.cpp ├── no_cxx17_hdr_char_conv_fail.cpp ├── no_cxx17_hdr_char_conv_pass.cpp ├── no_cxx17_hdr_charconv_fail.cpp ├── no_cxx17_hdr_charconv_pass.cpp ├── no_cxx17_hdr_execution_fail.cpp ├── no_cxx17_hdr_execution_pass.cpp ├── no_cxx17_hdr_filesystem_fail.cpp ├── no_cxx17_hdr_filesystem_pass.cpp ├── no_cxx17_hdr_memory_resource_fail.cpp ├── no_cxx17_hdr_memory_resource_pass.cpp ├── no_cxx17_hdr_optional_fail.cpp ├── no_cxx17_hdr_optional_pass.cpp ├── no_cxx17_hdr_string_view_fail.cpp ├── no_cxx17_hdr_string_view_pass.cpp ├── no_cxx17_hdr_variant_fail.cpp ├── no_cxx17_hdr_variant_pass.cpp ├── no_cxx17_if_constexpr_fail.cpp ├── no_cxx17_if_constexpr_pass.cpp ├── no_cxx17_inline_variables_fail.cpp ├── no_cxx17_inline_variables_pass.cpp ├── no_cxx17_iterator_traits_fail.cpp ├── no_cxx17_iterator_traits_pass.cpp ├── no_cxx17_pass.cpp ├── no_cxx17_std_apply_fail.cpp ├── no_cxx17_std_apply_pass.cpp ├── no_cxx17_std_invoke_fail.cpp ├── no_cxx17_std_invoke_pass.cpp ├── no_cxx17_structured_bindings_fail.cpp ├── no_cxx17_structured_bindings_pass.cpp ├── no_cxx20_hdr_barrier_fail.cpp ├── no_cxx20_hdr_barrier_pass.cpp ├── no_cxx20_hdr_bit_fail.cpp ├── no_cxx20_hdr_bit_pass.cpp ├── no_cxx20_hdr_compare_fail.cpp ├── no_cxx20_hdr_compare_pass.cpp ├── no_cxx20_hdr_concepts_fail.cpp ├── no_cxx20_hdr_concepts_pass.cpp ├── no_cxx20_hdr_coroutine_fail.cpp ├── no_cxx20_hdr_coroutine_pass.cpp ├── no_cxx20_hdr_format_fail.cpp ├── no_cxx20_hdr_format_pass.cpp ├── no_cxx20_hdr_latch_fail.cpp ├── no_cxx20_hdr_latch_pass.cpp ├── no_cxx20_hdr_numbers_fail.cpp ├── no_cxx20_hdr_numbers_pass.cpp ├── no_cxx20_hdr_ranges_fail.cpp ├── no_cxx20_hdr_ranges_pass.cpp ├── no_cxx20_hdr_semaphore_fail.cpp ├── no_cxx20_hdr_semaphore_pass.cpp ├── no_cxx20_hdr_source_location_fail.cpp ├── no_cxx20_hdr_source_location_pass.cpp ├── no_cxx20_hdr_span_fail.cpp ├── no_cxx20_hdr_span_pass.cpp ├── no_cxx20_hdr_stop_token_fail.cpp ├── no_cxx20_hdr_stop_token_pass.cpp ├── no_cxx20_hdr_syncstream_fail.cpp ├── no_cxx20_hdr_syncstream_pass.cpp ├── no_cxx20_hdr_version_fail.cpp ├── no_cxx20_hdr_version_pass.cpp ├── no_cxx23_hdr_expected_fail.cpp ├── no_cxx23_hdr_expected_pass.cpp ├── no_cxx23_hdr_flat_map_fail.cpp ├── no_cxx23_hdr_flat_map_pass.cpp ├── no_cxx23_hdr_flat_set_fail.cpp ├── no_cxx23_hdr_flat_set_pass.cpp ├── no_cxx23_hdr_generator_fail.cpp ├── no_cxx23_hdr_generator_pass.cpp ├── no_cxx23_hdr_mdspan_fail.cpp ├── no_cxx23_hdr_mdspan_pass.cpp ├── no_cxx23_hdr_print_fail.cpp ├── no_cxx23_hdr_print_pass.cpp ├── no_cxx23_hdr_spanstream_fail.cpp ├── no_cxx23_hdr_spanstream_pass.cpp ├── no_cxx23_hdr_stacktrace_fail.cpp ├── no_cxx23_hdr_stacktrace_pass.cpp ├── no_cxx23_hdr_stdfloat_fail.cpp ├── no_cxx23_hdr_stdfloat_pass.cpp ├── no_cxx98_binders_fail.cpp ├── no_cxx98_binders_pass.cpp ├── no_cxx98_function_base_fail.cpp ├── no_cxx98_function_base_pass.cpp ├── no_cxx98_random_shuffle_fail.cpp ├── no_cxx98_random_shuffle_pass.cpp ├── no_cxx_hdr_functional_fail.cpp ├── no_cxx_hdr_functional_pass.cpp ├── no_decltype_fail.cpp ├── no_decltype_n3276_fail.cpp ├── no_decltype_n3276_pass.cpp ├── no_decltype_pass.cpp ├── no_ded_typename_fail.cpp ├── no_ded_typename_pass.cpp ├── no_defaulted_functions_fail.cpp ├── no_defaulted_functions_pass.cpp ├── no_deleted_functions_fail.cpp ├── no_deleted_functions_pass.cpp ├── no_dep_nested_class_fail.cpp ├── no_dep_nested_class_pass.cpp ├── no_dep_val_param_fail.cpp ├── no_dep_val_param_pass.cpp ├── no_excep_std_fail.cpp ├── no_excep_std_pass.cpp ├── no_exceptions_fail.cpp ├── no_exceptions_pass.cpp ├── no_exp_func_tem_arg_fail.cpp ├── no_exp_func_tem_arg_pass.cpp ├── no_explicit_cvt_ops_fail.cpp ├── no_explicit_cvt_ops_pass.cpp ├── no_extern_template_fail.cpp ├── no_extern_template_pass.cpp ├── no_fenv_h_fail.cpp ├── no_fenv_h_pass.cpp ├── no_fixed_len_variadic_templates_fail.cpp ├── no_fixed_len_variadic_templates_pass.cpp ├── no_func_tmp_order_fail.cpp ├── no_func_tmp_order_pass.cpp ├── no_function_template_default_args_fail.cpp ├── no_function_template_default_args_pass.cpp ├── no_function_type_spec_fail.cpp ├── no_function_type_spec_pass.cpp ├── no_i64_limits_fail.cpp ├── no_i64_limits_pass.cpp ├── no_inline_memb_init_fail.cpp ├── no_inline_memb_init_pass.cpp ├── no_integral_int64_t_fail.cpp ├── no_integral_int64_t_pass.cpp ├── no_iosfwd_fail.cpp ├── no_iosfwd_pass.cpp ├── no_iostream_fail.cpp ├── no_iostream_pass.cpp ├── no_is_abstract_fail.cpp ├── no_is_abstract_pass.cpp ├── no_iter_construct_fail.cpp ├── no_iter_construct_pass.cpp ├── no_lambdas_fail.cpp ├── no_lambdas_pass.cpp ├── no_limits_const_exp_fail.cpp ├── no_limits_const_exp_pass.cpp ├── no_limits_fail.cpp ├── no_limits_pass.cpp ├── no_ll_limits_fail.cpp ├── no_ll_limits_pass.cpp ├── no_long_long_fail.cpp ├── no_long_long_pass.cpp ├── no_mem_func_spec_fail.cpp ├── no_mem_func_spec_pass.cpp ├── no_mem_tem_keyword_fail.cpp ├── no_mem_tem_keyword_pass.cpp ├── no_mem_tem_pnts_fail.cpp ├── no_mem_tem_pnts_pass.cpp ├── no_mem_templ_frnds_fail.cpp ├── no_mem_templ_frnds_pass.cpp ├── no_mem_templates_fail.cpp ├── no_mem_templates_pass.cpp ├── no_nested_friendship_fail.cpp ├── no_nested_friendship_pass.cpp ├── no_noexcept_fail.cpp ├── no_noexcept_pass.cpp ├── no_nullptr_fail.cpp ├── no_nullptr_pass.cpp ├── no_ops_in_namespace_fail.cpp ├── no_ops_in_namespace_pass.cpp ├── no_part_spec_def_args_fail.cpp ├── no_part_spec_def_args_pass.cpp ├── no_partial_spec_fail.cpp ├── no_partial_spec_pass.cpp ├── no_priv_aggregate_fail.cpp ├── no_priv_aggregate_pass.cpp ├── no_ptr_mem_const_fail.cpp ├── no_ptr_mem_const_pass.cpp ├── no_range_based_for_fail.cpp ├── no_range_based_for_pass.cpp ├── no_raw_literals_fail.cpp ├── no_raw_literals_pass.cpp ├── no_restrict_references_fail.cpp ├── no_restrict_references_pass.cpp ├── no_ret_det_fail.cpp ├── no_ret_det_pass.cpp ├── no_rtti_fail.cpp ├── no_rtti_pass.cpp ├── no_rvalue_references_fail.cpp ├── no_rvalue_references_pass.cpp ├── no_scoped_enums_fail.cpp ├── no_scoped_enums_pass.cpp ├── no_sfinae_expr_fail.cpp ├── no_sfinae_expr_pass.cpp ├── no_sfinae_fail.cpp ├── no_sfinae_pass.cpp ├── no_sstream_fail.cpp ├── no_sstream_pass.cpp ├── no_static_assert_fail.cpp ├── no_static_assert_pass.cpp ├── no_std_allocator_fail.cpp ├── no_std_allocator_pass.cpp ├── no_std_distance_fail.cpp ├── no_std_distance_pass.cpp ├── no_std_iter_traits_fail.cpp ├── no_std_iter_traits_pass.cpp ├── no_std_iterator_fail.cpp ├── no_std_iterator_pass.cpp ├── no_std_locale_fail.cpp ├── no_std_locale_pass.cpp ├── no_std_messages_fail.cpp ├── no_std_messages_pass.cpp ├── no_std_min_max_fail.cpp ├── no_std_min_max_pass.cpp ├── no_std_oi_assign_fail.cpp ├── no_std_oi_assign_pass.cpp ├── no_std_typeinfo_fail.cpp ├── no_std_typeinfo_pass.cpp ├── no_std_use_facet_fail.cpp ├── no_std_use_facet_pass.cpp ├── no_std_wstreambuf_fail.cpp ├── no_std_wstreambuf_pass.cpp ├── no_std_wstring_fail.cpp ├── no_std_wstring_pass.cpp ├── no_stdc_namespace_fail.cpp ├── no_stdc_namespace_pass.cpp ├── no_swprintf_fail.cpp ├── no_swprintf_pass.cpp ├── no_tem_local_classes_fail.cpp ├── no_tem_local_classes_pass.cpp ├── no_template_aliases_fail.cpp ├── no_template_aliases_pass.cpp ├── no_template_streams_fail.cpp ├── no_template_streams_pass.cpp ├── no_template_template_fail.cpp ├── no_template_template_pass.cpp ├── no_two_phase_lookup_fail.cpp ├── no_two_phase_lookup_pass.cpp ├── no_typeid_fail.cpp ├── no_typeid_pass.cpp ├── no_typename_with_ctor_fail.cpp ├── no_typename_with_ctor_pass.cpp ├── no_unicode_literals_fail.cpp ├── no_unicode_literals_pass.cpp ├── no_unified_init_fail.cpp ├── no_unified_init_pass.cpp ├── no_using_breaks_adl_fail.cpp ├── no_using_breaks_adl_pass.cpp ├── no_using_decl_overld_fail.cpp ├── no_using_decl_overld_pass.cpp ├── no_using_template_fail.cpp ├── no_using_template_pass.cpp ├── no_variadic_macros_fail.cpp ├── no_variadic_macros_pass.cpp ├── no_variadic_templates_fail.cpp ├── no_variadic_templates_pass.cpp ├── no_void_returns_fail.cpp ├── no_void_returns_pass.cpp ├── no_wchar_t_fail.cpp ├── no_wchar_t_pass.cpp ├── pragma_message_test.cpp ├── symbol_deprecated_test.cpp ├── test.hpp └── threads │ ├── test_thread_fail1.cpp │ └── test_thread_fail2.cpp └── tools ├── Jamfile.v2 ├── configure.in └── generate.cpp /.drone/after-success.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | -------------------------------------------------------------------------------- /.drone/before-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | -------------------------------------------------------------------------------- /.drone/before-script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | checks/architecture/bin 2 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright 2018 Mike Dev 2 | # Copyright 2019 Peter Dimov 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt 5 | 6 | # We support CMake 3.5, but prefer 3.16 policies and behavior 7 | cmake_minimum_required(VERSION 3.5...3.16) 8 | 9 | project(boost_config VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) 10 | 11 | add_library(boost_config INTERFACE) 12 | add_library(Boost::config ALIAS boost_config) 13 | 14 | target_include_directories(boost_config INTERFACE include) 15 | -------------------------------------------------------------------------------- /build.jam: -------------------------------------------------------------------------------- 1 | # Copyright René Ferdinand Rivera Morell 2023-2024 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 | require-b2 5.2 ; 7 | 8 | path-constant BOOST_CONFIG_ROOT : . ; 9 | import-search $(BOOST_CONFIG_ROOT)/checks ; 10 | 11 | project /boost/config 12 | : common-requirements 13 | include 14 | ; 15 | 16 | explicit 17 | [ alias boost_config : : : : $(boost_dependencies) ] 18 | [ alias all : boost_config test ] 19 | [ alias testing 20 | : # sources 21 | : # requirements 22 | : # default-buidl 23 | : # usage-requirements 24 | test 25 | ] 26 | ; 27 | 28 | call-if : boost-library config 29 | ; 30 | 31 | use-project /boost/architecture : checks/architecture ; 32 | 33 | -------------------------------------------------------------------------------- /checks/architecture/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /checks/architecture/32.cpp: -------------------------------------------------------------------------------- 1 | // 32.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | int test[sizeof(void*) == 4? 1 : -1]; 10 | -------------------------------------------------------------------------------- /checks/architecture/64.cpp: -------------------------------------------------------------------------------- 1 | // 64.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | int test[sizeof(void*) == 8? 1 : -1]; 10 | -------------------------------------------------------------------------------- /checks/architecture/Jamfile.jam: -------------------------------------------------------------------------------- 1 | # Jamfile.jam 2 | # 3 | # Copyright 2012 Steven Watanabe 4 | # 5 | # Distributed under the Boost Software License Version 1.0. (See 6 | # accompanying file LICENSE_1_0.txt or copy at 7 | # http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | project /boost/architecture 10 | : requirements 11 | -@boostcpp.deduce-address-model 12 | -@boostcpp.deduce-architecture 13 | -/boost//headers 14 | ; 15 | 16 | obj 32 : 32.cpp ; 17 | obj 64 : 64.cpp ; 18 | 19 | obj arm : arm.cpp ; 20 | obj combined : combined.cpp ; 21 | obj loongarch : loongarch.cpp ; 22 | obj mips : mips.cpp ; 23 | alias mips1 : mips ; # Backwards compatibility 24 | obj power : power.cpp ; 25 | obj riscv : riscv.cpp ; 26 | obj sparc : sparc.cpp ; 27 | obj x86 : x86.cpp ; 28 | obj s390x : s390x.cpp ; 29 | -------------------------------------------------------------------------------- /checks/architecture/arm.cpp: -------------------------------------------------------------------------------- 1 | // arm.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(__arm__) && !defined(__thumb__) && \ 10 | !defined(__TARGET_ARCH_ARM) && !defined(__TARGET_ARCH_THUMB) && \ 11 | !defined(_ARM) && !defined(_M_ARM) && \ 12 | !defined(__aarch64__) 13 | #error "Not ARM" 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /checks/architecture/loongarch.cpp: -------------------------------------------------------------------------------- 1 | // loongarch.cpp 2 | // 3 | // Copyright (c) 2022 Zhang Na 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(__loongarch__) 10 | #error "Not LoongArch" 11 | #endif 12 | -------------------------------------------------------------------------------- /checks/architecture/mips.cpp: -------------------------------------------------------------------------------- 1 | // mips.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !(defined(__mips) || defined(_MIPS_ISA_MIPS1) || defined(_R3000)) 10 | #error "Not MIPS" 11 | #endif 12 | -------------------------------------------------------------------------------- /checks/architecture/power.cpp: -------------------------------------------------------------------------------- 1 | // power.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(__powerpc) && !defined(__powerpc__) && !defined(__ppc) \ 10 | && !defined(__ppc__) && !defined(_M_PPC) && !defined(_ARCH_PPC) \ 11 | && !defined(__POWERPC__) && !defined(__PPCGECKO__) \ 12 | && !defined(__PPCBROADWAY) && !defined(_XENON) 13 | #error "Not PPC" 14 | #endif 15 | -------------------------------------------------------------------------------- /checks/architecture/riscv.cpp: -------------------------------------------------------------------------------- 1 | // riscv.cpp 2 | // 3 | // Copyright Andreas Schwab 2019 4 | // Distributed under the Boost Software License Version 1.0. (See 5 | // accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | #if !defined(__riscv) 9 | #error "Not RISC-V" 10 | #endif 11 | -------------------------------------------------------------------------------- /checks/architecture/s390x.cpp: -------------------------------------------------------------------------------- 1 | // s390x.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(__s390x__) 10 | #error "Not S390x" 11 | #endif 12 | -------------------------------------------------------------------------------- /checks/architecture/sparc.cpp: -------------------------------------------------------------------------------- 1 | // power.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(__sparc__) && !defined(__sparc) 10 | #error "Not SPARC" 11 | #endif 12 | -------------------------------------------------------------------------------- /checks/architecture/x86.cpp: -------------------------------------------------------------------------------- 1 | // x86.cpp 2 | // 3 | // Copyright (c) 2012 Steven Watanabe 4 | // 5 | // Distributed under the Boost Software License Version 1.0. (See 6 | // accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | #if !defined(i386) && !defined(__i386__) && !defined(__i386) \ 10 | && !defined(__i486__) && !defined(__i586__) && !defined(__i686__) \ 11 | && !defined(_M_IX86) && !defined(__X86__) && !defined(_X86_) \ 12 | && !defined(__THW_INTEL__) && !defined(__I86__) && !defined(__INTEL__) \ 13 | && !defined(__amd64__) && !defined(__x86_64__) && !defined(__amd64) \ 14 | && !defined(__x86_64) && !defined(_M_X64) 15 | #error "Not x86" 16 | #endif 17 | -------------------------------------------------------------------------------- /checks/config.jam: -------------------------------------------------------------------------------- 1 | # Copyright John Maddock. 2 | # Use, modification and distribution are subject to the 3 | # Boost Software License, Version 1.0. (See accompanying file 4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | import modules ; 7 | 8 | rule requires ( names + ) 9 | { 10 | local config-binding = [ modules.binding $(__name__) ] ; 11 | 12 | local result ; 13 | for name in $(names) 14 | { 15 | result += [ check-target-builds $(config-binding:D)//$(name) $(name) : : no ] ; 16 | } 17 | return $(result) ; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /checks/std/cpp_aggregate_bases_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_aggregate_bases 19 | #error "Macro << __cpp_aggregate_bases is not set" 20 | #endif 21 | 22 | #if __cpp_aggregate_bases < 201603 23 | #error "Macro __cpp_aggregate_bases had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_aggregate_nsdmi_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_aggregate_nsdmi 19 | #error "Macro << __cpp_aggregate_nsdmi is not set" 20 | #endif 21 | 22 | #if __cpp_aggregate_nsdmi < 201304 23 | #error "Macro __cpp_aggregate_nsdmi had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_alias_templates_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_alias_templates 19 | #error "Macro << __cpp_alias_templates is not set" 20 | #endif 21 | 22 | #if __cpp_alias_templates < 200704 23 | #error "Macro __cpp_alias_templates had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_aligned_new_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_aligned_new 19 | #error "Macro << __cpp_aligned_new is not set" 20 | #endif 21 | 22 | #if __cpp_aligned_new < 201606 23 | #error "Macro __cpp_aligned_new had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_attributes_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_attributes 19 | #error "Macro << __cpp_attributes is not set" 20 | #endif 21 | 22 | #if __cpp_attributes < 200809 23 | #error "Macro __cpp_attributes had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_binary_literals_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_binary_literals 19 | #error "Macro << __cpp_binary_literals is not set" 20 | #endif 21 | 22 | #if __cpp_binary_literals < 201304 23 | #error "Macro __cpp_binary_literals had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_capture_star_this_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_capture_star_this 19 | #error "Macro << __cpp_capture_star_this is not set" 20 | #endif 21 | 22 | #if __cpp_capture_star_this < 201603 23 | #error "Macro __cpp_capture_star_this had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_char8_t_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_char8_t 19 | #error "Macro << __cpp_char8_t is not set" 20 | #endif 21 | 22 | #if __cpp_char8_t < 201811 23 | #error "Macro __cpp_char8_t had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_conditional_explicit_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_conditional_explicit 19 | #error "Macro << __cpp_conditional_explicit is not set" 20 | #endif 21 | 22 | #if __cpp_conditional_explicit < 201806 23 | #error "Macro __cpp_conditional_explicit had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_consteval_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_consteval 19 | #error "Macro << __cpp_consteval is not set" 20 | #endif 21 | 22 | #if __cpp_consteval < 202211 23 | #error "Macro __cpp_consteval had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_constexpr_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_constexpr 19 | #error "Macro << __cpp_constexpr is not set" 20 | #endif 21 | 22 | #if __cpp_constexpr < 200704 23 | #error "Macro __cpp_constexpr had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_constexpr_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_constexpr 19 | #error "Macro << __cpp_constexpr is not set" 20 | #endif 21 | 22 | #if __cpp_constexpr < 201304 23 | #error "Macro __cpp_constexpr had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_constexpr_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_constexpr 19 | #error "Macro << __cpp_constexpr is not set" 20 | #endif 21 | 22 | #if __cpp_constexpr < 201603 23 | #error "Macro __cpp_constexpr had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_decltype_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_decltype 19 | #error "Macro << __cpp_decltype is not set" 20 | #endif 21 | 22 | #if __cpp_decltype < 200707 23 | #error "Macro __cpp_decltype had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_decltype_auto_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_decltype_auto 19 | #error "Macro << __cpp_decltype_auto is not set" 20 | #endif 21 | 22 | #if __cpp_decltype_auto < 201304 23 | #error "Macro __cpp_decltype_auto had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_deduction_guides_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_deduction_guides 19 | #error "Macro << __cpp_deduction_guides is not set" 20 | #endif 21 | 22 | #if __cpp_deduction_guides < 201611 23 | #error "Macro __cpp_deduction_guides had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_enumerator_attributes_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_enumerator_attributes 19 | #error "Macro << __cpp_enumerator_attributes is not set" 20 | #endif 21 | 22 | #if __cpp_enumerator_attributes < 201411 23 | #error "Macro __cpp_enumerator_attributes had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_exceptions_03.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_exceptions 19 | #error "Macro << __cpp_exceptions is not set" 20 | #endif 21 | 22 | #if __cpp_exceptions < 199711 23 | #error "Macro __cpp_exceptions had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_explicit_conversion_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_explicit_conversion 19 | #error "Macro << __cpp_explicit_conversion is not set" 20 | #endif 21 | 22 | #if __cpp_explicit_conversion < 200710 23 | #error "Macro __cpp_explicit_conversion had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_fold_expressions_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_fold_expressions 19 | #error "Macro << __cpp_fold_expressions is not set" 20 | #endif 21 | 22 | #if __cpp_fold_expressions < 201603 23 | #error "Macro __cpp_fold_expressions had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_generic_lambdas_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_generic_lambdas 19 | #error "Macro << __cpp_generic_lambdas is not set" 20 | #endif 21 | 22 | #if __cpp_generic_lambdas < 201304 23 | #error "Macro __cpp_generic_lambdas had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_hex_float_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_hex_float 19 | #error "Macro << __cpp_hex_float is not set" 20 | #endif 21 | 22 | #if __cpp_hex_float < 201603 23 | #error "Macro __cpp_hex_float had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_if_consteval_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_if_consteval 19 | #error "Macro << __cpp_if_consteval is not set" 20 | #endif 21 | 22 | #if __cpp_if_consteval < 202106 23 | #error "Macro __cpp_if_consteval had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_if_constexpr_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_if_constexpr 19 | #error "Macro << __cpp_if_constexpr is not set" 20 | #endif 21 | 22 | #if __cpp_if_constexpr < 201606 23 | #error "Macro __cpp_if_constexpr had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_impl_destroying_delete_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_impl_destroying_delete 19 | #error "Macro << __cpp_impl_destroying_delete is not set" 20 | #endif 21 | 22 | #if __cpp_impl_destroying_delete < 201806 23 | #error "Macro __cpp_impl_destroying_delete had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_implicit_move_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_implicit_move 19 | #error "Macro << __cpp_implicit_move is not set" 20 | #endif 21 | 22 | #if __cpp_implicit_move < 202207 23 | #error "Macro __cpp_implicit_move had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_init_captures_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_init_captures 19 | #error "Macro << __cpp_init_captures is not set" 20 | #endif 21 | 22 | #if __cpp_init_captures < 201304 23 | #error "Macro __cpp_init_captures had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_initializer_lists_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_initializer_lists 19 | #error "Macro << __cpp_initializer_lists is not set" 20 | #endif 21 | 22 | #if __cpp_initializer_lists < 200806 23 | #error "Macro __cpp_initializer_lists had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_inline_variables_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_inline_variables 19 | #error "Macro << __cpp_inline_variables is not set" 20 | #endif 21 | 22 | #if __cpp_inline_variables < 201606 23 | #error "Macro __cpp_inline_variables had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_lambdas_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_lambdas 19 | #error "Macro << __cpp_lambdas is not set" 20 | #endif 21 | 22 | #if __cpp_lambdas < 200907 23 | #error "Macro __cpp_lambdas had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_any_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_any 21 | #error "Macro << __cpp_lib_any is not set" 22 | #endif 23 | 24 | #if __cpp_lib_any < 201606 25 | #error "Macro __cpp_lib_any had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_apply_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_apply 21 | #error "Macro << __cpp_lib_apply is not set" 22 | #endif 23 | 24 | #if __cpp_lib_apply < 201603 25 | #error "Macro __cpp_lib_apply had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_as_const_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_as_const 21 | #error "Macro << __cpp_lib_as_const is not set" 22 | #endif 23 | 24 | #if __cpp_lib_as_const < 201510 25 | #error "Macro __cpp_lib_as_const had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_atomic_ref_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_atomic_ref 21 | #error "Macro << __cpp_lib_atomic_ref is not set" 22 | #endif 23 | 24 | #if __cpp_lib_atomic_ref < 201806 25 | #error "Macro __cpp_lib_atomic_ref had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_bind_front_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_bind_front 21 | #error "Macro << __cpp_lib_bind_front is not set" 22 | #endif 23 | 24 | #if __cpp_lib_bind_front < 201811 25 | #error "Macro __cpp_lib_bind_front had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_bit_cast_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_bit_cast 21 | #error "Macro << __cpp_lib_bit_cast is not set" 22 | #endif 23 | 24 | #if __cpp_lib_bit_cast < 201806 25 | #error "Macro __cpp_lib_bit_cast had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_byte_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_byte 21 | #error "Macro << __cpp_lib_byte is not set" 22 | #endif 23 | 24 | #if __cpp_lib_byte < 201603 25 | #error "Macro __cpp_lib_byte had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_char8_t_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_char8_t 21 | #error "Macro << __cpp_lib_char8_t is not set" 22 | #endif 23 | 24 | #if __cpp_lib_char8_t < 201811 25 | #error "Macro __cpp_lib_char8_t had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_chrono_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_chrono 21 | #error "Macro << __cpp_lib_chrono is not set" 22 | #endif 23 | 24 | #if __cpp_lib_chrono < 201611 25 | #error "Macro __cpp_lib_chrono had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_chrono_udls_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_chrono_udls 21 | #error "Macro << __cpp_lib_chrono_udls is not set" 22 | #endif 23 | 24 | #if __cpp_lib_chrono_udls < 201304 25 | #error "Macro __cpp_lib_chrono_udls had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_clamp_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_clamp 21 | #error "Macro << __cpp_lib_clamp is not set" 22 | #endif 23 | 24 | #if __cpp_lib_clamp < 201603 25 | #error "Macro __cpp_lib_clamp had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_complex_udls_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_complex_udls 21 | #error "Macro << __cpp_lib_complex_udls is not set" 22 | #endif 23 | 24 | #if __cpp_lib_complex_udls < 201309 25 | #error "Macro __cpp_lib_complex_udls had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_concepts_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_concepts 21 | #error "Macro << __cpp_lib_concepts is not set" 22 | #endif 23 | 24 | #if __cpp_lib_concepts < 201806 25 | #error "Macro __cpp_lib_concepts had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_erase_if_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_erase_if 21 | #error "Macro << __cpp_lib_erase_if is not set" 22 | #endif 23 | 24 | #if __cpp_lib_erase_if < 201811 25 | #error "Macro __cpp_lib_erase_if had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_execution_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_execution 21 | #error "Macro << __cpp_lib_execution is not set" 22 | #endif 23 | 24 | #if __cpp_lib_execution < 201603 25 | #error "Macro __cpp_lib_execution had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_filesystem_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_filesystem 21 | #error "Macro << __cpp_lib_filesystem is not set" 22 | #endif 23 | 24 | #if __cpp_lib_filesystem < 201703 25 | #error "Macro __cpp_lib_filesystem had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_gcd_lcm_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_gcd_lcm 21 | #error "Macro << __cpp_lib_gcd_lcm is not set" 22 | #endif 23 | 24 | #if __cpp_lib_gcd_lcm < 201606 25 | #error "Macro __cpp_lib_gcd_lcm had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_hypot_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_hypot 21 | #error "Macro << __cpp_lib_hypot is not set" 22 | #endif 23 | 24 | #if __cpp_lib_hypot < 201603 25 | #error "Macro __cpp_lib_hypot had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_invoke_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_invoke 21 | #error "Macro << __cpp_lib_invoke is not set" 22 | #endif 23 | 24 | #if __cpp_lib_invoke < 201411 25 | #error "Macro __cpp_lib_invoke had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_is_final_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_is_final 21 | #error "Macro << __cpp_lib_is_final is not set" 22 | #endif 23 | 24 | #if __cpp_lib_is_final < 201402 25 | #error "Macro __cpp_lib_is_final had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_launder_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_launder 21 | #error "Macro << __cpp_lib_launder is not set" 22 | #endif 23 | 24 | #if __cpp_lib_launder < 201606 25 | #error "Macro __cpp_lib_launder had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_make_unique_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_make_unique 21 | #error "Macro << __cpp_lib_make_unique is not set" 22 | #endif 23 | 24 | #if __cpp_lib_make_unique < 201304 25 | #error "Macro __cpp_lib_make_unique had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_node_extract_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_node_extract 21 | #error "Macro << __cpp_lib_node_extract is not set" 22 | #endif 23 | 24 | #if __cpp_lib_node_extract < 201606 25 | #error "Macro __cpp_lib_node_extract had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_not_fn_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_not_fn 21 | #error "Macro << __cpp_lib_not_fn is not set" 22 | #endif 23 | 24 | #if __cpp_lib_not_fn < 201603 25 | #error "Macro __cpp_lib_not_fn had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_optional_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_optional 21 | #error "Macro << __cpp_lib_optional is not set" 22 | #endif 23 | 24 | #if __cpp_lib_optional < 201606 25 | #error "Macro __cpp_lib_optional had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_ranges_20.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_ranges 21 | #error "Macro << __cpp_lib_ranges is not set" 22 | #endif 23 | 24 | #if __cpp_lib_ranges < 201811 25 | #error "Macro __cpp_lib_ranges had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_sample_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_sample 21 | #error "Macro << __cpp_lib_sample is not set" 22 | #endif 23 | 24 | #if __cpp_lib_sample < 201603 25 | #error "Macro __cpp_lib_sample had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_scoped_lock_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_scoped_lock 21 | #error "Macro << __cpp_lib_scoped_lock is not set" 22 | #endif 23 | 24 | #if __cpp_lib_scoped_lock < 201703 25 | #error "Macro __cpp_lib_scoped_lock had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_string_udls_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_string_udls 21 | #error "Macro << __cpp_lib_string_udls is not set" 22 | #endif 23 | 24 | #if __cpp_lib_string_udls < 201304 25 | #error "Macro __cpp_lib_string_udls had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_string_view_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_string_view 21 | #error "Macro << __cpp_lib_string_view is not set" 22 | #endif 23 | 24 | #if __cpp_lib_string_view < 201606 25 | #error "Macro __cpp_lib_string_view had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_to_chars_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_to_chars 21 | #error "Macro << __cpp_lib_to_chars is not set" 22 | #endif 23 | 24 | #if __cpp_lib_to_chars < 201611 25 | #error "Macro __cpp_lib_to_chars had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_variant_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_variant 21 | #error "Macro << __cpp_lib_variant is not set" 22 | #endif 23 | 24 | #if __cpp_lib_variant < 201606 25 | #error "Macro __cpp_lib_variant had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_lib_void_t_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #include 19 | 20 | #ifndef __cpp_lib_void_t 21 | #error "Macro << __cpp_lib_void_t is not set" 22 | #endif 23 | 24 | #if __cpp_lib_void_t < 201411 25 | #error "Macro __cpp_lib_void_t had too low a value" 26 | #endif 27 | 28 | int main( int, char *[] ) 29 | { 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /checks/std/cpp_namespace_attributes_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_namespace_attributes 19 | #error "Macro << __cpp_namespace_attributes is not set" 20 | #endif 21 | 22 | #if __cpp_namespace_attributes < 201411 23 | #error "Macro __cpp_namespace_attributes had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_noexcept_function_type_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_noexcept_function_type 19 | #error "Macro << __cpp_noexcept_function_type is not set" 20 | #endif 21 | 22 | #if __cpp_noexcept_function_type < 201510 23 | #error "Macro __cpp_noexcept_function_type had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_nontype_template_args_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_nontype_template_args 19 | #error "Macro << __cpp_nontype_template_args is not set" 20 | #endif 21 | 22 | #if __cpp_nontype_template_args < 201411 23 | #error "Macro __cpp_nontype_template_args had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_nsdmi_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_nsdmi 19 | #error "Macro << __cpp_nsdmi is not set" 20 | #endif 21 | 22 | #if __cpp_nsdmi < 200809 23 | #error "Macro __cpp_nsdmi had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_range_based_for_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_range_based_for 19 | #error "Macro << __cpp_range_based_for is not set" 20 | #endif 21 | 22 | #if __cpp_range_based_for < 200907 23 | #error "Macro __cpp_range_based_for had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_range_based_for_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_range_based_for 19 | #error "Macro << __cpp_range_based_for is not set" 20 | #endif 21 | 22 | #if __cpp_range_based_for < 201603 23 | #error "Macro __cpp_range_based_for had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_range_based_for_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_range_based_for 19 | #error "Macro << __cpp_range_based_for is not set" 20 | #endif 21 | 22 | #if __cpp_range_based_for < 202211 23 | #error "Macro __cpp_range_based_for had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_raw_strings_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_raw_strings 19 | #error "Macro << __cpp_raw_strings is not set" 20 | #endif 21 | 22 | #if __cpp_raw_strings < 200710 23 | #error "Macro __cpp_raw_strings had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_ref_qualifiers_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_ref_qualifiers 19 | #error "Macro << __cpp_ref_qualifiers is not set" 20 | #endif 21 | 22 | #if __cpp_ref_qualifiers < 200710 23 | #error "Macro __cpp_ref_qualifiers had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_return_type_deduction_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_return_type_deduction 19 | #error "Macro << __cpp_return_type_deduction is not set" 20 | #endif 21 | 22 | #if __cpp_return_type_deduction < 201304 23 | #error "Macro __cpp_return_type_deduction had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_rtti_03.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_rtti 19 | #error "Macro << __cpp_rtti is not set" 20 | #endif 21 | 22 | #if __cpp_rtti < 199711 23 | #error "Macro __cpp_rtti had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_rvalue_references_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_rvalue_references 19 | #error "Macro << __cpp_rvalue_references is not set" 20 | #endif 21 | 22 | #if __cpp_rvalue_references < 200610 23 | #error "Macro __cpp_rvalue_references had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_size_t_suffix_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_size_t_suffix 19 | #error "Macro << __cpp_size_t_suffix is not set" 20 | #endif 21 | 22 | #if __cpp_size_t_suffix < 202011 23 | #error "Macro __cpp_size_t_suffix had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_sized_deallocation_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_sized_deallocation 19 | #error "Macro << __cpp_sized_deallocation is not set" 20 | #endif 21 | 22 | #if __cpp_sized_deallocation < 201309 23 | #error "Macro __cpp_sized_deallocation had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_static_assert_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_static_assert 19 | #error "Macro << __cpp_static_assert is not set" 20 | #endif 21 | 22 | #if __cpp_static_assert < 200410 23 | #error "Macro __cpp_static_assert had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_static_assert_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_static_assert 19 | #error "Macro << __cpp_static_assert is not set" 20 | #endif 21 | 22 | #if __cpp_static_assert < 201411 23 | #error "Macro __cpp_static_assert had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_static_call_operator_23.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_static_call_operator 19 | #error "Macro << __cpp_static_call_operator is not set" 20 | #endif 21 | 22 | #if __cpp_static_call_operator < 202207 23 | #error "Macro __cpp_static_call_operator had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_structured_bindings_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_structured_bindings 19 | #error "Macro << __cpp_structured_bindings is not set" 20 | #endif 21 | 22 | #if __cpp_structured_bindings < 201606 23 | #error "Macro __cpp_structured_bindings had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_template_template_args_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_template_template_args 19 | #error "Macro << __cpp_template_template_args is not set" 20 | #endif 21 | 22 | #if __cpp_template_template_args < 201611 23 | #error "Macro __cpp_template_template_args had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_threadsafe_static_init_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_threadsafe_static_init 19 | #error "Macro << __cpp_threadsafe_static_init is not set" 20 | #endif 21 | 22 | #if __cpp_threadsafe_static_init < 200806 23 | #error "Macro __cpp_threadsafe_static_init had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_unicode_characters_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_unicode_characters 19 | #error "Macro << __cpp_unicode_characters is not set" 20 | #endif 21 | 22 | #if __cpp_unicode_characters < 200704 23 | #error "Macro __cpp_unicode_characters had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_unicode_literals_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_unicode_literals 19 | #error "Macro << __cpp_unicode_literals is not set" 20 | #endif 21 | 22 | #if __cpp_unicode_literals < 200710 23 | #error "Macro __cpp_unicode_literals had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_user_defined_literals_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_user_defined_literals 19 | #error "Macro << __cpp_user_defined_literals is not set" 20 | #endif 21 | 22 | #if __cpp_user_defined_literals < 200809 23 | #error "Macro __cpp_user_defined_literals had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_variable_templates_14.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_variable_templates 19 | #error "Macro << __cpp_variable_templates is not set" 20 | #endif 21 | 22 | #if __cpp_variable_templates < 201304 23 | #error "Macro __cpp_variable_templates had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_variadic_templates_11.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_variadic_templates 19 | #error "Macro << __cpp_variadic_templates is not set" 20 | #endif 21 | 22 | #if __cpp_variadic_templates < 200704 23 | #error "Macro __cpp_variadic_templates had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /checks/std/cpp_variadic_using_17.cpp: -------------------------------------------------------------------------------- 1 | // This file was automatically generated on Fri Oct 13 19:09:38 2023 2 | // by libs/config/tools/generate.cpp 3 | // Copyright John Maddock 2002-21. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for the most recent version.// 9 | // Revision $Id$ 10 | // 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | #include 15 | #endif 16 | #endif 17 | 18 | #ifndef __cpp_variadic_using 19 | #error "Macro << __cpp_variadic_using is not set" 20 | #endif 21 | 22 | #if __cpp_variadic_using < 201611 23 | #error "Macro __cpp_variadic_using had too low a value" 24 | #endif 25 | 26 | int main( int, char *[] ) 27 | { 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /doc/html/HTML.manifest: -------------------------------------------------------------------------------- 1 | index.html 2 | boost_config/boost_macro_reference.html 3 | boost_config/guidelines_for_boost_authors.html 4 | boost_config/rationale.html 5 | boost_config/acknowledgements.html 6 | -------------------------------------------------------------------------------- /include/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /include/boost/config/abi/msvc_prefix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // 7 | // Boost binaries are built with the compiler's default ABI settings, 8 | // if the user changes their default alignment in the VS IDE then their 9 | // code will no longer be binary compatible with the bjam built binaries 10 | // unless this header is included to force Boost code into a consistent ABI. 11 | // 12 | // Note that inclusion of this header is only necessary for libraries with 13 | // separate source, header only libraries DO NOT need this as long as all 14 | // translation units are built with the same options. 15 | // 16 | #if defined(_M_X64) 17 | # pragma pack(push,16) 18 | #else 19 | # pragma pack(push,8) 20 | #endif 21 | 22 | 23 | -------------------------------------------------------------------------------- /include/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /include/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- 1 | // abi_prefix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 10 | # define BOOST_CONFIG_ABI_PREFIX_HPP 11 | #else 12 | # error double inclusion of header boost/config/abi_prefix.hpp is an error 13 | #endif 14 | 15 | #include 16 | 17 | // this must occur after all other includes and before any code appears: 18 | #ifdef BOOST_HAS_ABI_HEADERS 19 | # include BOOST_ABI_PREFIX 20 | #endif 21 | 22 | #if defined( BOOST_BORLANDC ) 23 | #pragma nopushoptwarn 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /include/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- 1 | // abi_sufffix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | // This header should be #included AFTER code that was preceded by a #include 10 | // . 11 | 12 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 13 | # error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp 14 | #else 15 | # undef BOOST_CONFIG_ABI_PREFIX_HPP 16 | #endif 17 | 18 | // the suffix header occurs after all of our code: 19 | #ifdef BOOST_HAS_ABI_HEADERS 20 | # include BOOST_ABI_SUFFIX 21 | #endif 22 | 23 | #if defined( BOOST_BORLANDC ) 24 | #pragma nopushoptwarn 25 | #endif 26 | -------------------------------------------------------------------------------- /include/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Tru64 C++ compiler setup (now HP): 9 | 10 | #define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /include/boost/config/compiler/pgi.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Noel Belcourt 2007. 2 | // Copyright 2017, NVIDIA CORPORATION. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // PGI C++ compiler setup: 10 | 11 | #define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__ 12 | #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) 13 | 14 | // PGI is mostly GNU compatible. So start with that. 15 | #include 16 | 17 | // Now adjust for things that are different. 18 | 19 | // __float128 is a typedef, not a distinct type. 20 | #undef BOOST_HAS_FLOAT128 21 | 22 | // __int128 is not supported. 23 | #undef BOOST_HAS_INT128 24 | -------------------------------------------------------------------------------- /include/boost/config/compiler/sgi_mipspro.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // SGI C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) 11 | 12 | #include 13 | 14 | // 15 | // Threading support: 16 | // Turn this on unconditionally here, it will get turned off again later 17 | // if no threading API is detected. 18 | // 19 | #define BOOST_HAS_THREADS 20 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP 21 | 22 | #undef BOOST_NO_SWPRINTF 23 | #undef BOOST_DEDUCED_TYPENAME 24 | 25 | // 26 | // version check: 27 | // probably nothing to do here? 28 | 29 | 30 | -------------------------------------------------------------------------------- /include/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /include/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /include/boost/config/platform/cloudabi.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Nuxi, https://nuxi.nl/ 2015. 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 | #define BOOST_PLATFORM "CloudABI" 7 | 8 | #define BOOST_HAS_DIRENT_H 9 | #define BOOST_HAS_STDINT_H 10 | #define BOOST_HAS_UNISTD_H 11 | 12 | #define BOOST_HAS_CLOCK_GETTIME 13 | #define BOOST_HAS_EXPM1 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_LOG1P 16 | #define BOOST_HAS_NANOSLEEP 17 | #define BOOST_HAS_PTHREADS 18 | #define BOOST_HAS_SCHED_YIELD 19 | -------------------------------------------------------------------------------- /include/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /include/boost/config/platform/vms.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Artyom Beilis 2010. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_CONFIG_PLATFORM_VMS_HPP 7 | #define BOOST_CONFIG_PLATFORM_VMS_HPP 8 | 9 | #define BOOST_PLATFORM "OpenVMS" 10 | 11 | #undef BOOST_HAS_STDINT_H 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_DIRENT_H 16 | #define BOOST_HAS_PTHREADS 17 | #define BOOST_HAS_NANOSLEEP 18 | #define BOOST_HAS_CLOCK_GETTIME 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | #define BOOST_HAS_LOG1P 21 | #define BOOST_HAS_EXPM1 22 | #define BOOST_HAS_THREADS 23 | #undef BOOST_HAS_SCHED_YIELD 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/boost/config/platform/wasm.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2020. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // WASM specific config options: 9 | 10 | #define BOOST_PLATFORM "Wasm" 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | # define BOOST_HAS_UNISTD_H 15 | #endif 16 | #endif 17 | 18 | // boilerplate code: 19 | #include 20 | // 21 | // fenv lacks the C++11 macros: 22 | // 23 | #define BOOST_NO_FENV_H 24 | -------------------------------------------------------------------------------- /include/boost/detail/workaround.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2002. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | #ifndef BOOST_WORKAROUND_DWA2002126_HPP 6 | #define BOOST_WORKAROUND_DWA2002126_HPP 7 | 8 | #include 9 | 10 | #endif // BOOST_WORKAROUND_DWA2002126_HPP 11 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

7 | Automatic redirection failed, please go to doc/html/index.html. 8 |

9 |

Copyright John Maddock 2001

10 |

Distributed under the Boost Software License, Version 1.0. (See accompanying file 11 | LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt).

12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /meta/libraries.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "config", 3 | "name": "Config", 4 | "description": "Helps Boost library developers adapt to compiler idiosyncrasies; not intended for library users.", 5 | "documentation": "doc/html/index.html", 6 | "category": [ 7 | "Workarounds" 8 | ], 9 | "authors": "", 10 | "maintainers": [ 11 | "John Maddock " 12 | ], 13 | "cxxstd": "03" 14 | } 15 | -------------------------------------------------------------------------------- /test/abi/abi_test.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | 9 | #include "abi_test.hpp" 10 | 11 | 12 | char abi_test::virtual_one()const 13 | { 14 | return c; 15 | } 16 | 17 | boost::int32_t abi_test::virtual_two()const 18 | { 19 | return i; 20 | } 21 | 22 | abi_test::abi_test() 23 | { 24 | c = 0x12; 25 | i = 0x5678; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /test/abi/main.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | // 9 | // before we do anything else, we need to mess with the compilers ABI: 10 | // 11 | #include 12 | #ifdef BOOST_MSVC 13 | #pragma pack(1) 14 | #elif defined(BOOST_BORLANDC) 15 | #pragma option -Ve- -Vx- -a1 -b- 16 | #endif 17 | #include 18 | #include "abi_test.hpp" 19 | 20 | 21 | int main() 22 | { 23 | abi_test t; 24 | if((t.inline_one() != t.virtual_one()) || (t.inline_two() != t.virtual_two())) 25 | { 26 | fwrite("Failed ABI test", 1, 15, stdout); 27 | return -1; 28 | } 29 | return 0; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /test/all/options_v2.jam: -------------------------------------------------------------------------------- 1 | # copyright John Maddock 2003 2 | # Use, modification and distribution are subject to the 3 | # Boost Software License, Version 1.0. (See accompanying file 4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | project 7 | : requirements 8 | # threading tests require thread support turned on: 9 | multi 10 | ; 11 | 12 | local test-requirements = /boost/test//boost_test_exec_monitor ; 13 | -------------------------------------------------------------------------------- /test/boost_fallthrough_test.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2013. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | int test(int n) 9 | { 10 | switch (n) 11 | { 12 | case 0: 13 | n++; 14 | BOOST_FALLTHROUGH; 15 | case 1: 16 | n++; 17 | break; 18 | } 19 | return n; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /test/boost_has_bethreads.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_BETHREADS 9 | // TITLE: BeOS Threads 10 | // DESCRIPTION: The platform supports BeOS style threads. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_bethreads{ 16 | 17 | int test() 18 | { 19 | sem_id mut = create_sem(1, "test"); 20 | if(mut > 0) 21 | { 22 | acquire_sem(mut); 23 | release_sem(mut); 24 | delete_sem(mut); 25 | } 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/boost_has_clock_gettime.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_CLOCK_GETTIME 9 | // TITLE: clock_gettime 10 | // DESCRIPTION: The platform supports POSIX standard API clock_gettime. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_clock_gettime{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | timespec tp; 21 | int res = clock_gettime(CLOCK_REALTIME, &tp); 22 | (void) &res; 23 | } 24 | 25 | int test() 26 | { 27 | return 0; 28 | } 29 | 30 | } 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/boost_has_detect_mismatch.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2018. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_PRAGMA_DETECT_MISMATCH 9 | // TITLE: detect_mismatch pragma 10 | // DESCRIPTION: The compiler supports #pragma detect_mismatch 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_pragma_detect_mismatch { 16 | 17 | # pragma detect_mismatch("Boost_Config", "1") 18 | 19 | int test() 20 | { 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /test/boost_has_dirent_h.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_DIRENT_H 9 | // TITLE: 10 | // DESCRIPTION: The platform has an . 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_dirent_h{ 16 | 17 | int test() 18 | { 19 | DIR* pd = opendir("foobar"); 20 | if(pd) closedir(pd); 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /test/boost_has_expm1.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_EXPM1 9 | // TITLE: expm1 10 | // DESCRIPTION: The std lib has a C99-conforming expm1 function. 11 | 12 | #include 13 | 14 | namespace boost_has_expm1{ 15 | 16 | int test() 17 | { 18 | double x = 0.5; 19 | x = ::expm1(x); 20 | (void)x; 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /test/boost_has_float128.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2012. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_FLOAT128 9 | // TITLE: __float128 10 | // DESCRIPTION: The platform supports __float128. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_float128{ 16 | 17 | int test() 18 | { 19 | #ifdef __GNUC__ 20 | __extension__ __float128 big_float = 0.0Q; 21 | #else 22 | __float128 big_float = 0.0Q; 23 | #endif 24 | (void)&big_float; 25 | 26 | __float128 i(2.00), j(1.00), k; 27 | k = i / j; 28 | 29 | return 0; 30 | } 31 | 32 | } 33 | 34 | -------------------------------------------------------------------------------- /test/boost_has_ftime.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_FTIME 9 | // TITLE: The platform has FTIME. 10 | // DESCRIPTION: The platform supports the Win32 API type FTIME. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_ftime{ 16 | 17 | void f(FILETIME) 18 | { 19 | // this is never called, it just has to compile: 20 | } 21 | 22 | int test() 23 | { 24 | return 0; 25 | } 26 | 27 | } 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /test/boost_has_getsystemtimeasfiletime.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_GETSYSTEMTIMEASFILETIME 9 | // TITLE: GetSystemTimeAsFileTime 10 | // DESCRIPTION: The platform supports Win32 API GetSystemTimeAsFileTime. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_getsystemtimeasfiletime{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | FILETIME ft; 21 | GetSystemTimeAsFileTime(&ft); 22 | } 23 | 24 | int test() 25 | { 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | -------------------------------------------------------------------------------- /test/boost_has_gettimeofday.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_GETTIMEOFDAY 9 | // TITLE: gettimeofday 10 | // DESCRIPTION: The platform supports POSIX standard API gettimeofday. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_gettimeofday{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | timeval tp; 21 | int res = gettimeofday(&tp, 0); 22 | (void) &res; 23 | } 24 | 25 | int test() 26 | { 27 | return 0; 28 | } 29 | 30 | } 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/boost_has_log1p.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_LOG1P 9 | // TITLE: log1p 10 | // DESCRIPTION: The std lib has a C99-conforming log1p function. 11 | 12 | #include 13 | 14 | namespace boost_has_log1p{ 15 | 16 | int test() 17 | { 18 | double x = 0.5; 19 | x = ::log1p(x); 20 | (void)x; 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_has_long_long.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_LONG_LONG 9 | // TITLE: long long 10 | // DESCRIPTION: The platform supports long long. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_long_long{ 16 | 17 | int test() 18 | { 19 | #ifdef __GNUC__ 20 | __extension__ long long lli = 0LL; 21 | __extension__ unsigned long long ulli = 0uLL; 22 | #else 23 | long long lli = 0LL; 24 | unsigned long long ulli = 0uLL; 25 | #endif 26 | (void)&lli; 27 | (void)&ulli; 28 | return 0; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /test/boost_has_ms_int64.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_MS_INT64 9 | // TITLE: __int64 10 | // DESCRIPTION: The platform supports Microsoft style __int64. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_ms_int64{ 16 | 17 | int test() 18 | { 19 | __int64 lli = 0i64; 20 | unsigned __int64 ulli = 0ui64; 21 | (void)lli; 22 | (void)ulli; 23 | return 0; 24 | } 25 | 26 | } 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /test/boost_has_nanosleep.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_NANOSLEEP 9 | // TITLE: nanosleep 10 | // DESCRIPTION: The platform supports POSIX API nanosleep. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_nanosleep{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | timespec ts = {0, 0}; 21 | timespec rm; 22 | int res = nanosleep(&ts, &rm); 23 | (void) &res; 24 | } 25 | 26 | int test() 27 | { 28 | return 0; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /test/boost_has_nl_types_h.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_NL_TYPES_H 9 | // TITLE: 10 | // DESCRIPTION: The platform has an . 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_nl_types_h{ 16 | 17 | int test() 18 | { 19 | nl_catd cat = catopen("foo", 0); 20 | if(cat != (nl_catd)-1) catclose(cat); 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/boost_has_pthread_delay_np.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_PTHREAD_DELAY_NP 9 | // TITLE: pthread_delay_np 10 | // DESCRIPTION: The platform supports non-standard pthread_delay_np API. 11 | 12 | #include 13 | #include 14 | 15 | 16 | namespace boost_has_pthread_delay_np{ 17 | 18 | void f() 19 | { 20 | // this is never called, it just has to compile: 21 | timespec ts; 22 | int res = pthread_delay_np(&ts); 23 | } 24 | 25 | int test() 26 | { 27 | return 0; 28 | } 29 | 30 | } 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/boost_has_pthread_yield.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_PTHREAD_YIELD 9 | // TITLE: pthread_yield 10 | // DESCRIPTION: The platform supports non standard API pthread_yield. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_pthread_yield{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | int res = pthread_yield(); 21 | (void)res; 22 | } 23 | 24 | int test() 25 | { 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/boost_has_rvalue_refs.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_RVALUE_REFS 9 | // TITLE: rvalue references 10 | // DESCRIPTION: The compiler supports C++0x rvalue references 11 | 12 | namespace boost_has_rvalue_refs { 13 | 14 | void g(int&) {} 15 | 16 | template 17 | void forward(F f, T&& t) { f(static_cast(t)); } 18 | 19 | int test() 20 | { 21 | int x; 22 | forward(g, x); 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_has_sched_yield.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_SCHED_YIELD 9 | // TITLE: sched_yield 10 | // DESCRIPTION: The platform supports POSIX standard API sched_yield. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_sched_yield{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | int res = sched_yield(); 21 | (void) &res; 22 | } 23 | 24 | int test() 25 | { 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/boost_has_sigaction.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_SIGACTION 9 | // TITLE: sigaction 10 | // DESCRIPTION: The platform supports POSIX standard API sigaction. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_sigaction{ 16 | 17 | void f() 18 | { 19 | // this is never called, it just has to compile: 20 | struct sigaction* sa1 = 0 ; 21 | struct sigaction* sa2 = 0 ; 22 | int res = sigaction(0, sa1, sa2); 23 | (void) &res; 24 | } 25 | 26 | int test() 27 | { 28 | return 0; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /test/boost_has_static_assert.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_STATIC_ASSERT 9 | // TITLE: static assertions 10 | // DESCRIPTION: The compiler supports C++0x static assertions 11 | 12 | namespace boost_has_static_assert { 13 | 14 | int test() 15 | { 16 | static_assert(true, "OK"); 17 | return 0; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /test/boost_has_unistd_h.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_UNISTD_H 9 | // TITLE: 10 | // DESCRIPTION: The Platform provides . 11 | 12 | #include 13 | 14 | namespace boost_has_unistd_h{ 15 | 16 | int test() 17 | { 18 | return 0; 19 | } 20 | 21 | } 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/boost_has_variadic_tmpl.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_VARIADIC_TMPL 9 | // TITLE: variadic templates 10 | // DESCRIPTION: The compiler supports C++0x variadic templates 11 | 12 | namespace boost_has_variadic_tmpl { 13 | 14 | template struct tuple {}; 15 | 16 | int test() 17 | { 18 | return 0; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /test/boost_has_winthreads.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_HAS_WINTHREADS 9 | // TITLE: MS Windows threads 10 | // DESCRIPTION: The platform supports MS Windows style threads. 11 | 12 | #include 13 | 14 | 15 | namespace boost_has_winthreads{ 16 | 17 | int test() 18 | { 19 | HANDLE h = CreateMutex(0, 0, 0); 20 | if(h != NULL) 21 | { 22 | WaitForSingleObject(h, INFINITE); 23 | ReleaseMutex(h); 24 | CloseHandle(h); 25 | } 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/boost_no_array_type_spec.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // (C) Copyright Aleksey Gurtovoy 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for most recent version. 8 | 9 | // MACRO: BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS 10 | // TITLE: template specialisations of array types 11 | // DESCRIPTION: If the compiler cannot handle template specialisations 12 | // for array types 13 | 14 | 15 | namespace boost_no_array_type_specializations{ 16 | 17 | template< typename T > struct is_array 18 | { 19 | }; 20 | 21 | template< typename T, int N > struct is_array< T[N] > 22 | { 23 | }; 24 | 25 | int test() 26 | { 27 | return 0; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /test/boost_no_auto_declarations.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2009 Andrey Semashev 2 | // Copyright (C) 2017 Dynatrace 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for most recent version. 8 | 9 | // MACRO: BOOST_NO_CXX11_AUTO_DECLARATIONS 10 | // TITLE: C++0x auto declarators unavailable 11 | // DESCRIPTION: The compiler does not support C++0x declarations of variables with automatically deduced type 12 | 13 | namespace boost_no_cxx11_auto_declarations { 14 | 15 | void check_f(short&) 16 | { 17 | } 18 | 19 | int test() 20 | { 21 | auto x = static_cast(10); 22 | check_f(x); 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_auto_multidecl.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2009 Andrey Semashev 2 | // Copyright (C) 2017 Dynatrace 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for most recent version. 8 | 9 | // MACRO: BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS 10 | // TITLE: C++0x auto multideclarators unavailable 11 | // DESCRIPTION: The compiler does not support C++0x declarations of series of variables with automatically deduced type 12 | 13 | namespace boost_no_cxx11_auto_multideclarations { 14 | 15 | void check_f(short&, short*&) 16 | { 17 | } 18 | 19 | int test() 20 | { 21 | auto x = static_cast(10), *y = &x; 22 | check_f(x, y); 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx03.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX03 10 | // TITLE: C++03 11 | // DESCRIPTION: C++03 non-conformance 12 | 13 | #include 14 | 15 | namespace boost_no_cxx03 { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_cxx11.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11 10 | // TITLE: C++11 11 | // DESCRIPTION: C++11 non-conformance 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11 { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_addressof.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2012 2 | // (C) Copyright Peter Dimov 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX11_ADDRESSOF 11 | // TITLE: C++11 doesn't have a working std::addressof 12 | // DESCRIPTION: The compiler does not support the function std::addressof added to 13 | 14 | #include 15 | 16 | namespace boost_no_cxx11_addressof { 17 | 18 | void x3() 19 | { 20 | } 21 | 22 | int test() 23 | { 24 | int x1, x2[3]; 25 | return std::addressof(x1) != &x1 || std::addressof(x2) != &x2 || std::addressof(x3) != &x3; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_alignof.ipp: -------------------------------------------------------------------------------- 1 | // Copyright Peter Dimov 2022 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_ALIGNOF 10 | // TITLE: C++11 alignof keyword. 11 | // DESCRIPTION: The compiler does not support the C++11 alignof keyword. 12 | 13 | namespace boost_no_cxx11_alignof { 14 | 15 | int test() 16 | { 17 | return alignof(int) == alignof(int(&)[2])? 0: 1; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_defaulted_moves.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Andrzej Krzemienski 2018 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_DEFAULTED_MOVES 10 | // TITLE: C++0x defaulting of move constructor/assignment unavailable 11 | // DESCRIPTION: The compiler does not support C++0x defaulting of move constructor/assignment 12 | 13 | namespace boost_no_cxx11_defaulted_moves { 14 | 15 | struct foo { 16 | foo(foo&&) = default; 17 | foo& operator=(foo&&) = default; 18 | }; 19 | 20 | int test() 21 | { 22 | return 0; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_array.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_ARRAY 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_array { 16 | 17 | int test() 18 | { 19 | std::array a = {{ 1, 2, 3 }}; 20 | return a.size() == 3 ? 0 : 1; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_condition_variable.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_CONDITION_VARIABLE 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_condition_variable { 16 | 17 | int test() 18 | { 19 | using std::condition_variable; 20 | using std::condition_variable_any; 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_forward_list.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_FORWARD_LIST 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_forward_list { 16 | 17 | int test() 18 | { 19 | std::forward_list l(2u, 2); 20 | return *l.begin() == 2 ? 0 : 1; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_initializer_list.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_INITIALIZER_LIST 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_initializer_list { 16 | 17 | void foo(const std::initializer_list&) 18 | { 19 | } 20 | 21 | int test() 22 | { 23 | foo( { "a", "b", "c" } ); 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_mutex.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_MUTEX 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_mutex { 16 | 17 | int test() 18 | { 19 | using std::mutex; 20 | using std::recursive_mutex; 21 | using std::timed_mutex; 22 | using std::recursive_timed_mutex; 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_regex.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | // Copyright (c) Microsoft Corporation 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_REGEX 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_regex { 16 | 17 | int test() 18 | { 19 | using std::regex; 20 | using std::wregex; 21 | 22 | regex e("\\d+"); 23 | wregex we(L"\\d+"); 24 | std::string s("123456"); 25 | std::wstring ws(L"123456"); 26 | return regex_match(s, e) && regex_match(ws, we) ? 0 : 1; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_system_error.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_SYSTEM_ERROR 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_system_error { 16 | 17 | int test() 18 | { 19 | using std::error_category; 20 | using std::error_code; 21 | using std::error_condition; 22 | using std::system_error; 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_thread.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_THREAD 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_thread { 16 | 17 | int test() 18 | { 19 | using std::thread; 20 | using std::this_thread::get_id; 21 | using std::this_thread::yield; 22 | using std::this_thread::sleep_until; 23 | using std::this_thread::sleep_for; 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_tuple.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_TUPLE 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_tuple { 16 | 17 | int test() 18 | { 19 | std::tuple t(0, 1, 2); 20 | (void)t; 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_unordered_map.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_UNORDERED_MAP 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_unordered_map { 16 | 17 | int test() 18 | { 19 | std::unordered_map s1; 20 | std::unordered_multimap s2; 21 | return s1.empty() && s2.empty() ? 0 : 1; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_hdr_unordered_set.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_HDR_UNORDERED_SET 10 | // TITLE: C++0x header unavailable 11 | // DESCRIPTION: The standard library does not supply C++0x header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx11_hdr_unordered_set { 16 | 17 | int test() 18 | { 19 | std::unordered_set s1; 20 | std::unordered_multiset s2; 21 | return s1.empty() && s2.empty() ? 0 : 1; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_inline_namespaces.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Andrey Semashev 2013 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_INLINE_NAMESPACES 10 | // TITLE: C++11 inline namespaces. 11 | // DESCRIPTION: The compiler does not support C++11 inline namespaces. 12 | 13 | namespace boost_no_cxx11_inline_namespaces { 14 | 15 | inline namespace my_ns { 16 | 17 | int data = 0; 18 | 19 | } // namespace my_ns 20 | 21 | int test() 22 | { 23 | data = 1; 24 | if (&data == &my_ns::data) 25 | return 0; 26 | else 27 | return 1; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_numeric_limits.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Vicente J. Botet Escriba 2010. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX11_NUMERIC_LIMITS 9 | // TITLE: static function lowest() in numeric_limits class 10 | // DESCRIPTION: static function numeric_limits::lowest() are not available for use. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx11_numeric_limits{ 15 | 16 | int f() 17 | { 18 | // this is never called, it just has to compile: 19 | return std::numeric_limits::lowest(); 20 | } 21 | 22 | int test() 23 | { 24 | return 0; 25 | } 26 | 27 | } 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_override.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under Boost Software License, Version 1.0. 6 | (See accompanying file LICENSE_1_0.txt or copy at 7 | http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | // MACRO: BOOST_NO_CXX11_OVERRIDE 11 | // TITLE: C++11 SFINAE for expressions 12 | // DESCRIPTION: C++11 SFINAE for expressions not supported. 13 | 14 | namespace boost_no_cxx11_override { 15 | 16 | struct base { 17 | virtual void first() = 0; 18 | virtual void second() { } 19 | }; 20 | 21 | struct derived 22 | : base { 23 | void first() override { } 24 | void second() override { } 25 | }; 26 | 27 | int test() 28 | { 29 | return 0; 30 | } 31 | 32 | } /* boost_no_cxx11_override */ 33 | -------------------------------------------------------------------------------- /test/boost_no_cxx11_trailing_result_types.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Andrey Semashev 2013 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_TRAILING_RESULT_TYPES 10 | // TITLE: C++11 trailing function result types syntax. 11 | // DESCRIPTION: The compiler does not support the new C++11 function result types specification syntax. 12 | 13 | namespace boost_no_cxx11_trailing_result_types { 14 | 15 | template< typename T > 16 | auto foo(T const& t) -> T 17 | { 18 | return t; 19 | } 20 | 21 | int test() 22 | { 23 | return foo(0); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx14.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX14 10 | // TITLE: C++14 11 | // DESCRIPTION: C++14 non-conformance 12 | 13 | #include 14 | 15 | namespace boost_no_cxx14 { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_binary_literals.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_BINARY_LITERALS 11 | // TITLE: C++14 binary literals unavailable 12 | // DESCRIPTION: The compiler does not support C++14 binary literals 13 | 14 | namespace boost_no_cxx14_binary_literals 15 | { 16 | 17 | int test() 18 | { 19 | return ((int)0b01000010 == (int)0x42) ? 0 : 1; 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_decltype_auto.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_DECLTYPE_AUTO 11 | // TITLE: C++14 decltype(auto) unavailable 12 | // DESCRIPTION: The compiler does not support C++14 decltype(auto) 13 | 14 | namespace boost_no_cxx14_decltype_auto 15 | { 16 | 17 | void quiet_warning(int){} 18 | 19 | const int &foo(const int &x) 20 | { 21 | return x; 22 | } 23 | 24 | int test() 25 | { 26 | int j; 27 | decltype(auto) x = foo(j); 28 | quiet_warning(x); 29 | return 0; 30 | } 31 | 32 | } 33 | 34 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_digit_separator.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_DIGIT_SEPARATORS 11 | // TITLE: C++14 digit separator unavailable 12 | // DESCRIPTION: The compiler does not support C++14 digit separator 13 | 14 | namespace boost_no_cxx14_digit_separators 15 | { 16 | 17 | int test() 18 | { 19 | return 0'0; 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_generic_lambda.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_GENERIC_LAMBDAS 11 | // TITLE: C++14 generic lambda unavailable 12 | // DESCRIPTION: The compiler does not support C++14 generic lambda 13 | 14 | namespace boost_no_cxx14_generic_lambdas 15 | { 16 | 17 | int test() 18 | { 19 | return [](auto ret) { return ret; } (0); 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_lambda_capture.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES 11 | // TITLE: C++14 initialized lambda capture unavailable 12 | // DESCRIPTION: The compiler does not support C++14 initialized lambda capture 13 | 14 | namespace boost_no_cxx14_initialized_lambda_captures 15 | { 16 | 17 | int test() 18 | { 19 | return [ret = 0] { return ret; } (); 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_member_init.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_AGGREGATE_NSDMI 11 | // TITLE: C++14 member initializers unavailable 12 | // DESCRIPTION: The compiler does not support C++14 member initializers 13 | 14 | namespace boost_no_cxx14_aggregate_nsdmi 15 | { 16 | 17 | struct S 18 | { 19 | int x; 20 | int y = 0; 21 | }; 22 | 23 | int test() 24 | { 25 | S s[] = { { 0x72 }, { 0x42 } }; 26 | return s[1].x - 0x42; 27 | } 28 | 29 | } 30 | 31 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_return_type_ded.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION 11 | // TITLE: C++14 return type deduction unavailable 12 | // DESCRIPTION: The compiler does not support C++14 return type deduction 13 | 14 | namespace boost_no_cxx14_return_type_deduction 15 | { 16 | 17 | template 18 | auto deduced_abs(T x) 19 | { 20 | return x > 0 ? x : -x; 21 | } 22 | 23 | int test() 24 | { 25 | return deduced_abs(2) - deduced_abs(-2); 26 | } 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_std_exchange.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Oliver Kowalke 2016. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX14_STD_EXCHANGE 9 | // TITLE: apply 10 | // DESCRIPTION: The compiler supports the std::exchange() function. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx14_std_exchange { 15 | 16 | int test() { 17 | int * i = new int( 1); 18 | int * j = std::exchange( i, nullptr); 19 | delete j; 20 | return 0; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx14_var_templ.ipp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Kohei Takahashi 2014 3 | 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for more information. 9 | 10 | // MACRO: BOOST_NO_CXX14_VARIABLE_TEMPLATES 11 | // TITLE: C++14 variable templates unavailable 12 | // DESCRIPTION: The compiler does not support C++14 variable templates 13 | 14 | namespace boost_no_cxx14_variable_templates 15 | { 16 | 17 | template 18 | T zero = static_cast(0); 19 | 20 | int test() 21 | { 22 | return zero; 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx17.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX17 10 | // TITLE: C++17 11 | // DESCRIPTION: C++17 non-conformance 12 | 13 | #include 14 | 15 | namespace boost_no_cxx17 { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_auto_nontype_template_params.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Andrey Semashev 3 | * 4 | * Distributed under Boost Software License, Version 1.0. 5 | * (See accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | // MACRO: BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS 10 | // TITLE: C++17 auto non-type template parameters 11 | // DESCRIPTION: C++17 auto non-type template parameters are not supported. 12 | 13 | namespace boost_no_cxx17_auto_nontype_template_params { 14 | 15 | template< auto Value > 16 | struct foo 17 | { 18 | static auto get() 19 | { 20 | return Value; 21 | } 22 | }; 23 | 24 | const int ten = 10; 25 | 26 | int test() 27 | { 28 | return foo< 10 >::get() - *foo< &ten >::get(); 29 | } 30 | 31 | } // boost_no_cxx17_auto_nontype_template_params 32 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_deduction_guides.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2022 Andrey Semashev 3 | * 4 | * Distributed under Boost Software License, Version 1.0. 5 | * (See accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | // MACRO: BOOST_NO_CXX17_DEDUCTION_GUIDES 10 | // TITLE: C++17 class template argument deduction guides 11 | // DESCRIPTION: C++17 class template argument deduction guides are not supported. 12 | 13 | namespace boost_no_cxx17_deduction_guides { 14 | 15 | template< typename T > 16 | struct foo 17 | { 18 | T m_val; 19 | 20 | template< typename U > 21 | foo(U const& x) : m_val(x) {} 22 | }; 23 | 24 | template< typename T > 25 | foo(T const&)->foo< T >; 26 | 27 | 28 | int test() 29 | { 30 | foo x1(10); 31 | return x1.m_val - 10; 32 | } 33 | 34 | } // boost_no_cxx17_deduction_guides 35 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_fold_expressions.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under Boost Software License, Version 1.0. 6 | (See accompanying file LICENSE_1_0.txt or copy at 7 | http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | // MACRO: BOOST_NO_CXX17_FOLD_EXPRESSIONS 11 | // TITLE: C++17 fold expressions 12 | // DESCRIPTION: C++17 fold expressions are not supported. 13 | 14 | namespace boost_no_cxx17_fold_expressions { 15 | 16 | template 17 | auto sum(Args&&... args) 18 | { 19 | return (args + ... + 0); 20 | } 21 | 22 | int test() 23 | { 24 | return sum(1, -1, 1, 1, -1, -1); 25 | } 26 | 27 | } /* boost_no_cxx17_fold_expressions */ 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_hdr_any.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2020 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX17_HDR_ANY 10 | // TITLE: C++17 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++17 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx17_hdr_any { 16 | 17 | int test() 18 | { 19 | using std::bad_any_cast; 20 | using std::any; 21 | using std::make_any; 22 | using std::any_cast; 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_hdr_charconv.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2020 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX17_HDR_CHARCONV 10 | // TITLE: C++17 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++17 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx17_hdr_charconv { 16 | 17 | int test() 18 | { 19 | using std::chars_format; 20 | using std::to_chars_result; 21 | using std::to_chars; 22 | using std::from_chars_result; 23 | using std::from_chars; 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_hdr_optional.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2018 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX17_HDR_OPTIONAL 10 | // TITLE: C++17 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++17 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx17_hdr_optional { 16 | 17 | int test() 18 | { 19 | using std::optional; 20 | return 0; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_hdr_string_view.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2018 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX17_HDR_STRING_VIEW 10 | // TITLE: C++17 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++17 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx17_hdr_string_view { 16 | 17 | int test() 18 | { 19 | using std::string_view; 20 | using std::wstring_view; 21 | using std::u16string_view; 22 | using std::u32string_view; 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_inline_variables.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under Boost Software License, Version 1.0. 6 | (See accompanying file LICENSE_1_0.txt or copy at 7 | http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | // MACRO: BOOST_NO_CXX17_INLINE_VARIABLES 11 | // TITLE: C++17 inline variables 12 | // DESCRIPTION: C++17 inline variables are not supported. 13 | 14 | namespace boost_no_cxx17_inline_variables { 15 | 16 | inline const int Value = 1; 17 | 18 | struct Type { 19 | static inline const int value = 1; 20 | }; 21 | 22 | int test() 23 | { 24 | return Type::value - Value; 25 | } 26 | 27 | } /* boost_no_cxx17_inline_variables */ 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_std_apply.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Oliver Kowalke 2016. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX17_STD_APPLY 9 | // TITLE: apply 10 | // DESCRIPTION: The compiler supports the std::apply() function. 11 | 12 | #include 13 | #include 14 | 15 | namespace boost_no_cxx17_std_apply { 16 | 17 | int foo( int i, int j) { 18 | return i + j; 19 | } 20 | 21 | int test() { 22 | int i = 1, j = 2; 23 | std::apply( foo, std::make_tuple( i, j) ); 24 | return 0; 25 | } 26 | 27 | } 28 | 29 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_std_invoke.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Oliver Kowalke 2016. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX17_STD_INVOKE 9 | // TITLE: invoke 10 | // DESCRIPTION: The compiler supports the std::invoke() function. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx17_std_invoke { 15 | 16 | int foo( int i, int j) { 17 | return i + j; 18 | } 19 | 20 | int test() { 21 | int i = 1, j = 2; 22 | typename std::invoke_result::type t = std::invoke( foo, i, j); 23 | return 0; 24 | } 25 | 26 | } 27 | 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx17_structured_bindings.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under Boost Software License, Version 1.0. 6 | (See accompanying file LICENSE_1_0.txt or copy at 7 | http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | // MACRO: BOOST_NO_CXX17_STRUCTURED_BINDINGS 11 | // TITLE: C++17 structured bindings 12 | // DESCRIPTION: C++17 structured bindings are not supported. 13 | 14 | #include 15 | 16 | namespace boost_no_cxx17_structured_bindings { 17 | 18 | struct P { 19 | int x; 20 | int y; 21 | }; 22 | 23 | int test() 24 | { 25 | auto [c, d] = std::make_tuple(1, 2); 26 | if (c != 1 || d != 2) { 27 | return 1; 28 | } 29 | auto [a, b] = P{1, 2}; 30 | if (a != 1 || b != 2) { 31 | return 1; 32 | } 33 | return 0; 34 | } 35 | 36 | } /* boost_no_cxx17_structured_bindings */ 37 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_barrier.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_BARRIER 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_barrier { 16 | 17 | using std::barrier; 18 | 19 | int test() 20 | { 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_latch.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_LATCH 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_latch { 16 | 17 | using std::latch; 18 | 19 | int test() 20 | { 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_semaphore.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_SEMAPHORE 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_semaphore { 16 | 17 | using std::counting_semaphore; 18 | using std::binary_semaphore; 19 | 20 | int test() 21 | { 22 | return 0; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_source_location.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_SOURCE_LOCATION 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_source_location { 16 | 17 | using std::source_location; 18 | 19 | int test() 20 | { 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_span.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_SPAN 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_span { 16 | 17 | using std::span; 18 | using std::dynamic_extent; 19 | using std::as_bytes; 20 | using std::as_writable_bytes; 21 | 22 | int test() 23 | { 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_stop_token.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_STOP_TOKEN 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_stop_token { 16 | 17 | using std::stop_token; 18 | using std::stop_source; 19 | using std::stop_callback; 20 | using std::nostopstate_t; 21 | using std::nostopstate; 22 | 23 | int test() 24 | { 25 | return 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_cxx20_hdr_version.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX20_HDR_VERSION 10 | // TITLE: C++20 header is either not present or too broken to be used 11 | // DESCRIPTION: The compiler does not support the C++20 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx20_hdr_version { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_cxx23_hdr_expected.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2023 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX23_HDR_EXPECTED 10 | // TITLE: C++23 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++23 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx23_hdr_expected { 16 | 17 | int test() 18 | { 19 | using std::unexpected; 20 | using std::bad_expected_access; 21 | using std::unexpect_t; 22 | using std::unexpect; 23 | using std::expected; 24 | 25 | return 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_cxx23_hdr_generator.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2023 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX23_HDR_GENERATOR 10 | // TITLE: C++23 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++23 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx23_hdr_generator { 16 | 17 | int test() 18 | { 19 | using std::generator; 20 | 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_cxx23_hdr_mdspan.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2023 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX23_HDR_MDSPAN 10 | // TITLE: C++23 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++23 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx23_hdr_mdspan { 16 | 17 | int test() 18 | { 19 | using std::extents; 20 | using std::dextents; 21 | using std::layout_left; 22 | using std::layout_right; 23 | using std::layout_stride; 24 | using std::default_accessor; 25 | using std::mdspan; 26 | 27 | return 0; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /test/boost_no_cxx23_hdr_print.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2023 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX23_HDR_PRINT 10 | // TITLE: C++23 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++23 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx23_hdr_print { 16 | 17 | int test() 18 | { 19 | using std::print; 20 | using std::println; 21 | using std::vprint_unicode; 22 | using std::vprint_nonunicode; 23 | 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_cxx23_hdr_stacktrace.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2023 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX23_HDR_STACKTRACE 10 | // TITLE: C++23 header unavailable 11 | // DESCRIPTION: The standard library does not supply C++23 header 12 | 13 | #include 14 | 15 | namespace boost_no_cxx23_hdr_stacktrace { 16 | 17 | int test() 18 | { 19 | using std::stacktrace_entry; 20 | using std::basic_stacktrace; 21 | using std::stacktrace; 22 | 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_cxx98_binders.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2017. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX98_BINDERS 9 | // TITLE: std::bind1st, prt_fun and mem_fun 10 | // DESCRIPTION: The std lib has C++98 binders and adaptors. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx98_binders{ 15 | 16 | int f2(int a, int b) { return a + b; } 17 | 18 | struct A 19 | { 20 | int f1(int a) { return a; } 21 | }; 22 | 23 | 24 | int test() 25 | { 26 | A a; 27 | return std::bind1st(std::ptr_fun(f2), 0)(0) + std::bind1st(std::mem_fun(&A::f1), &a)(0); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /test/boost_no_cxx98_function_base.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2017. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX98_FUNCTION_BASE 9 | // TITLE: std::unary_function and std::binary_function 10 | // DESCRIPTION: The std lib has unary_function and binary_function. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx98_function_base{ 15 | 16 | struct A : public std::unary_function{}; 17 | struct B : public std::binary_function{}; 18 | 19 | int test() 20 | { 21 | A a; 22 | B b; 23 | (void)a; 24 | (void)b; 25 | return static_cast(0); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_cxx98_random_shuffle.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2017. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX98_RANDOM_SHUFFLE 9 | // TITLE: std::random_shuffle 10 | // DESCRIPTION: The std lib has random_shuffle. 11 | 12 | #include 13 | 14 | namespace boost_no_cxx98_random_shuffle{ 15 | 16 | int test() 17 | { 18 | int my_array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; 19 | std::random_shuffle(&my_array[0], &my_array[9] ); 20 | return 0; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_defaulted_functions.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2008 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_DEFAULTED_FUNCTIONS 10 | // TITLE: C++0x defaulted functions unavailable 11 | // DESCRIPTION: The compiler does not support C++0x defaulted functions 12 | 13 | #if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X) 14 | # error Defaulted functions are not supported in non-C++0x mode 15 | #endif 16 | 17 | namespace boost_no_cxx11_defaulted_functions { 18 | 19 | struct foo { 20 | foo() = default; 21 | }; 22 | 23 | int test() 24 | { 25 | return 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_deleted_functions.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2008 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_DELETED_FUNCTIONS 10 | // TITLE: C++0x =delete functions unavailable 11 | // DESCRIPTION: The compiler does not support C++0x =delete functions 12 | 13 | #if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X) 14 | # error Deleted functions are not supported in non-C++0x mode 15 | #endif 16 | 17 | namespace boost_no_cxx11_deleted_functions { 18 | 19 | struct foo { 20 | foo() = delete; 21 | }; 22 | 23 | int test() 24 | { 25 | return 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /test/boost_no_excep_std.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_EXCEPTION_STD_NAMESPACE 9 | // TITLE: is in namespace std 10 | // DESCRIPTION: Some std libs don't put the contents of 11 | // in namespace std. 12 | 13 | #include 14 | 15 | namespace boost_no_exception_std_namespace{ 16 | 17 | int t(int i) 18 | { 19 | if(i) 20 | std::terminate(); 21 | return 0; 22 | } 23 | 24 | int test() 25 | { 26 | return t(0); 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/boost_no_i64_limits.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_MS_INT64_NUMERIC_LIMITS 9 | // TITLE: std::numeric_limits<__int64> 10 | // DESCRIPTION: The C++ implementation does not provide the a specialisation 11 | // for std::numeric_limits<__int64>. 12 | 13 | #include 14 | 15 | namespace boost_no_ms_int64_numeric_limits{ 16 | 17 | int test() 18 | { 19 | if(0 == std::numeric_limits<__int64>::is_specialized) return -1; 20 | if(0 == std::numeric_limits::is_specialized) return -1; 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/boost_no_iosfwd.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Peter Dimov 2007. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_IOSFWD 9 | // TITLE: 10 | // DESCRIPTION: The header is missing 11 | 12 | #include 13 | 14 | namespace boost_no_iosfwd 15 | { 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/boost_no_iostream.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Peter Dimov 2007. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_IOSTREAM 9 | // TITLE: No iostream support 10 | // DESCRIPTION: The , , headers are missing 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace boost_no_iostream 17 | { 18 | 19 | int test() 20 | { 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /test/boost_no_lambdas.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_LAMBDAS 10 | // TITLE: C++0x lambda feature unavailable 11 | // DESCRIPTION: The compiler does not support the C++0x lambda feature 12 | 13 | #if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X) 14 | # error This feature is not available in non-C++0x mode 15 | #endif 16 | 17 | namespace boost_no_cxx11_lambdas { 18 | 19 | template 20 | int f(Func f) 21 | { 22 | return f(); 23 | } 24 | 25 | int test() 26 | { 27 | return f([](){ return 0; }); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /test/boost_no_long_long.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_LONG_LONG 9 | // TITLE: C++0x long long unavailable 10 | // DESCRIPTION: The platform does not support C++0x long long. 11 | 12 | #include 13 | 14 | 15 | namespace boost_no_long_long{ 16 | 17 | int test() 18 | { 19 | #ifdef __GNUC__ 20 | __extension__ long long lli = 0LL; 21 | __extension__ unsigned long long ulli = 0uLL; 22 | #else 23 | long long lli = 0LL; 24 | unsigned long long ulli = 0uLL; 25 | #endif 26 | (void)&lli; 27 | (void)&ulli; 28 | return 0; 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /test/boost_no_noexcept.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Takaya Saito 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX11_NOEXCEPT 9 | // TITLE: C++0x noexcept unavailable 10 | // DESCRIPTION: The compiler does not support C++0x noexcept 11 | 12 | namespace boost_no_cxx11_noexcept { 13 | 14 | void quiet_warning(bool){} 15 | 16 | int f() noexcept ; 17 | int g() noexcept( noexcept( f() ) ) ; 18 | 19 | int test() 20 | { 21 | bool b = noexcept( g() ); 22 | quiet_warning(b); 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_nullptr.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_NULLPTR 10 | // TITLE: C++0x nullptr feature unavailable 11 | // DESCRIPTION: The compiler does not support the C++0x nullptr feature 12 | 13 | namespace boost_no_cxx11_nullptr { 14 | 15 | void quiet_warning(const int*){} 16 | 17 | int test() 18 | { 19 | int * p = nullptr; 20 | quiet_warning(p); 21 | return 0; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /test/boost_no_range_based_for.ipp: -------------------------------------------------------------------------------- 1 | // Copyright Beman Dawes 2012 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | // See http://www.boost.org/libs/config for more information. 7 | 8 | // MACRO: BOOST_NO_CXX11_RANGE_BASED_FOR 9 | // TITLE: C++11 ranged-based for statement unavailable 10 | // DESCRIPTION: The compiler does not support the C++11 range-based for statement 11 | 12 | namespace boost_no_cxx11_range_based_for { 13 | 14 | int test() 15 | { 16 | // example from 6.5.4 The range-based for statement [stmt.ranged] 17 | int array[5] = { 1, 2, 3, 4, 5 }; 18 | for (int& x : array) 19 | x *= 2; 20 | return 0; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /test/boost_no_raw_literals.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2008 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_RAW_LITERALS 10 | // TITLE: C++0x raw string literals unavailable 11 | // DESCRIPTION: The compiler does not support C++0x raw string literals 12 | 13 | namespace boost_no_cxx11_raw_literals { 14 | 15 | void quiet_warning(const char*){} 16 | void quiet_warning(const wchar_t*){} 17 | 18 | int test() 19 | { 20 | const char* s = R"(abc)"; 21 | quiet_warning(s); 22 | const wchar_t* ws = LR"(abc)"; 23 | quiet_warning(ws); 24 | return 0; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /test/boost_no_rvalue_references.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX11_RVALUE_REFERENCES 9 | // TITLE: C++0x rvalue references unavailable 10 | // DESCRIPTION: The compiler does not support C++0x rvalue references 11 | 12 | namespace boost_no_cxx11_rvalue_references { 13 | 14 | void g(int&) {} 15 | 16 | template 17 | void forward(F f, T&& t) { f(static_cast(t)); } 18 | 19 | int test() 20 | { 21 | int x; 22 | forward(g, x); 23 | return 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /test/boost_no_sstream.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | // MACRO: BOOST_NO_STRINGSTREAM 9 | // TITLE: 10 | // DESCRIPTION: The C++ implementation does not provide the header. 11 | 12 | #include 13 | #include 14 | 15 | namespace boost_no_stringstream{ 16 | 17 | int test() 18 | { 19 | std::stringstream ss; 20 | ss << "abc"; 21 | std::string s = ss.str(); 22 | return (s != "abc"); 23 | } 24 | 25 | } 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/boost_no_static_assert.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX11_STATIC_ASSERT 9 | // TITLE: C++0x static_assert unavailable 10 | // DESCRIPTION: The compiler does not support C++0x static assertions 11 | 12 | namespace boost_no_cxx11_static_assert { 13 | 14 | int test() 15 | { 16 | static_assert(true, "OK"); 17 | return 0; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /test/boost_no_std_distance.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | // MACRO: BOOST_NO_STD_DISTANCE 9 | // TITLE: std::distance 10 | // DESCRIPTION: The platform does not have a conforming version of std::distance. 11 | 12 | #include 13 | #include 14 | 15 | 16 | namespace boost_no_std_distance{ 17 | 18 | int test() 19 | { 20 | const char* begin = 0; 21 | const char* end = 0; 22 | if(std::distance(begin, end)) return -1; 23 | return 0; 24 | } 25 | 26 | } 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/boost_no_std_min_max.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | // MACRO: BOOST_NO_STD_MIN_MAX 9 | // TITLE: std::min and std::max 10 | // DESCRIPTION: The C++ standard library does not provide 11 | // the (min)() and (max)() template functions that 12 | // should be in . 13 | 14 | #include 15 | 16 | namespace boost_no_std_min_max{ 17 | 18 | 19 | int test() 20 | { 21 | int i = 0; 22 | int j = 2; 23 | if((std::min)(i,j) != 0) return -1; 24 | if((std::max)(i,j) != 2) return -1; 25 | 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /test/boost_no_std_typeinfo.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Peter Dimov 2007. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_STD_TYPEINFO 9 | // TITLE: type_info not in namespace std 10 | // DESCRIPTION: The header declares type_info in the global namespace instead of std 11 | 12 | #include 13 | 14 | namespace boost_no_std_typeinfo 15 | { 16 | void quiet_warning(const std::type_info*){} 17 | 18 | int test() 19 | { 20 | std::type_info * p = 0; 21 | quiet_warning(p); 22 | return 0; 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /test/boost_no_std_use_facet.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | // MACRO: BOOST_NO_STD_USE_FACET 9 | // TITLE: std::use_facet 10 | // DESCRIPTION: The standard library lacks a conforming std::use_facet. 11 | 12 | #include 13 | 14 | namespace boost_no_std_use_facet{ 15 | 16 | int test() 17 | { 18 | std::locale l; 19 | const std::ctype& ct = std::use_facet >(l); 20 | (void)ct; 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/boost_no_std_wstring.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_STD_WSTRING 9 | // TITLE: std::wstring 10 | // DESCRIPTION: The standard library lacks std::wstring. 11 | 12 | #include 13 | 14 | namespace boost_no_std_wstring{ 15 | 16 | int test() 17 | { 18 | std::wstring s; 19 | if(*s.c_str() || (s.begin() != s.end()) || s.size() || (sizeof(std::wstring::value_type) != sizeof(wchar_t))) return -1; 20 | return 0; 21 | } 22 | 23 | } 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /test/boost_no_swprintf.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_SWPRINTF 9 | // TITLE: swprintf 10 | // DESCRIPTION: The platform does not have a conforming version of swprintf. 11 | 12 | #include 13 | #include 14 | 15 | 16 | namespace boost_no_swprintf{ 17 | 18 | int test() 19 | { 20 | wchar_t buf[10]; 21 | swprintf(buf, 10, L"%d", 10); 22 | return 0; 23 | } 24 | 25 | } 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /test/boost_no_template_aliases.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2009 2 | 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for more information. 8 | 9 | // MACRO: BOOST_NO_CXX11_TEMPLATE_ALIASES 10 | // TITLE: C++0x template_aliases feature unavailable 11 | // DESCRIPTION: The compiler does not support the C++0x template_aliases feature 12 | 13 | namespace boost_no_cxx11_template_aliases { 14 | 15 | using PINT = void (*)(int); // using plus C-style type 16 | 17 | int test() 18 | { 19 | return 0; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /test/boost_no_template_streams.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2008. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_TEMPLATED_IOSTREAMS 9 | // TITLE: basic_iostream<> 10 | // DESCRIPTION: The platform supports "new style" templated iostreams. 11 | 12 | #include 13 | 14 | 15 | namespace boost_no_templated_iostreams{ 16 | 17 | int test() 18 | { 19 | std::basic_ostream >& osr = std::cout; 20 | (void)osr; 21 | return 0; 22 | } 23 | 24 | } 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /test/boost_no_typeid.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Peter Dimov 2007. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_TYPEID 9 | // TITLE: typeid unavailable 10 | // DESCRIPTION: The compiler does not support typeid in this mode 11 | 12 | #include 13 | 14 | namespace boost_no_typeid 15 | { 16 | 17 | int test() 18 | { 19 | (void)typeid(int); 20 | return 0; 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /test/boost_no_variadic_templates.ipp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Douglas Gregor 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_CXX11_VARIADIC_TEMPLATES 9 | // TITLE: C++0x variadic templates unavailable 10 | // DESCRIPTION: The compiler does not support C++0x variadic templates 11 | 12 | namespace boost_no_cxx11_variadic_templates { 13 | 14 | template struct tuple {}; 15 | 16 | int test() 17 | { 18 | return 0; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /test/boost_no_void_returns.ipp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for most recent version. 7 | 8 | // MACRO: BOOST_NO_VOID_RETURNS 9 | // TITLE: no void returns 10 | // DESCRIPTION: The compiler does not allow a void function 11 | // to return the result of calling another void 12 | // function. 13 | // 14 | // void f() {} 15 | // void g() { return f(); } 16 | 17 | 18 | namespace boost_no_void_returns{ 19 | 20 | void f() {} 21 | 22 | void g() { return f(); } 23 | 24 | int test() 25 | { 26 | return 0; 27 | } 28 | 29 | } 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/boost_override_test.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #include 9 | 10 | struct base { 11 | virtual void first() = 0; 12 | virtual void second() { } 13 | }; 14 | 15 | struct derived 16 | : base { 17 | void first() BOOST_OVERRIDE { } 18 | void second() BOOST_OVERRIDE { } 19 | }; 20 | -------------------------------------------------------------------------------- /test/check_memory.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2021. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // 7 | // Quick santity check that is OK. It was broken for some old gcc versions and -fno-rtti 8 | // 9 | 10 | #include 11 | 12 | -------------------------------------------------------------------------------- /test/cmd_line_check.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2014 John Maddock. 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // 5 | // See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #ifndef __clang__ 9 | # error "This test is for Clang only" 10 | #endif 11 | 12 | int main() 13 | { 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /test/config_build_check.cpp: -------------------------------------------------------------------------------- 1 | // Copyright John Maddock 2014. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version.// 7 | // Revision $Id$ 8 | // 9 | // We include this as it contains some workarounds we may need (like a declaration for ::gets to get clang building): 10 | #include 11 | 12 | # include "../test/boost_has_int128.ipp" 13 | # include "../test/boost_no_constexpr.ipp" 14 | # include "../test/boost_no_cxx11_user_lit.ipp" 15 | 16 | int main( int, char *[] ) 17 | { 18 | return boost_has_int128::test() || boost_no_cxx11_constexpr::test() || boost_no_cxx11_user_defined_literals::test(); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /test/config_test_c.c: -------------------------------------------------------------------------------- 1 | /* (C) Copyright John Maddock 2011. 2 | Use, modification and distribution are subject to the 3 | Boost Software License, Version 1.0. (See accompanying file 4 | LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | */ 6 | 7 | #include 8 | 9 | 10 | int main() 11 | { 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /test/header_deprecated_test.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Peter Dimov. 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // 5 | // See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #include 9 | 10 | BOOST_HEADER_DEPRECATED("") 11 | 12 | #define ALTERNATIVE "the suitable component header" 13 | BOOST_HEADER_DEPRECATED(ALTERNATIVE) 14 | 15 | #include // BOOST_STRINGIZE 16 | 17 | #define HEADER 18 | BOOST_HEADER_DEPRECATED(BOOST_STRINGIZE(HEADER)) 19 | -------------------------------------------------------------------------------- /test/helper_macros_test.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Peter Dimov. 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // 5 | // See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #include 9 | #include 10 | 11 | int main() 12 | { 13 | #define X pumpkin 14 | 15 | BOOST_TEST_CSTR_EQ( BOOST_STRINGIZE(X), "pumpkin" ); 16 | BOOST_TEST_CSTR_EQ( BOOST_STRINGIZE(__LINE__), "16" ); 17 | 18 | #define Y 2 19 | 20 | int BOOST_JOIN(X, Y) = 0; 21 | (void)pumpkin2; 22 | 23 | int BOOST_JOIN(X, __LINE__) = 0; 24 | (void)pumpkin23; 25 | 26 | BOOST_TEST_CSTR_EQ( BOOST_STRINGIZE(BOOST_JOIN(X, Y)), "pumpkin2" ); 27 | BOOST_TEST_CSTR_EQ( BOOST_STRINGIZE(BOOST_JOIN(X, __LINE__)), "pumpkin27" ); 28 | 29 | return boost::report_errors(); 30 | } 31 | -------------------------------------------------------------------------------- /test/link/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # copyright John Maddock 2003 2 | # Use, modification and distribution are subject to the 3 | # Boost Software License, Version 1.0. (See accompanying file 4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | lib link_test : link_test.cpp 7 | : shared shared 8 | # This is needed to make the test work, I'm unsure if this 9 | # should be set globally. 10 | BOOST_DYN_LINK=1 11 | # Override multi inherited from parent. 12 | single 13 | : 14 | debug release 15 | ; 16 | 17 | run main.cpp link_test : : : BOOST_DYN_LINK=1 BOOST_CONFIG_NO_LIB shared shared single : link_test_test ; 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/link/common.sh: -------------------------------------------------------------------------------- 1 | # copyright John Maddock 2005 2 | # Use, modification and distribution are subject to the 3 | # Boost Software License, Version 1.0. (See accompanying file 4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | # 6 | # locate all the header dependencies: 7 | header="" 8 | # 9 | # locate all the source files: 10 | src=link_test.cpp 11 | 12 | boost_version=$(grep 'define.*BOOST_LIB_VERSION' ../../../../boost/version.hpp | sed 's/.*"\([^"]*\)".*/\1/') 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/link/main.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | #include "link_test.hpp" 9 | 10 | int main() 11 | { 12 | #ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE 13 | test_free_proc(0); 14 | tester::test(); 15 | #endif 16 | return check_options(dyn_link, dyn_rtl, has_threads, debug, stl_debug) ? 0 : -1; 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/pragma_message_test.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Peter Dimov. 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // 5 | // See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #include 9 | 10 | BOOST_PRAGMA_MESSAGE("first message") 11 | 12 | #define MSG2 "second message" 13 | BOOST_PRAGMA_MESSAGE(MSG2) 14 | 15 | #include // BOOST_STRINGIZE 16 | 17 | #define MSG3 third message 18 | BOOST_PRAGMA_MESSAGE(BOOST_STRINGIZE(MSG3)) 19 | -------------------------------------------------------------------------------- /test/symbol_deprecated_test.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Andrey Semashev. 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // 5 | // See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #include 9 | 10 | BOOST_DEPRECATED("Use bar() instead.") 11 | void foo(); 12 | 13 | template< typename T > 14 | class BOOST_DEPRECATED("Use std::unique_ptr instead.") my_auto_ptr 15 | { 16 | }; 17 | 18 | BOOST_DEPRECATED("Use std::numeric_limits::max() instead.") 19 | const int max_int = 0x7fffffff; 20 | -------------------------------------------------------------------------------- /test/test.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/config for the most recent version. 7 | 8 | #ifndef BOOST_CONFIG_TEST_HPP 9 | #define BOOST_CONFIG_TEST_HPP 10 | 11 | namespace empty_boost{ 12 | 13 | int test() 14 | { 15 | return 0; 16 | } 17 | 18 | } 19 | 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /test/threads/test_thread_fail1.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // disable thread support: 7 | #define BOOST_DISABLE_THREADS 8 | // this should now be a compiler error: 9 | #include 10 | // we should never get here... 11 | -------------------------------------------------------------------------------- /test/threads/test_thread_fail2.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | // disable thread support: 8 | #ifdef BOOST_HAS_THREADS 9 | # undef BOOST_HAS_THREADS 10 | #endif 11 | // this should now be a compiler error: 12 | #include 13 | // we should never get here... 14 | -------------------------------------------------------------------------------- /tools/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # Copyright John Maddock 2005. 2 | # Use, modification and distribution are subject to the 3 | # Boost Software License, Version 1.0. (See accompanying file 4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | run generate.cpp 7 | /boost/regex//boost_regex 8 | /boost/filesystem//boost_filesystem /boost/system//boost_system 9 | : ../../.. 10 | ; 11 | 12 | 13 | 14 | 15 | 16 | --------------------------------------------------------------------------------