update boost

This commit is contained in:
2023-11-24 12:56:13 -06:00
parent cfc99971af
commit 19d727037a
9260 changed files with 849256 additions and 299957 deletions

View File

@@ -9,7 +9,9 @@
#ifndef BOOST_RATIO_CONFIG_HPP
#define BOOST_RATIO_CONFIG_HPP
#include <boost/ratio/detail/requires_cxx11.hpp>
#include <boost/config.hpp>
#include <boost/config/pragma_message.hpp>
#include <boost/cstdint.hpp>
@@ -24,7 +26,7 @@
#if !defined BOOST_RATIO_VERSION
#define BOOST_RATIO_VERSION 1
#define BOOST_RATIO_VERSION 2
#else
#if BOOST_RATIO_VERSION!=1 && BOOST_RATIO_VERSION!=2
#error "BOOST_RATIO_VERSION must be 1 or 2"
@@ -90,7 +92,10 @@
#define BOOST_RATIO_DENOMINATOR_IS_OUT_OF_RANGE "ratio denominator is out of range"
#endif
#if defined(BOOST_RATIO_EXTENSIONS)
//#define BOOST_RATIO_EXTENSIONS
BOOST_PRAGMA_MESSAGE("Support for BOOST_RATIO_EXTENSIONS is deprecated and will be removed when Boost.Ratio is implemented in terms of <ratio>.")
#endif
#endif // header

View File

@@ -0,0 +1,22 @@
#ifndef BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
#define BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
// Copyright 2023 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/config.hpp>
#include <boost/config/pragma_message.hpp>
#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
defined(BOOST_NO_CXX11_DECLTYPE) || \
defined(BOOST_NO_CXX11_CONSTEXPR) || \
defined(BOOST_NO_CXX11_NOEXCEPT) || \
defined(BOOST_NO_CXX11_HDR_RATIO)
BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Ratio 1.82 and will be removed in Boost.Ratio 1.84.")
#endif
#endif // #ifndef BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED

View File

@@ -1,6 +1,6 @@
// plus.hpp
//
// (C) Copyright 2011Vicente J. Botet Escriba
// (C) Copyright 2011 Vicente J. Botet Escriba
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).