Commit Graph

257 Commits

Author SHA1 Message Date
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
Glen Fernandes
87c978d36e Use LightweightTest and NoExceptionsSupport from Core 2018-09-22 15:27:44 -04:00
Glen Fernandes
d1ad1141f3 Use enable_if from TypeTraits 2018-09-22 15:27:34 -04:00
Glen Fernandes
b1fa00f3b1 Include workaround.hpp from config instead of detail 2018-09-22 15:04:52 -04:00
Joakim Tosteberg
9d0acd5195 Use char type directly to avoid invalid aliasing in one more place 2018-04-04 09:37:44 +02:00
Piotr Podusowski
0ee8e59d0a use char type directly to avoid invalid aliasing 2018-03-16 11:47:23 +01:00
Daniela Engert
f4f8fb0a16 replace members of std::allocate which are deprecated in c++17 by theirs cousins from std::allocator_traits. 2017-12-17 07:42:28 +01:00
Edward Diener
1938737ee7 Merge pull request #11 from Kojoley/suppress-weak-vtables-warning
Suppress weak vtables warning
2017-07-08 01:14:08 -04:00
Edward Diener
d6cff3991d Disable processing of function.hpp if it is included more than once in the TU and BOOST_FUNCTION_MAX_ARGS does not change. 2017-07-06 15:37:18 -04:00
Peter Dimov
c326d30f28 Remove std::unary/binary_function use, they have been removed in C++17 2016-11-06 14:43:42 +02:00
Nikita Kniazev
471f6244e4 Suppress weak vtables warning 2016-08-31 19:05:42 +03:00
Andrey Semashev
54988e8e91 Changed implementation to avoid calculating the size of the raw data buffer manually. Trim trailing spaces. 2016-04-02 17:31:22 +03:00