Fixes #92 ("C++26 errors: omission of ',' before varargs '...' is deprecated")

This commit is contained in:
Ion Gaztañaga
2025-05-18 22:33:14 +02:00
parent ca83c03010
commit 2e134cbee8
2 changed files with 11 additions and 4 deletions

View File

@ -3902,6 +3902,13 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std
[section:release_notes Release Notes]
[section:release_notes_boost_1_89_00 Boost 1.89 Release]
* Fixed bugs:
* [@https://github.com/boostorg/intrusive/issues/92 GitHub #92: ['C++26 errors: omission of ',' before varargs '...' is deprecated]]
[endsect]
[section:release_notes_boost_1_86_00 Boost 1.86 Release]
* Fixed bugs:

View File

@ -88,7 +88,7 @@ struct is_unary_or_binary_function_impl<R (*)(T0)>
{ static const bool value = true; };
template <typename R, class T0>
struct is_unary_or_binary_function_impl<R (*)(T0...)>
struct is_unary_or_binary_function_impl<R (*)(T0, ...)>
{ static const bool value = true; };
#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS
@ -110,7 +110,7 @@ struct is_unary_or_binary_function_impl<R (__cdecl*)(T0)>
{ static const bool value = true; };
template <typename R, class T0>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0...)>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, ...)>
{ static const bool value = true; };
#endif
@ -124,7 +124,7 @@ struct is_unary_or_binary_function_impl<R (*)(T0, T1)>
{ static const bool value = true; };
template <typename R, class T0, class T1>
struct is_unary_or_binary_function_impl<R (*)(T0, T1...)>
struct is_unary_or_binary_function_impl<R (*)(T0, T1, ...)>
{ static const bool value = true; };
#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS
@ -146,7 +146,7 @@ struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1)>
{ static const bool value = true; };
template <typename R, class T0, class T1>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1...)>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1, ...)>
{ static const bool value = true; };
#endif