Peter Dimov
6b861090ba
Merge pull request #38 from bmagistro/remove-redundant-parentesis
...
Remove redundant parenthesis on typedef
2026-01-03 14:35:01 +02:00
Peter Dimov
f6abee248f
Remove boost/is_placeholder.hpp (moved to Core)
2026-01-02 13:21:18 +02:00
Ben Magistro
90caab61f2
Remove redundant parenthesis on typedef
...
Signed-off-by: Ben Magistro <koncept1@gmail.com >
2025-07-29 01:33:35 +00:00
Peter Dimov
769479a964
Refactor _bi::dm_result<> to not form references to functions. Fixes #35 .
2024-07-09 20:24:19 +03:00
Brian Weed
ece4b221df
Performance Improvement
...
Avoid excess copies by moving functors where possible
2024-02-04 14:42:30 -05:00
Peter Dimov
dded373cc7
Remove unnecessary header
2024-01-26 07:52:47 +02:00
Peter Dimov
3be7521aa2
Fix BOOST_MSVC checks
2024-01-06 14:34:59 +02:00
Peter Dimov
d4614204e5
Suppress MSVC warnings
2024-01-06 07:42:32 +02:00
Peter Dimov
71f21c757f
Fix BOOST_MP11_MSVC remnants
2024-01-06 07:28:16 +02:00
Peter Dimov
919c5583dd
Some early GCC 5 versions also need the workaround for generic function objects
2024-01-06 02:24:23 +02:00
Peter Dimov
ea7f38833f
Remove dependency on Mp11 (fixes msvc-12.0 as a side effect)
2024-01-06 01:29:50 +02:00
Peter Dimov
b523bc3042
Re-expand the generic function object case because of GCC 4.x
2024-01-05 22:39:31 +02:00
Peter Dimov
46fbb87bbb
Simplify list, bind
2024-01-05 03:55:27 +02:00
Peter Dimov
ebc6107bd6
Simplify rrlist, bind_t
2024-01-05 01:44:37 +02:00
Peter Dimov
9140f3e793
More workaround removal in bind.hpp
2024-01-05 01:09:22 +02:00
Peter Dimov
42c7177509
Move/remove detail headers as appropriate
2024-01-05 01:04:40 +02:00
Peter Dimov
52d6b7c2fd
Remove workarounds from bind.hpp
2024-01-05 00:58:01 +02:00
Peter Dimov
e391ef6d92
Do not use deduced return types
2024-01-04 20:17:22 +02:00
Peter Dimov
5b218046dc
Eliminate mem_fn_cc.hpp
2024-01-04 20:07:02 +02:00
Peter Dimov
5cef4e4f78
Eliminate mem_fn_template.hpp
2024-01-04 19:51:50 +02:00
Peter Dimov
506838badd
Modernize mem_fn_template.hpp
2024-01-04 19:11:35 +02:00
Peter Dimov
56ffdf4c9a
Modernize implementation of _mfi::dm
2024-01-04 18:38:45 +02:00
Peter Dimov
fcaa213721
Use C++11 in mem_fn_cc.hpp, mem_fn_template.hpp
2024-01-04 07:34:04 +02:00
Peter Dimov
4584bd9e9d
Remove obsolete workarounds from placeholders.hpp
2024-01-04 07:02:00 +02:00
Peter Dimov
defcfd175a
Remove pre-C++11 code from std_placeholders.hpp
2024-01-04 06:38:05 +02:00
Peter Dimov
8175753863
Remove pre-C++11 code from protect.hpp
2024-01-04 06:15:38 +02:00
Peter Dimov
b193ecc1b0
Remove pre-C++11 code from apply.hpp
2024-01-04 05:12:54 +02:00
Peter Dimov
732bc0787c
Remove BOOST_NO_VOID_RETURNS code path from bind.hpp
2024-01-02 20:09:20 +02:00
Peter Dimov
645d30d455
Remove unnecessary macros from mem_fn.hpp
2024-01-02 19:55:36 +02:00
Peter Dimov
08e5b5831c
Remove BOOST_NO_VOID_RETURNS code path from mem_fn.hpp
2024-01-02 19:47:55 +02:00
Peter Dimov
186b9c66de
Update C++03 deprecation message
2023-10-18 14:00:38 +03:00
Peter Dimov
55d037093b
Update C++03 deprecation message
2023-06-03 02:25:23 +03:00
Peter Dimov
a421c908e3
Add notice for C++03 deprecation
2023-03-04 19:58:19 +02:00
Andrey Semashev
9493eaccad
Use a local copy of is_same trait.
...
boost::core::is_same is deprecated, so use a local copy to avoid adding
a dependency on Boost.TypeTraits. Use Boost.TypeTraits in tests.
Also added a missing include.
2022-12-23 02:25:19 +03:00
fanquake
3a1b8da4b0
refactor: use boost/bind/mem_fn over boost/mem_fn
...
The later just includes the former.
2022-08-23 16:12:04 +01:00
Peter Dimov
57d26f5ab3
libstdc++ 4.8 and below don't have std::bit_not. Fixes #28 .
2022-02-12 20:48:46 +02:00
Peter Dimov
a5491d988a
Disable rvalue references on GCC 4.4
2022-02-12 18:53:29 +02:00
Peter Dimov
f75413b14a
Add a workaround for GCC 4.4 to protect.hpp
2022-02-12 18:34:37 +02:00
Peter Dimov
b719777942
Do not rely on result_type for standard function objects on C++17 or above
2021-10-01 01:07:32 +03:00
Peter Dimov
1e3efb361b
Update boost::apply to use variadics and perfect forwarding; refs #26
2021-03-06 18:52:42 +02:00
Peter Dimov
c85b31e3d2
Support use of standard placeholders with boost::bind
2021-02-23 21:34:20 +02:00
Peter Dimov
f50f42aae9
Enable the type<> syntax for noexcept member functions; add test; closes #23
2020-08-27 20:19:32 +03:00
Peter Dimov
d67c22ff44
Use BOOST_INLINE_CONSTEXPR for placeholders if inline variables are supported
2020-07-02 19:28:37 +03:00
Peter Dimov
9ce9a7ce99
Define protect(f)::result_type only when F::result_type is defined
2020-06-30 21:58:58 +03:00
Peter Dimov
3cbcd02965
Update protect.hpp to use perfect forwarding on C++11
2020-06-30 21:31:46 +03:00
Peter Dimov
b601e8924d
Move result_traits to its own header; add specializations for <functional> objects on MSVC >= C++17
2020-06-30 04:23:39 +03:00
Edward Diener
3bdf307707
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-28 05:40:00 -04:00
Peter Dimov
e31c1f77e6
Add support for noexcept member functions to mem_fn under C++17
2020-03-25 02:30:18 +02:00
Peter Dimov
2797f0dc33
Only issue the deprecation message when BOOST_BIND_GLOBAL_PLACEHOLDERS isn't defined
2020-02-16 18:13:43 +02:00
Peter Dimov
5c21b6a525
Add deprecation notice to boost/bind.hpp
2019-12-13 19:16:51 +02:00