Commit Graph

268 Commits

Author SHA1 Message Date
Peter Dimov
4e6dda7364 Remove uses of BOOST_FUNCTION_FUNCTION_INVOKER 2024-01-28 02:30:44 +02:00
Peter Dimov
b13f8f6f20 Remove uses of BOOST_FUNCTION_FUNCTION 2024-01-28 02:29:30 +02:00
Peter Dimov
af8e66d03b Replace operator safe_bool with explicit operator bool 2024-01-27 09:15:01 +02:00
Peter Dimov
f898d3a1dd Remove BOOST_NO_CXX11_ALLOCATOR workarounds 2024-01-27 09:11:37 +02:00
Peter Dimov
a9a0f90bc2 Remove BOOST_NO_CXX11_RVALUE_REFERENCES workarounds 2024-01-27 07:21:54 +02:00
Peter Dimov
3254a3857a Remove BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX workarounds 2024-01-27 07:12:35 +02:00
Peter Dimov
2570672623 Remove boost::detail::function::unusable 2024-01-27 07:08:12 +02:00
Peter Dimov
ee600cf665 Remove BOOST_NO_VOID_RETURNS workarounds 2024-01-27 07:04:50 +02:00
Peter Dimov
8d7f2ed1a5 Remove SGI workaround 2024-01-27 07:00:49 +02:00
Peter Dimov
509de96a1c Remove BOOST_NO_SFINAE workarounds 2024-01-27 06:58:05 +02:00
Peter Dimov
eff07e72c3 Remove GCC 3.3 workarounds 2024-01-27 06:52:02 +02:00
Peter Dimov
18e8bf458c Remove BOOST_FUNCTION_TARGET_FIX workarounds 2024-01-27 06:46:26 +02:00
Peter Dimov
dadff43639 Remove requires_cxx11.hpp 2024-01-25 05:35:52 +02:00
Peter Dimov
c423753491 Remove unnecessary includes 2024-01-25 05:28:17 +02:00
Peter Dimov
86b7a7809a Remove BOOST_FUNCTION_NO_VARIADIC code portions 2024-01-25 05:18:01 +02:00
Peter Dimov
835e95f82f Revert "Revert "Added variadic support""
This reverts commit 79045752e0.
2024-01-25 04:54:52 +02:00
Peter Dimov
1f3f971d1f Update C++03 deprecation message 2023-10-12 01:33:27 +03:00
Peter Dimov
6eddcae095 Remove typeof registrations from function_typeof.hpp; they are no longer necessary since Boost.Typeof now requires decltype 2023-10-12 01:31:00 +03:00
Peter Dimov
7ca2310b15 Support fn.contains(f) where f is a function. Fixes #46. 2023-09-03 17:55:50 +03:00
Peter Dimov
a8ae69798d Update C++03 deprecation message 2023-06-03 02:29:35 +03:00
Peter Dimov
65bbbbc359 Add C++03 deprecation notice 2023-03-05 20:00:18 +02:00
Peter Dimov
d268283044 Replace boost/typeindex.hpp use with core/typeinfo.hpp 2023-02-17 14:25:43 +02:00
Peter Dimov
361e07808f Rearrange include order 2023-02-17 13:55:26 +02:00
Peter Dimov
cb888a496d Remove unnecessary include of boost/integer.hpp 2023-02-17 03:48:52 +02:00
Peter Dimov
5470c5fa32 Resolve C++20 issue with fn == bind(...). Fixes #45. 2023-02-12 19:25:39 +02:00
Peter Dimov
b75386f628 Avoid -Wuninitialized under GCC 11.3 2023-02-12 04:50:04 +02:00
Peter Dimov
9229ed3010 Avoid another -Wmaybe-uninitialized under GCC 11/12 2023-02-12 04:47:38 +02:00
Peter Dimov
16fca8368b Keep -Wmaybe-uninitialized disabled 2022-05-30 20:25:13 +03:00
Peter Dimov
4cf7c718b8 Merge branch 'gcc12-Wuninitialized' of https://github.com/jngrad/boost-function into feature/issue-42 2022-05-30 19:56:08 +03:00
Peter Dimov
abc1bf9b4a Extend GCC 11 workaround to GCC 12 as well 2022-05-30 18:44:07 +03:00
Jean-Noël Grad
5b4e2797a2 Avoid -Wuninitialized warnings in GCC 12 2022-05-30 16:16:41 +02:00
Peter Dimov
277757befc Disable -Wmaybe-uninitialized in function_template.hpp for GCC 11 2021-12-16 06:18:06 +02:00
Peter Dimov
bf8898c95f Disable C5243 in function_base.hpp (closes #41) 2021-12-16 04:24:49 +02:00
Romain Geissler
7c90434317 Avoid -Wmaybe-uninitialized warnings in gcc (issue #27). 2020-03-27 20:57:36 +00:00
jrmarsha
4b25a75c03 Merge branch 'develop' into develop 2019-04-29 15:05:21 -04:00
Josh Marshall
5682111fad Whitespace 2019-04-29 13:24:59 -04:00
Josh Marshall
1694b32e1b Fixing another -Wswitch-enum warning. 2019-04-29 12:29:22 -04:00
Peter Dimov
eaf2151263 Cosmetic cleanup 2019-04-29 02:47:09 +03:00
Josh Marshall
d9043b76d6 Changed a switch statement to an if to reduce compiler warnings on more sensitive flags. 2019-04-25 13:16:15 -04:00
Peter Dimov
7b11b52e62 Make function_buffer visible, for UBSan 2018-11-13 19:10:11 +02:00
Peter Dimov
79045752e0 Revert "Added variadic support"
This reverts commit f22fa49e07.
2018-11-13 18:02:22 +02:00
Peter Dimov
b149dba678 Revert "Forgot to undef BOOST_FUNCTION_NUM_ARGS"
This reverts commit 161f7557e7.
2018-11-13 18:02:05 +02:00
Nikita Kniazev
161f7557e7 Forgot to undef BOOST_FUNCTION_NUM_ARGS 2018-11-01 08:40:00 -04:00
Nikita Kniazev
f22fa49e07 Added variadic support
Improves `boost/function.hpp` inclusion by 20%.
2018-10-27 21:04:00 -04:00
Nikita Kniazev
5f93559650 Prepare for variadic support 2018-10-27 21:04:00 -04:00
Nikita Kniazev
755d3c2001 Missing visibility mark on exception type 2018-10-25 08:32:29 -04:00
Nikita Kniazev
b07621f2ee Default defaulted functions 2018-10-22 18:34:40 -04:00
Nikita Kniazev
86f05aa602 Replace boost::forward with static_cast
One dependency less
2018-10-22 18:34:40 -04:00
Nikita Kniazev
4230fb2388 Reuse BOOST_FUNCTION_TEMPLATE_ARGS in BOOST_FUNCTION_PARTIAL_SPEC 2018-10-22 18:34:40 -04:00
Glen Fernandes
c0d41a880a Drop dependency on MPL 2018-09-22 15:27:54 -04:00