forked from boostorg/intrusive
no message
[SVN r38076]
This commit is contained in:
+19
-16
@@ -10,6 +10,8 @@
|
||||
// See http://www.boost.org/libs/intrusive for documentation.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <boost/intrusive/detail/config_begin.hpp>
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <boost/intrusive/detail/pointer_to_other.hpp>
|
||||
#include "itestvalue.hpp"
|
||||
@@ -269,9 +271,9 @@ void test_list<ValueTraits>
|
||||
list_type testlist1 (&values[0], &values[0] + values.size());
|
||||
list_type testlist2;
|
||||
|
||||
testlist2.clone_from(testlist1, test::new_cloner(), test::delete_destroyer());
|
||||
testlist2.clone_from(testlist1, test::new_cloner(), test::delete_disposer());
|
||||
BOOST_TEST (testlist2 == testlist1);
|
||||
testlist2.clear_and_destroy(test::delete_destroyer());
|
||||
testlist2.clear_and_dispose(test::delete_disposer());
|
||||
BOOST_TEST (testlist2.empty());
|
||||
}
|
||||
|
||||
@@ -321,23 +323,23 @@ class test_main_template<VoidPointer, false>
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
/*
|
||||
|
||||
//Explicit instantiations of non-counted classes
|
||||
template class boost::intrusive::list<list_base_raw, false>;
|
||||
template class boost::intrusive::list<list_member_raw, false>;
|
||||
template class boost::intrusive::list<list_auto_base_raw, false>;
|
||||
template class boost::intrusive::list<list_auto_member_raw, false>;
|
||||
template class boost::intrusive::list<list_base_smart, false>;
|
||||
template class boost::intrusive::list<list_member_smart, false>;
|
||||
template class boost::intrusive::list<list_auto_base_smart, false>;
|
||||
template class boost::intrusive::list<list_auto_member_smart, false>;
|
||||
//template class boost::intrusive::list<list_base_raw, false>;
|
||||
//template class boost::intrusive::list<list_member_raw, false>;
|
||||
//template class boost::intrusive::list<list_auto_base_raw, false>;
|
||||
//template class boost::intrusive::list<list_auto_member_raw, false>;
|
||||
//template class boost::intrusive::list<list_base_smart, false>;
|
||||
//template class boost::intrusive::list<list_member_smart, false>;
|
||||
//template class boost::intrusive::list<list_auto_base_smart, false>;
|
||||
//template class boost::intrusive::list<list_auto_member_smart, false>;
|
||||
|
||||
//Explicit instantiation of counted classes
|
||||
template class boost::intrusive::list<list_base_raw_t, true>;
|
||||
template class boost::intrusive::list<list_member_raw_t, true>;
|
||||
template class boost::intrusive::list<list_base_smart_t, true>;
|
||||
template class boost::intrusive::list<list_member_smart_t, true>;
|
||||
*/
|
||||
//template class boost::intrusive::list<list_base_raw_t, true>;
|
||||
//template class boost::intrusive::list<list_member_raw_t, true>;
|
||||
//template class boost::intrusive::list<list_base_smart_t, true>;
|
||||
//template class boost::intrusive::list<list_member_smart_t, true>;
|
||||
|
||||
int main( int, char* [] )
|
||||
{
|
||||
test_main_template<void*, false>()();
|
||||
@@ -346,3 +348,4 @@ int main( int, char* [] )
|
||||
test_main_template<boost::intrusive::smart_ptr<void>, true>()();
|
||||
return boost::report_errors();
|
||||
}
|
||||
#include <boost/intrusive/detail/config_end.hpp>
|
||||
|
||||
Reference in New Issue
Block a user