jrmarsha
4b25a75c03
Merge branch 'develop' into develop
2019-04-29 15:05:21 -04:00
Josh Marshall
5682111fad
Whitespace
2019-04-29 13:24:59 -04:00
Josh Marshall
1694b32e1b
Fixing another -Wswitch-enum warning.
2019-04-29 12:29:22 -04:00
Peter Dimov
eaf2151263
Cosmetic cleanup
2019-04-29 02:47:09 +03:00
Josh Marshall
d9043b76d6
Changed a switch statement to an if to reduce compiler warnings on more sensitive flags.
2019-04-25 13:16:15 -04:00
Peter Dimov
7b11b52e62
Make function_buffer visible, for UBSan
2018-11-13 19:10:11 +02:00
Peter Dimov
79045752e0
Revert "Added variadic support"
...
This reverts commit f22fa49e07
.
2018-11-13 18:02:22 +02:00
Peter Dimov
b149dba678
Revert "Forgot to undef BOOST_FUNCTION_NUM_ARGS"
...
This reverts commit 161f7557e7
.
2018-11-13 18:02:05 +02:00
Nikita Kniazev
161f7557e7
Forgot to undef BOOST_FUNCTION_NUM_ARGS
2018-11-01 08:40:00 -04: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
755d3c2001
Missing visibility mark on exception type
2018-10-25 08:32:29 -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
Nikita Kniazev
4230fb2388
Reuse BOOST_FUNCTION_TEMPLATE_ARGS in BOOST_FUNCTION_PARTIAL_SPEC
2018-10-22 18:34:40 -04:00
Glen Fernandes
c0d41a880a
Drop dependency on MPL
2018-09-22 15:27:54 -04:00
Glen Fernandes
87c978d36e
Use LightweightTest and NoExceptionsSupport from Core
2018-09-22 15:27:44 -04:00
Glen Fernandes
d1ad1141f3
Use enable_if from TypeTraits
2018-09-22 15:27:34 -04:00
Glen Fernandes
b1fa00f3b1
Include workaround.hpp from config instead of detail
2018-09-22 15:04:52 -04:00
Joakim Tosteberg
9d0acd5195
Use char type directly to avoid invalid aliasing in one more place
2018-04-04 09:37:44 +02:00
Piotr Podusowski
0ee8e59d0a
use char type directly to avoid invalid aliasing
2018-03-16 11:47:23 +01:00
Daniela Engert
f4f8fb0a16
replace members of std::allocate which are deprecated in c++17 by theirs cousins from std::allocator_traits.
2017-12-17 07:42:28 +01:00
Edward Diener
1938737ee7
Merge pull request #11 from Kojoley/suppress-weak-vtables-warning
...
Suppress weak vtables warning
2017-07-08 01:14:08 -04:00
Edward Diener
d6cff3991d
Disable processing of function.hpp if it is included more than once in the TU and BOOST_FUNCTION_MAX_ARGS does not change.
2017-07-06 15:37:18 -04:00
Peter Dimov
c326d30f28
Remove std::unary/binary_function use, they have been removed in C++17
2016-11-06 14:43:42 +02:00
Nikita Kniazev
471f6244e4
Suppress weak vtables warning
2016-08-31 19:05:42 +03:00
Andrey Semashev
54988e8e91
Changed implementation to avoid calculating the size of the raw data buffer manually. Trim trailing spaces.
2016-04-02 17:31:22 +03:00
Andrey Semashev
bde64bf9eb
Fix gcc 6 warnings about invoking placement new on a buffer of insufficient size.
2016-04-02 14:59:57 +03:00
Marshall Clow
3eb8954877
Merge pull request #7 from apolukhin/develop
...
Use Boost.TypeIndex to work with type_info to avoid bunch of ...
2015-07-22 10:53:33 -07:00
Edward Diener
0c467707d9
Remove Borland workaround for obsolete and untested compiler/version.
2015-04-27 14:43:49 -04:00
Edward Diener
f0ec326eb0
Use ! operator directly rather than boost::mpl::not with Boost supported compilers.
2015-04-27 04:15:31 -04:00
Antony Polukhin
8998778f51
Use Boost.TypeIndex to work with type_info to avoid bunch of workarounds and non-optimal operators. Added RTTI-off tests
2015-04-25 17:45:13 +03:00
Marcel Raad
73e4d02b00
Qualify enable_if with namespace boost
...
Unfortunately the change from enable_if_c to enable_if in 74c9cc9680
broke a lot of other libraries' regression tests on MSVC, which complains about ambiguous symbols.
2015-04-03 08:55:01 +02:00
Edward Diener
8cc1be159b
Removed unnecessary header file include
2015-04-02 07:15:26 -04:00
Edward Diener
74c9cc9680
Remove dependency on deprecated type_traits headers.
2015-03-30 01:47:08 -04:00
Peter Dimov
854f2e8d5d
Fix ambiguous 'detail' errors under msvc-8.0.
2015-01-16 21:54:16 +02:00
Antony Polukhin
df1db75294
Less includes from Boost.Move and more tests
2014-10-02 15:40:33 +04:00
Antony Polukhin
27e9e1e372
Add support for function signatures with rvalue params
2014-09-29 20:14:06 +04:00
Marshall Clow
9f06e35e8d
Add coverity comments to silence Coverity warnings
2014-01-31 19:50:02 -08:00
Marshall Clow
250655ad6d
Add 'std:' qualification to size_t. Fixes Bug #6184
2014-01-31 19:42:29 -08:00
Stephen Kelly
ea19e9e745
Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
These evaded scripting.
[SVN r86249]
2013-10-11 23:22:36 +00:00
Stephen Kelly
8d5a27fb85
Function: Remove obsolete GCC version check.
...
[SVN r86111]
2013-10-01 08:46:26 +00:00
Stephen Kelly
8760088d44
Function: Remove obsolete MSVC version checks.
...
[SVN r86018]
2013-09-30 00:16:55 +00:00
Marshall Clow
95a1956397
Added missing 'std::'; Refs #7819
...
[SVN r82273]
2012-12-29 16:36:12 +00:00
Marshall Clow
9e30736439
Updated to use new macro names
...
[SVN r81450]
2012-11-21 01:49:52 +00:00
Antony Polukhin
419f424959
Add move assignment and move constructors to Boost.Function (refs #7330 )
...
[SVN r80552]
2012-09-17 04:08:18 +00:00
Marshall Clow
775213a9e6
Remove extraneous semicolon
...
[SVN r74916]
2011-10-11 15:23:29 +00:00
Marshall Clow
cbb9e7c4da
Applied patch from #4717
...
[SVN r72316]
2011-05-31 21:12:35 +00:00
Steven Watanabe
8cde82a568
Remove extra definition of operator(), since it's inline anyway. Fixes #4765 .
...
[SVN r67560]
2011-01-02 05:13:03 +00:00
Steven Watanabe
c0d4005441
Make sure that the cv flags are copied when we copy a reference to a function object. Fixes #4325
...
[SVN r62665]
2010-06-09 15:40:48 +00:00