- 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]
This commit is contained in:
Douglas Gregor
2002-09-24 17:16:17 +00:00
parent f36e83fb27
commit f9ae459b2d
27 changed files with 509 additions and 2365 deletions

View File

@ -60,7 +60,7 @@ static void do_nothing() {}
int
test_main(int, char*[])
{
function<int, int, int>::allocator< counting_allocator<int> >::type f;
function2<int, int, int, counting_allocator<int> > f;
f = plus<int>();
f.clear();
BOOST_TEST(alloc_count == 1);
@ -71,7 +71,7 @@ test_main(int, char*[])
f = &do_minus;
f.clear();
function<void>::allocator< counting_allocator<int> >::type fv;
function0<void, counting_allocator<int> > fv;
alloc_count = 0;
dealloc_count = 0;
fv = DoNothing();