2
0
mirror of https://github.com/boostorg/bind.git synced 2026-01-24 05:42:09 +00:00
Commit Graph

162 Commits

Author SHA1 Message Date
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
Jürgen Hunold
377014f1a4 Suppress clang warning about 'using namespace boost::placeholders'
warning: using namespace directive in global context in header [-Wheader-hygiene]
The warning is unhelpfull as this a backwards-compatibility fix.
2015-05-27 15:39:52 +02:00
Peter Dimov
db56733e4e Move placeholders to namespace boost::placeholders. 2015-05-27 01:29:50 +03:00
K-ballo
150c4e94e3 Fix for bind<void>(mf) ambiguous resolution error 2015-04-29 13:33:53 -03:00
Peter Dimov
42b5cef177 Better argument forwarding when rvalue references are available. 2015-03-20 18:16:44 +02:00
K-ballo
30921a3889 Completed support for bind<void> 2014-08-21 16:27:27 -03:00
Peter Dimov
a6b17d9001 Switch to BOOST_STATIC_ASSERT in arg.hpp per the patch in #8844. 2013-12-12 00:12:56 +02:00
Peter Dimov
fafb6bb650 Merge branch 'topic/silence_warning' of https://github.com/timblechmann/bind into develop 2013-12-07 19:10:42 +02:00
Peter Dimov
8414233b9c Revert "Bind: Remove obsolete MSVC version check"
This reverts commit 9955139c65.
2013-12-07 18:54:00 +02:00
Peter Dimov
15d6d6ac95 Revert "Remove obsolete MSVC check from pragma guard"
This reverts commit 5e2fc717f0.
2013-12-07 18:53:27 +02:00
Peter Dimov
ba117db120 Revert "Bind: Remove obsolete GCC version check."
This reverts commit 5b2cf44de5.
2013-12-07 18:53:01 +02:00
Peter Dimov
f5c95610b6 Revert "Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION"
This reverts commit af136e483d.
2013-12-07 18:52:39 +02:00
Peter Dimov
ce0fc0f69a Revert "Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION"
This reverts commit 0f66412487.
2013-12-07 18:51:53 +02:00
Peter Dimov
aa8a94273d Revert "Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION"
This reverts commit 7ff6524bd1.
2013-12-07 18:50:56 +02:00
Tim Blechmann
92ff08b873 bind: silence warning with gcc 2013-12-07 14:37:28 +01:00
Stephen Kelly
7ff6524bd1 Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting.

[SVN r86249]
2013-10-11 23:22:36 +00:00