Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions lslboost/boost/assert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@

namespace lslboost
{
#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
BOOST_NORETURN
#endif
void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
BOOST_NORETURN
#endif
void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const * file, long line); // user defined
} // namespace lslboost

Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/assert_cxx17.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#include <boost/config.hpp>
#include <boost/config/assert_cxx14.hpp>

#ifdef BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
# error "Your compiler appears not to be fully C++17 compliant. Detected via defect macro BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS."
#endif
#ifdef BOOST_NO_CXX17_DEDUCTION_GUIDES
# error "Your compiler appears not to be fully C++17 compliant. Detected via defect macro BOOST_NO_CXX17_DEDUCTION_GUIDES."
#endif
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/borland.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#if __BORLANDC__ >= 0x590
# define BOOST_HAS_TR1_HASH
Expand Down
4 changes: 4 additions & 0 deletions lslboost/boost/config/compiler/clang.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif

#if (__clang_major__ < 4) || (__cplusplus < 201406L) /* non-standard value that is greater than 201402, which is reported by clang 4.0.0 for C++1z */
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#if __cplusplus < 201103L
#define BOOST_NO_CXX11_SFINAE_EXPR
#endif
Expand Down
4 changes: 4 additions & 0 deletions lslboost/boost/config/compiler/codegear.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif

#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

//
// TR1 macros:
//
Expand Down
4 changes: 3 additions & 1 deletion lslboost/boost/config/compiler/common_edg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,12 @@
#if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif

#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#ifdef c_plusplus
// EDG has "long long" in non-strict mode
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/digitalmars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#if (__DMC__ <= 0x840)
#error "Compiler not supported or configured - please reconfigure"
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/gcc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if (__GNUC__ < 7) || (__cplusplus < 201703L)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#if __GNUC__ >= 7
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
Expand Down
5 changes: 3 additions & 2 deletions lslboost/boost/config/compiler/gcc_xml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__


4 changes: 4 additions & 0 deletions lslboost/boost/config/compiler/hp_acc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@
#define BOOST_NO_CXX11_VARIADIC_MACROS
#endif

#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#endif

//
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/metrowerks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)

Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/mpw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

//
// versions check:
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/nvcc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
# define BOOST_NO_CXX11_NOEXCEPT
#endif

#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#endif
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/pathscale.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,7 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif
#endif
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/sunpro_cc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

// Turn on threading support for Solaris 12.
// Ticket #11972
Expand Down
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/vacpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,6 @@
#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
# define BOOST_NO_CXX17_IF_CONSTEXPR
#endif
#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif
3 changes: 3 additions & 0 deletions lslboost/boost/config/compiler/visualc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
#define BOOST_NO_CXX17_INLINE_VARIABLES
#define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#if (_MSC_VER < 1914) || (_MSVC_LANG < 201703)
#define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

//
// Things that don't work in clr mode:
Expand Down
4 changes: 4 additions & 0 deletions lslboost/boost/config/compiler/xlcpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif

#if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
# define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
#endif

#if !__has_feature(cxx_thread_local)
# define BOOST_NO_CXX11_THREAD_LOCAL
#endif
Expand Down
1 change: 1 addition & 0 deletions lslboost/boost/config/compiler/xlcpp_zos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
#define BOOST_NO_CXX17_INLINE_VARIABLES
#define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#define BOOST_NO_CXX17_IF_CONSTEXPR
#define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS

// -------------------------------------

Expand Down
1 change: 1 addition & 0 deletions lslboost/boost/config/detail/cxx_composite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
#endif

#if defined(BOOST_NO_CXX14)\
|| defined(BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS)\
|| defined(BOOST_NO_CXX17_DEDUCTION_GUIDES)\
|| defined(BOOST_NO_CXX17_FOLD_EXPRESSIONS)\
|| defined(BOOST_NO_CXX17_HDR_ANY)\
Expand Down
5 changes: 5 additions & 0 deletions lslboost/boost/config/stdlib/libcpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,9 @@
#endif
#endif

#if _LIBCPP_VERSION <= 170006
// no std::ranges::join_view
# define BOOST_NO_CXX20_HDR_RANGES
#endif

// --- end ---
64 changes: 0 additions & 64 deletions lslboost/boost/smart_ptr/detail/operator_bool.hpp

This file was deleted.

23 changes: 0 additions & 23 deletions lslboost/boost/smart_ptr/detail/requires_cxx11.hpp

This file was deleted.

16 changes: 0 additions & 16 deletions lslboost/boost/smart_ptr/detail/sp_convertible.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
#include <boost/config.hpp>
#include <cstddef>

#if !defined( BOOST_SP_NO_SP_CONVERTIBLE ) && defined( BOOST_NO_SFINAE )
# define BOOST_SP_NO_SP_CONVERTIBLE
#endif

#if !defined( BOOST_SP_NO_SP_CONVERTIBLE ) && defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ < 303 )
# define BOOST_SP_NO_SP_CONVERTIBLE
#endif

#if !defined( BOOST_SP_NO_SP_CONVERTIBLE ) && defined( BOOST_BORLANDC ) && ( BOOST_BORLANDC < 0x630 )
# define BOOST_SP_NO_SP_CONVERTIBLE
#endif

#if !defined( BOOST_SP_NO_SP_CONVERTIBLE )

namespace lslboost
{

Expand Down Expand Up @@ -87,6 +73,4 @@ template< class Y, class T > struct sp_enable_if_convertible: public sp_enable_i

} // namespace lslboost

#endif // !defined( BOOST_SP_NO_SP_CONVERTIBLE )

#endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_CONVERTIBLE_HPP_INCLUDED
37 changes: 37 additions & 0 deletions lslboost/boost/smart_ptr/detail/sp_cxx20_constexpr.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#ifndef BOOST_SMART_PTR_DETAIL_SP_CXX20_CONSTEXPR_HPP_INCLUDED
#define BOOST_SMART_PTR_DETAIL_SP_CXX20_CONSTEXPR_HPP_INCLUDED

// MS compatible compilers support #pragma once

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

// detail/sp_noexcept.hpp
//
// Copyright 2025 Mathias Stearn
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt


// This macro is used to mark functions as constexpr if the compiler supports
// constexpr destructors. Since you can't have a constexpr smart pointer object,
// everything except null constructors are guided behind this macro. Because
// this also guards a use of dynamic_cast, we need to check for its availability
// as well. It isn't worth splitting out since all known compilers that support
// constexpr dynamic_cast also support constexpr destructors.
//
// WARNING: This does not check for changing active member of a union in
// constant expressions which is allowed in C++20. If that is needed, we
// need to raise the checked version to 202002L.
#if defined(__cpp_constexpr_dynamic_alloc) && __cpp_constexpr_dynamic_alloc >= 201907L \
&& defined(__cpp_constexpr) && __cpp_constexpr >= 201907L
#define BOOST_SP_CXX20_CONSTEXPR constexpr
#else
#define BOOST_SP_CXX20_CONSTEXPR
#define BOOST_SP_NO_CXX20_CONSTEXPR
#endif

#endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_CXX20_CONSTEXPR_HPP_INCLUDED
Loading
Loading