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
Peter Dimov
c8973a7027
Ignore the calling convention macros in 64 bit
2019-04-01 21:42:40 +03:00
Peter Dimov
070185914d
Update for VS2017.5
2017-12-15 17:25:22 +02:00
Peter Dimov
05a56f08e3
Fix nullary member function case
2017-11-05 20:27:37 +02:00
Peter Dimov
e1bba7094b
Add overloads for noexcept member functions when __cpp_noexcept_function_type is defined
2017-11-05 19:09:58 +02:00
Peter Dimov
e939a651c3
Add overloads for noexcept free functions when __cpp_noexcept_function_type is defined
2017-11-05 18:58:38 +02:00
Peter Dimov
c61026bb81
Simplify _arg_eq, avoid partial specialization.
2016-09-10 13:42:05 +03:00
Peter Dimov
3c56630b54
SFINAE out the converting constructor of arg<I> to avoid hard errors with is_convertible on g++ 4.8/4.9
2016-08-20 01:32:42 +03:00
Peter Dimov
6616add21d
Do not pass rvalues to nested binds.
2016-06-20 20:46:13 +03:00
Peter Dimov
017258c983
Fix rvalue forwarding to support auto_ptr/unique_ptr parameters
2015-10-04 02:21:53 +03:00
Peter Dimov
2ee272fa8d
Revert to old scheme of only using inline functions as placeholders on Borland and g++ 3.
2015-05-30 01:17:50 +03:00
Marcel Raad
cf266d22e4
Fix compilation with BOOST_BIND_NO_PLACEHOLDERS
...
If BOOST_BIND_NO_PLACEHOLDERS is defined, there is no namespace boost::placeholders.
2015-05-29 11:26:59 +02:00
Peter Dimov
12b976939c
Cosmetic indentation fix
2015-05-27 17:28:56 +03:00