Commit Graph

139 Commits

Author SHA1 Message Date
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
Stephen Kelly
0f66412487 Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
2013-10-11 23:20:59 +00:00
Stephen Kelly
af136e483d Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#endif conditions.

[SVN r86244]
2013-10-11 23:15:00 +00:00
Stephen Kelly
5b2cf44de5 Bind: Remove obsolete GCC version check.
[SVN r86106]
2013-10-01 08:42:35 +00:00
Stephen Kelly
5e2fc717f0 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly
9955139c65 Bind: Remove obsolete MSVC version check
[SVN r85938]
2013-09-26 09:42:51 +00:00
Peter Dimov
da3580cc14 Apply suggested IBM C++ fix. Refs #5792.
[SVN r75391]
2011-11-07 18:25:33 +00:00
Peter Dimov
7aa58cf653 Fix version check, as g++ 4.1 still has the PCH bug. Refs #4172.
[SVN r62251]
2010-05-26 19:34:10 +00:00
Peter Dimov
1bf8cd6c7a Fix Borland regression. Refs #3003.
[SVN r58093]
2009-12-02 10:47:01 +00:00
Peter Dimov
e5d99ce085 Make mem_fn work with overloaded unary operator&. Refs #3003. Sorry it took so long.
[SVN r58073]
2009-12-01 02:24:53 +00:00
Peter Dimov
17282c97c2 Extend Borland workaround to 6.2 and above.
[SVN r57954]
2009-11-26 21:02:04 +00:00
John Maddock
f02b090fe8 Warning suppressions in Boost.Bind.
Fixes #3601.

[SVN r57542]
2009-11-10 13:26:43 +00:00
Steven Watanabe
26ee2825fe Make protect use the same approximation of perfect forwarding as plain bind.
[SVN r54385]
2009-06-26 22:31:15 +00:00
Frank Mori Hess
dc1e4dbfae Use static boost::arg placeholders for gcc 4.0.1, since it has
a bug that prevents forwarding placeholders as const references
when using the static inline function placeholders.


[SVN r52384]
2009-04-14 13:45:59 +00:00
Peter Dimov
45a1f1434b Add ref_compare for weak_ptr. Refs #2849.
[SVN r51979]
2009-03-26 00:43:14 +00:00
Peter Dimov
010349ec9b Refs #2127 (fixed in trunk).
[SVN r51511]
2009-03-01 16:31:53 +00:00
Peter Dimov
8ae9e8460d Borland 6.10 still needs the workaround; fails bind_dm_test without it.
[SVN r51510]
2009-03-01 16:06:44 +00:00
Peter Dimov
5d49fb45d0 Make bind.hpp and mem_fn.hpp forward to bind/bind.hpp and bind/mem_fn.hpp. (Ref #2238)
[SVN r51489]
2009-02-28 21:40:27 +00:00
Peter Dimov
4000680b6a Copy mem_fn.hpp to bind/
[SVN r51488]
2009-02-28 21:27:51 +00:00
Peter Dimov
851903fcc4 Copy bind.hpp into bind/
[SVN r51487]
2009-02-28 21:26:59 +00:00
Peter Dimov
48c5a6e682 Fix #2245.
[SVN r48840]
2008-09-17 23:07:33 +00:00
Peter Dimov
203ca82ef2 bind( type<R>(), f, ... ) now works when f is a member function.
[SVN r45619]
2008-05-21 19:49:47 +00:00
Peter Dimov
f1afd17717 Added support for &&, ||
[SVN r43269]
2008-02-15 18:40:36 +00:00
Peter Dimov
e163aeb563 Use object placeholders for g++ 4.1+, reported and PCH-tested by Daniel Walker
[SVN r38164]
2007-07-07 17:22:26 +00:00