Commit Graph

179 Commits

Author SHA1 Message Date
Peter Dimov 28b88d07bb Fix indentation; remove obsolete comment 2024-02-06 08:57:58 +02:00
Brian Weed 7350f9b354 Performance Improvement
Move functors where possible to reduce the number of copies (Lambdas with expensive-to-copy captures can be a bottleneck when copied)
2024-02-04 14:28:10 -05:00
Peter Dimov 6876969bfc Add include guards, move prologue/epilogue into function_template, remove unnecessary headers 2024-01-28 05:13:54 +02:00
Peter Dimov 50ac0b74c9 Remove unnecessary ifs 2024-01-28 03:14:16 +02:00
Peter Dimov 6de542f1bc Remove uses of BOOST_FUNCTION_PARTIAL_SPEC 2024-01-28 03:12:09 +02:00
Peter Dimov 1e3d469155 Remove unnecessary undefs 2024-01-28 03:11:20 +02:00
Peter Dimov 0601af0be4 Remove uses of BOOST_FUNCTION_RETURN 2024-01-28 03:09:43 +02:00
Peter Dimov a46646ecaa Remove uses of BOOST_FUNCTION_VOID_RETURN_TYPE 2024-01-28 03:07:55 +02:00
Peter Dimov 8ce457b161 Remove uses of BOOST_FUNCTION_ARGS 2024-01-28 03:07:18 +02:00
Peter Dimov a3249ce5db Remove uses of BOOST_FUNCTION_PARMS 2024-01-28 03:06:03 +02:00
Peter Dimov fa845b2fe3 Remove uses of BOOST_FUNCTION_TEMPLATE_ARGS 2024-01-28 03:04:43 +02:00
Peter Dimov bf2b23d40f Remove uses of BOOST_FUNCTION_TEMPLATE_PARMS 2024-01-28 03:03:38 +02:00
Peter Dimov 52ff7423b7 Remove uses of BOOST_FUNCTION_COMMA 2024-01-28 03:02:55 +02:00
Peter Dimov 5b5b2de461 Remove uses of BOOST_FUNCTION_VTABLE 2024-01-28 03:01:14 +02:00
Peter Dimov 916b44374d Remove uses of BOOST_FUNCTION_GET_INVOKER 2024-01-28 03:00:17 +02:00
Peter Dimov 87d8b29dc0 Remove uses of BOOST_FUNCTION_GET_MEMBER_INVOKER 2024-01-28 02:59:36 +02:00
Peter Dimov 7efb3be043 Remove uses of BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER 2024-01-28 02:42:10 +02:00
Peter Dimov 691b765827 Remove uses of BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER 2024-01-28 02:41:11 +02:00
Peter Dimov 7b8bdda461 Remove uses of BOOST_FUNCTION_GET_FUNCTION_INVOKER 2024-01-28 02:40:34 +02:00
Peter Dimov 3380fc642f Remove uses of BOOST_FUNCTION_VOID_MEMBER_INVOKER 2024-01-28 02:39:07 +02:00
Peter Dimov b241c83d43 Remove uses of BOOST_FUNCTION_MEMBER_INVOKER 2024-01-28 02:38:32 +02:00
Peter Dimov 4cedf0bf3b Remove uses of BOOST_FUNCTION_VOID_FUNCTION_REF_INVOKER 2024-01-28 02:35:01 +02:00
Peter Dimov 692cf3d56e Remove uses of BOOST_FUNCTION_FUNCTION_REF_INVOKER 2024-01-28 02:34:11 +02:00
Peter Dimov 15a4f89d9c Remove uses of BOOST_FUNCTION_VOID_FUNCTION_OBJ_INVOKER 2024-01-28 02:32:56 +02:00
Peter Dimov 5803badc20 Remove uses of BOOST_FUNCTION_FUNCTION_OBJ_INVOKER 2024-01-28 02:31:56 +02:00
Peter Dimov 4ba8c23ce4 Remove uses of BOOST_FUNCTION_VOID_FUNCTION_INVOKER 2024-01-28 02:31:14 +02:00
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 ee600cf665 Remove BOOST_NO_VOID_RETURNS workarounds 2024-01-27 07:04:50 +02:00
Peter Dimov 509de96a1c Remove BOOST_NO_SFINAE workarounds 2024-01-27 06:58:05 +02:00
Peter Dimov 18e8bf458c Remove BOOST_FUNCTION_TARGET_FIX workarounds 2024-01-27 06:46:26 +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 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
Romain Geissler 7c90434317 Avoid -Wmaybe-uninitialized warnings in gcc (issue #27). 2020-03-27 20:57:36 +00:00
Peter Dimov 79045752e0 Revert "Added variadic support"
This reverts commit f22fa49e07.
2018-11-13 18:02:22 +02: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 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