2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 06:22:15 +00:00

Use bitwise combination of numeric method IDs to decide what to support

[SVN r22197]
This commit is contained in:
Raoul Gough
2004-02-08 19:04:39 +00:00
parent d79c063b97
commit 2c8f1fb5d3
3 changed files with 17 additions and 13 deletions

View File

@@ -56,10 +56,12 @@ BOOST_PYTHON_MODULE(test_vector_shared_ext)
#else
// Otherwise do it the hard way
typedef indexing::indirect_value_traits<int_wrapper_holder> value_traits_;
typedef indexing::default_sequence_traits<Container1, value_traits_>
typedef indexing::random_access_sequence_traits<Container1, value_traits_>
container_traits_;
typedef indexing::default_algorithms<container_traits_> algorithms_;
typedef indexing::container_suite<Container1, 0, algorithms_> Suite1;
typedef indexing::container_suite<
Container1, indexing::all_methods, algorithms_> Suite1;
#endif
boost::python::class_<Container1>("Vector_shared")