f379ef8532
Make Boost.Function's target() operation respect the cv-qualifiers of referenced function objects. Fixes #736
...
[SVN r48618]
2008-09-05 17:52:12 +00:00
ea18f5777b
Add Boost.Typeof support to Boost.Function. Fixes #1621
...
[SVN r48616]
2008-09-05 16:13:49 +00:00
d5a86a2d52
Improve the performance of Boost.Function's swap. Thanks to Niels Dekker for the original patch. Fixes #1910
...
[SVN r48615]
2008-09-05 15:43:22 +00:00
adb7b0a214
Change Boost.Function allocator behavior, from Emil Dotchevski
...
[SVN r43884]
2008-03-27 19:44:37 +00:00
2a85edbd31
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
fdd91dbf91
Stop using assert() in tests
...
[SVN r33181]
2006-02-28 22:56:33 +00:00
78f6b385d5
Small buffer optimization for Boost.Function
...
[SVN r32282]
2006-01-10 23:52:35 +00:00
c5e64fab99
BOOST_CRITICAL_ERROR is no longer usable
...
[SVN r32185]
2005-12-30 02:27:13 +00:00
8b816138bc
Fix tests for compilers that actually have a real is_stateless
...
[SVN r28784]
2005-05-10 13:30:35 +00:00
24ce3091d0
Peter Dimov's ADL workarounds
...
[SVN r27808]
2005-03-24 19:13:33 +00:00
354b8b802e
Test use of function_equal
...
[SVN r27733]
2005-03-18 05:01:49 +00:00
3b269d5de7
contains2_test added
...
[SVN r27722]
2005-03-17 12:48:40 +00:00
bb669b4fb5
Replaced BOOST_TEST
...
[SVN r27049]
2005-02-03 11:09:28 +00:00
fdbbc2b3ff
Doug Gregor->Douglas Gregor
...
[SVN r24018]
2004-07-25 02:59:30 +00:00
5b4dc38727
boost/function/function_base.hpp:
...
- Work around a GCC <= 3.3 bug where the return type of a function template
that cannot possibly match is instantiated when it should not be, causing
errors in the use of operator==. This results in slightly reduced
functionality.
libs/function/test/contains_test.cpp:
- Don't test that which GCC cannot now handle
[SVN r23170]
2004-06-23 16:00:01 +00:00
d929aaf814
Update V2 Jamfile
...
[SVN r23078]
2004-06-10 12:37:31 +00:00
2c0e633307
Added contains() and function_equal()
...
[SVN r22483]
2004-03-12 03:38:20 +00:00
746676d274
Fix semantics for comparison against reference_wrappers
...
[SVN r21901]
2004-01-24 23:31:40 +00:00
cb1bcd5410
"contains" -> "target"
...
[SVN r21845]
2004-01-20 18:07:13 +00:00
7d30d98efd
boost/function/function_template.hpp, boost/function/function_base.hpp:
...
- Added "contains" member function to extract a pointer to the target
function object if you know its type
- Added operator== that can compare a Boost.Function object against a
function object
libs/function/test/Jamfile, libs/function/test/contains_test.cpp:
- Test contains() and equality comparison operators
[SVN r21844]
2004-01-20 18:02:02 +00:00
8abd32bd81
Clean up warnings on Borland C++ 5.5
...
[SVN r21095]
2003-12-03 01:21:32 +00:00
3f753feb4d
Use the "minimal" test tools, to simplify my life a bit
...
[SVN r20924]
2003-11-23 16:17:24 +00:00
b09e7f3d3d
Fix & regenerate sum_avg_portable.cpp
...
[SVN r20402]
2003-10-17 16:25:51 +00:00
8c8f072d09
Update license to the new Boost license (yay!)
...
[SVN r20235]
2003-10-01 04:10:37 +00:00
5314836215
Add V2 Jamfile
...
[SVN r20210]
2003-09-29 16:09:15 +00:00
043d0236a7
Use the import rule
...
[SVN r19968]
2003-09-08 17:38:49 +00:00
4b830024f3
Die, foo, die
...
[SVN r19205]
2003-07-19 06:53:21 +00:00
5347683c8e
Remove return statement from operator new to see who screams about it
...
[SVN r19178]
2003-07-18 04:17:30 +00:00
cb3c1b0d1e
doc/tutorial.xml: fix a typo in the example code (thanks Jens!)
...
test/sum_avg_portable.cpp: regenerated.
[SVN r19136]
2003-07-16 04:40:25 +00:00
1a6d95733a
Get rid of a warning in GCC 3.3.
...
[SVN r19069]
2003-07-11 17:42:12 +00:00
a44c07104c
Regenerated, with function_test renamed to lib_function_test
...
[SVN r17420]
2003-02-14 18:15:01 +00:00
af75e6622e
Regenerated, with license and copyright info
...
[SVN r17419]
2003-02-14 18:05:26 +00:00
c76d87f4ad
rename function_test to lib_function_test due to clash file libs/functional
...
[SVN r17141]
2003-01-31 23:56:11 +00:00
eb8a563a3b
Suppress warnings on HP aCC
...
[SVN r17089]
2003-01-30 14:25:00 +00:00
300ca5bdef
Delete nothrow, new throw
...
[SVN r17088]
2003-01-30 14:22:28 +00:00
9bc263cf97
Regenerated
...
[SVN r17084]
2003-01-30 04:42:06 +00:00
09657f1134
Fixed broken testcases that came from tutorial sample code
...
[SVN r16935]
2003-01-19 14:44:34 +00:00
4a46b5e1b9
Generated from XML
...
[SVN r16929]
2003-01-18 15:07:06 +00:00
951cb3acd4
Testcases autogenerated from the Boost.Function tutorial
...
[SVN r16711]
2002-12-28 03:44:00 +00:00
c4451e5a64
Remove MSVC-specific hack
...
[SVN r16626]
2002-12-16 22:48:07 +00:00
b8d3e01e42
Removed enable_if checks: the same syntax is supported regardless of support
...
for enable_if
[SVN r16615]
2002-12-15 14:55:07 +00:00
1e262bc976
function_n_test.cpp: Add a missing #endif
...
[SVN r16595]
2002-12-12 13:44:04 +00:00
06539c093f
Suppress warnings on HP aCC
...
[SVN r16515]
2002-12-04 16:19:39 +00:00
949a459d8a
SunPro CC workaround
...
[SVN r16514]
2002-12-04 16:18:31 +00:00
aa2c2520ad
Make sure to pass the address of a function to Boost.Function, not the function itself (stupid MSVC)
...
[SVN r16176]
2002-11-09 17:12:45 +00:00
17b311cbbd
Support assignment from 0, construction from 0, and comparison to zero.
...
[SVN r16174]
2002-11-09 16:02:47 +00:00
4fed545468
function_n_test.cpp:
...
- Don't test == 0 syntax (it isn't supported)
[SVN r16115]
2002-11-05 14:36:49 +00:00
17ded4b8bf
- Added sig member template support for Boost.Lambda, with testcase (Michael Hohmuth)
...
- Removed the assignment-to-zero attempt
- Added bad_function_call exception (using boost::throw_exception)
[SVN r16102]
2002-11-04 18:19:01 +00:00
374711d2c6
function_template.hpp:
...
- function partial specialization now allows assignment to zero
(for clearing) and comparison against zero (for the empty check)
(Brad King)
function_test.cpp:
- Check comparison against zero
- Check assignment to zero
function_test_fail1.cpp:
function_test_fail2.cpp:
- Make them fail for the right reasons
[SVN r15803]
2002-10-08 02:32:38 +00:00
8b6f154891
function_base.hpp:
...
- Don't try to implicitly convert a function pointer to a data pointer
stateless_test.cpp:
- Don't use the deprecated syntax
[SVN r15499]
2002-09-24 17:28:58 +00:00