Skip to content

Commit 2e134cb

Browse files
committed
Fixes #92 ("C++26 errors: omission of ',' before varargs '...' is deprecated")
1 parent ca83c03 commit 2e134cb

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

doc/intrusive.qbk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3902,6 +3902,13 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std
39023902

39033903
[section:release_notes Release Notes]
39043904

3905+
[section:release_notes_boost_1_89_00 Boost 1.89 Release]
3906+
3907+
* Fixed bugs:
3908+
* [@https://github.com/boostorg/intrusive/issues/92 GitHub #92: ['C++26 errors: omission of ',' before varargs '...' is deprecated]]
3909+
3910+
[endsect]
3911+
39053912
[section:release_notes_boost_1_86_00 Boost 1.86 Release]
39063913

39073914
* Fixed bugs:

include/boost/intrusive/detail/ebo_functor_holder.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct is_unary_or_binary_function_impl<R (*)(T0)>
8888
{ static const bool value = true; };
8989

9090
template <typename R, class T0>
91-
struct is_unary_or_binary_function_impl<R (*)(T0...)>
91+
struct is_unary_or_binary_function_impl<R (*)(T0, ...)>
9292
{ static const bool value = true; };
9393

9494
#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS
@@ -110,7 +110,7 @@ struct is_unary_or_binary_function_impl<R (__cdecl*)(T0)>
110110
{ static const bool value = true; };
111111

112112
template <typename R, class T0>
113-
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0...)>
113+
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, ...)>
114114
{ static const bool value = true; };
115115

116116
#endif
@@ -124,7 +124,7 @@ struct is_unary_or_binary_function_impl<R (*)(T0, T1)>
124124
{ static const bool value = true; };
125125

126126
template <typename R, class T0, class T1>
127-
struct is_unary_or_binary_function_impl<R (*)(T0, T1...)>
127+
struct is_unary_or_binary_function_impl<R (*)(T0, T1, ...)>
128128
{ static const bool value = true; };
129129

130130
#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS
@@ -146,7 +146,7 @@ struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1)>
146146
{ static const bool value = true; };
147147

148148
template <typename R, class T0, class T1>
149-
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1...)>
149+
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1, ...)>
150150
{ static const bool value = true; };
151151
#endif
152152

0 commit comments

Comments
 (0)