Douglas Gregor
3f753feb4d
Use the "minimal" test tools, to simplify my life a bit
...
[SVN r20924]
2003-11-23 16:17:24 +00:00
Douglas Gregor
b09e7f3d3d
Fix & regenerate sum_avg_portable.cpp
...
[SVN r20402]
2003-10-17 16:25:51 +00:00
Douglas Gregor
8c8f072d09
Update license to the new Boost license (yay!)
...
[SVN r20235]
2003-10-01 04:10:37 +00:00
Vladimir Prus
5314836215
Add V2 Jamfile
...
[SVN r20210]
2003-09-29 16:09:15 +00:00
Dave Abrahams
043d0236a7
Use the import rule
...
[SVN r19968]
2003-09-08 17:38:49 +00:00
Douglas Gregor
4b830024f3
Die, foo, die
...
[SVN r19205]
2003-07-19 06:53:21 +00:00
Douglas Gregor
5347683c8e
Remove return statement from operator new to see who screams about it
...
[SVN r19178]
2003-07-18 04:17:30 +00:00
Douglas Gregor
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
Douglas Gregor
1a6d95733a
Get rid of a warning in GCC 3.3.
...
[SVN r19069]
2003-07-11 17:42:12 +00:00
Douglas Gregor
a44c07104c
Regenerated, with function_test renamed to lib_function_test
...
[SVN r17420]
2003-02-14 18:15:01 +00:00
Douglas Gregor
af75e6622e
Regenerated, with license and copyright info
...
[SVN r17419]
2003-02-14 18:05:26 +00:00
Beman Dawes
c76d87f4ad
rename function_test to lib_function_test due to clash file libs/functional
...
[SVN r17141]
2003-01-31 23:56:11 +00:00
Douglas Gregor
eb8a563a3b
Suppress warnings on HP aCC
...
[SVN r17089]
2003-01-30 14:25:00 +00:00
Douglas Gregor
300ca5bdef
Delete nothrow, new throw
...
[SVN r17088]
2003-01-30 14:22:28 +00:00
Douglas Gregor
9bc263cf97
Regenerated
...
[SVN r17084]
2003-01-30 04:42:06 +00:00
Douglas Gregor
09657f1134
Fixed broken testcases that came from tutorial sample code
...
[SVN r16935]
2003-01-19 14:44:34 +00:00
Douglas Gregor
4a46b5e1b9
Generated from XML
...
[SVN r16929]
2003-01-18 15:07:06 +00:00
Douglas Gregor
951cb3acd4
Testcases autogenerated from the Boost.Function tutorial
...
[SVN r16711]
2002-12-28 03:44:00 +00:00
Douglas Gregor
c4451e5a64
Remove MSVC-specific hack
...
[SVN r16626]
2002-12-16 22:48:07 +00:00
Douglas Gregor
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
Douglas Gregor
1e262bc976
function_n_test.cpp: Add a missing #endif
...
[SVN r16595]
2002-12-12 13:44:04 +00:00
Dave Abrahams
06539c093f
Suppress warnings on HP aCC
...
[SVN r16515]
2002-12-04 16:19:39 +00:00
Dave Abrahams
949a459d8a
SunPro CC workaround
...
[SVN r16514]
2002-12-04 16:18:31 +00:00
Douglas Gregor
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
Douglas Gregor
17b311cbbd
Support assignment from 0, construction from 0, and comparison to zero.
...
[SVN r16174]
2002-11-09 16:02:47 +00:00
Douglas Gregor
4fed545468
function_n_test.cpp:
...
- Don't test == 0 syntax (it isn't supported)
[SVN r16115]
2002-11-05 14:36:49 +00:00
Douglas Gregor
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
Douglas Gregor
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
Douglas Gregor
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
Douglas Gregor
f9ae459b2d
- Removed everything deprecated in 1.29.0
...
- Deprecate user use of function_base
- Use the Boost Preprocessor library to make Function scalable to any
(reasonable) number of arguments
- Make any_pointer a POD (oops)
- Test Boost.Function for 30 arguments
- Remove tests of deprecated features
[SVN r15498]
2002-09-24 17:16:17 +00:00
Douglas Gregor
1b848e15b7
? true : false trick, again
...
[SVN r14892]
2002-08-15 15:15:50 +00:00
Douglas Gregor
3e2a2b6c55
? true : false hack
...
[SVN r14874]
2002-08-15 03:22:31 +00:00
Douglas Gregor
39e2be08cb
Don't test allocators if they aren't supported
...
[SVN r14695]
2002-08-05 15:05:34 +00:00
Douglas Gregor
232069aa00
allocator_test.cpp:
...
- Remove partial specialization-specific code
function_test.cpp:
- Uses BOOST_FUNCTION_NO_DEPRECATED
- Use only the new syntax
- Test the allocator parameter
deprecated_syntax_test.cpp:
- Test the deprecated syntax
[SVN r14684]
2002-08-05 06:13:32 +00:00
Douglas Gregor
2963cb89a8
function_test.cpp: Don't use void() directly because of broken compilers
...
[SVN r14571]
2002-07-23 13:47:01 +00:00
Douglas Gregor
e9ce99dede
test/function_n_test.cpp:
...
test/function_test.cpp:
- Don't use deprecated functions
index.html:
doc/reference.html:
- Describe deprecations
[SVN r14540]
2002-07-19 20:45:36 +00:00
Douglas Gregor
84bdb40567
Don't test new syntax if partial specialization is unavailable
...
[SVN r14536]
2002-07-19 19:42:25 +00:00
Douglas Gregor
97f72b7f8b
Don't try to use function types inline for those silly compilers that can't handle it (e.g., Borland C++ 5.5.1)
...
[SVN r14534]
2002-07-19 19:17:14 +00:00
Douglas Gregor
fff815d58b
allocator_test.cpp:
...
function_test.cpp:
- Test out the new function syntax
[SVN r14532]
2002-07-19 18:31:41 +00:00
Douglas Gregor
5a07d4b262
regression.cfg:
...
- Add stateless_test
[SVN r12560]
2002-01-30 03:17:40 +00:00
Douglas Gregor
aaa7f61b9e
stateless_test.cpp:
...
- Test function's ability to optimize away allocations for stateless function
objects
[SVN r12557]
2002-01-30 01:58:28 +00:00
Douglas Gregor
8635632937
untabified
...
[SVN r12336]
2002-01-17 15:57:26 +00:00
Douglas Gregor
d48fa26030
Renamed BOOST_MSVC_ONLY to BOOST_FUNCTION_TARGET_FIX
...
[SVN r12145]
2001-12-24 17:11:11 +00:00
Douglas Gregor
db5399d447
Remove spurious semicolon
...
[SVN r11944]
2001-12-05 22:39:33 +00:00
Douglas Gregor
083767f67a
Taking function objects by value instead of as references-to-const. This does not work on MSVC6.5, so the BOOST_MSVC_ONLY macro was added to make them references-to-const for only that compiler.
...
- Borland C++ no longer requires hacks to make function pointers work
- On any compiler other than MSVC, free functions can be assigned to Boost.Function objects without the explicit '&'
[SVN r11943]
2001-12-05 22:35:32 +00:00
Douglas Gregor
1512df77b1
function_n_test:
...
function_test:
- Add testcases using ref() wrapper
[SVN r11873]
2001-12-03 16:25:00 +00:00
Douglas Gregor
2265421357
General cleanups
...
[SVN r11791]
2001-11-27 23:11:44 +00:00
Douglas Gregor
a657e5c812
Reversed prior commit - tests passing references for the implicit
...
object parameter to an unbound member function pointer have been
added again.
[SVN r11732]
2001-11-19 20:57:57 +00:00
Douglas Gregor
d37d210685
function_n_test.cpp:
...
function_test.cpp:
- Removed use of (previously existing) ability to use references for the
first parameter to an unbound pointer-to-member function. Only pointer-like
entities are allowed.
[SVN r11728]
2001-11-19 20:19:23 +00:00
Douglas Gregor
6bdc663932
String literals should be const
...
[SVN r11457]
2001-10-28 04:04:26 +00:00
Douglas Gregor
d7ac137669
Remove checks for function_cast and .target_type()
...
[SVN r11442]
2001-10-25 20:55:56 +00:00
Douglas Gregor
e6011abb87
Added tests for member functions
...
[SVN r11394]
2001-10-16 19:24:04 +00:00
Douglas Gregor
07390a35e3
Check the const function_cast function
...
[SVN r11364]
2001-10-08 13:55:55 +00:00
Douglas Gregor
a81c30d130
regression.cfg: Removed defarg_test.cpp entry
...
[SVN r11362]
2001-10-08 13:34:00 +00:00
Douglas Gregor
4147c42599
defarg_test.cpp: removed (it is incorrect)
...
function_n_test.cpp:
function_test.cpp:
Updated with tests of target_type() and casting
[SVN r11361]
2001-10-08 13:33:14 +00:00
Douglas Gregor
e34716babd
function_n_test.cpp:
...
function_test.cpp:
- Updated testcases to reflect semantic change in const calling
policy_test.cpp:
- precall/postcall in policy should take pointers to const function_base
[SVN r10686]
2001-07-22 05:27:20 +00:00
Douglas Gregor
a9aa465826
function_n_test.cpp:
...
function_test.cpp:
- Removed 'static' storage specifier from 'global_int' declaration.
Perhaps Sun Workshop 6 will compile Boost.Function now?
[SVN r10684]
2001-07-22 05:03:43 +00:00
Douglas Gregor
aa026cd1d8
defarg_test.cpp:
...
- Test zero and one arguments
[SVN r10640]
2001-07-17 01:27:42 +00:00
Douglas Gregor
131ed15e59
mixin_test.cpp:
...
- Check assignment from function pointer
[SVN r10618]
2001-07-14 18:58:16 +00:00
Douglas Gregor
40b70509cc
mixin_test.cpp:
...
- Test persistence of mixins when assigning to a function object
[SVN r10616]
2001-07-14 18:46:42 +00:00
Douglas Gregor
b5f3694938
mixin_test.cpp:
...
- Test copying of mixins
[SVN r10615]
2001-07-14 18:41:47 +00:00
Douglas Gregor
db362782ac
function_n_test.cpp:
...
function_test.cpp:
- Removed silly ';;' constructs: MSVC seems to handle the updated
code much better.
regression.cfg:
- Fixed typos
[SVN r10482]
2001-06-29 19:35:40 +00:00
Douglas Gregor
1678e1fde6
function_n_test.cpp:
...
function_test.cpp:
- Add tests for self-assignment
[SVN r10433]
2001-06-26 13:41:10 +00:00
Douglas Gregor
0270911a43
regression.cfg:
...
- Run all regression tests for Boost.Function
[SVN r10397]
2001-06-22 14:36:30 +00:00
Douglas Gregor
42aedefe2f
* Added initial comments and copyright notices to any files missing them.
...
* "Acknowledgements" section added to documentation
[SVN r10396]
2001-06-22 14:13:03 +00:00
Beman Dawes
322df8287e
Initial Boost.Function commit
...
[SVN r10372]
2001-06-21 17:01:43 +00:00