Update of /cvsroot/boost/boost/libs/intrusive/example
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3113/example
Modified Files:
doc_clone_from.cpp doc_rbtree_algorithms.cpp Jamfile.v2
Log Message:
no message
Index: doc_clone_from.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/intrusive/example/doc_clone_from.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- doc_clone_from.cpp 12 May 2007 12:34:55 -0000 1.2
+++ doc_clone_from.cpp 23 Jun 2007 13:06:50 -0000 1.3
@@ -38,8 +38,8 @@
{ return new my_class(clone_this); }
};
-//The destroyer object function
-class delete_destroyer
+//The disposer object function
+class delete_disposer
{
public:
void operator()(my_class *delete_this)
@@ -61,7 +61,7 @@
//Now clone "list" using "new" and "delete" object functions
my_class_list cloned_list;
- cloned_list.clone_from(list, new_cloner(), delete_destroyer());
+ cloned_list.clone_from(list, new_cloner(), delete_disposer());
//Test that both are equal
if(cloned_list != list){
@@ -72,7 +72,7 @@
}
//Don't forget to free the memory from the second list
- cloned_list.clear_and_destroy(delete_destroyer());
+ cloned_list.clear_and_dispose(delete_disposer());
return 0;
}
//]
Index: doc_rbtree_algorithms.cpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/intrusive/example/doc_rbtree_algorithms.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- doc_rbtree_algorithms.cpp 12 May 2007 12:34:55 -0000 1.2
+++ doc_rbtree_algorithms.cpp 23 Jun 2007 13:06:50 -0000 1.3
@@ -79,4 +79,5 @@
algo::erase(&header, n);
return 0;
}
+
//]
Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/intrusive/example/Jamfile.v2,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Jamfile.v2 24 May 2007 05:00:17 -0000 1.2
+++ Jamfile.v2 23 Jun 2007 13:06:50 -0000 1.3
@@ -1,4 +1,4 @@
-# Boost Intrusive Library Documentation test Jamfile
+# Boost Intrusive Library Example Jamfile
# (C) Copyright Ion Gaztañaga 2006-2007.
# Use, modification and distribution are subject to the
@@ -31,4 +31,4 @@
return $(all_rules) ;
}
-test-suite intrusive_doc : [ test_all r ] ;
\ No newline at end of file
+test-suite intrusive_example : [ test_all r ] : <threading>multi ;
\ No newline at end of file
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs