Peter Dimov
bfb0e4701e
Remove remaining uses of Boost.Test
2018-11-13 19:43:12 +02:00
Nikita Kniazev
df1f33eb00
TST: Do not catch exceptions by value
2018-10-22 18:34:40 -04:00
Douglas Gregor
587658b047
Merge Boost.Function fixes from trunk
...
[SVN r49361]
2008-10-16 13:21:50 +00:00
Stefan Slapeta
bb669b4fb5
Replaced BOOST_TEST
...
[SVN r27049]
2005-02-03 11:09:28 +00:00
Douglas Gregor
fdbbc2b3ff
Doug Gregor->Douglas Gregor
...
[SVN r24018]
2004-07-25 02:59:30 +00:00
Douglas Gregor
8abd32bd81
Clean up warnings on Borland C++ 5.5
...
[SVN r21095]
2003-12-03 01:21:32 +00:00
Douglas Gregor
8c8f072d09
Update license to the new Boost license (yay!)
...
[SVN r20235]
2003-10-01 04:10:37 +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
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
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
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
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
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
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
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