2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00
Commit Graph

1480 Commits

Author SHA1 Message Date
Raoul Gough
cb26cf1a5b Add std::swap overload for int_wrapper. This prevents a crash in
container_proxy::swap_elements in test_deque_proxy.py with -O2 or higher
on gcc 2.96 for i386-redhat-linux


[SVN r20458]
2003-10-22 23:28:37 +00:00
Raoul Gough
87217f8009 Fix worked out for MIPSpro 7.3.1.3m (EDG frontend version 238)
[SVN r20457]
2003-10-22 20:28:55 +00:00
Raoul Gough
ecfd820d62 Remove tabs
[SVN r20456]
2003-10-22 20:28:14 +00:00
Raoul Gough
d91baaaa59 Use <boost/limits.hpp> instead of <limits>
[SVN r20448]
2003-10-21 18:18:04 +00:00
Raoul Gough
27bc69adbf Workarounds for gcc versions without the "at" member functions in vector or deque
[SVN r20447]
2003-10-21 18:17:51 +00:00
Raoul Gough
0fd414f8cd Use boost iterator_traits for portability
[SVN r20446]
2003-10-21 16:28:43 +00:00
Raoul Gough
5fc0aba562 Reduce indentation of parameter lists split across lines (fix "endline layout")
[SVN r20445]
2003-10-21 14:51:03 +00:00
Raoul Gough
b81435f4aa Force has_mutable_ref to false in set_traits, in case iterator_traits wrong
[SVN r20429]
2003-10-20 16:22:54 +00:00
Raoul Gough
7482040832 Add != overload for shared ptr (Tru64 compiler lib seems to use it)
[SVN r20428]
2003-10-20 15:49:50 +00:00
Raoul Gough
2daf80f91e Rename test_vector_shared_ext.cpp to test_vector_shared.cpp
[SVN r20424]
2003-10-20 11:15:14 +00:00
Raoul Gough
d3a25d2e72 Add test_indexing_const, use automatic _ext dependency for test_vector_shared
[SVN r20423]
2003-10-20 11:02:08 +00:00
Raoul Gough
a653c321f9 indexing suite tests for const containers
[SVN r20422]
2003-10-20 11:00:59 +00:00
Raoul Gough
4f7abba608 Remove set_algorithms::assign
[SVN r20421]
2003-10-20 10:59:37 +00:00
Raoul Gough
b1a0f0a373 Add const-container support using iterator traits for const_iterator
[SVN r20420]
2003-10-20 10:59:13 +00:00
Raoul Gough
bb3887660e Add bool paramater to maybe_add_setitem template for const-container support
[SVN r20419]
2003-10-20 10:58:23 +00:00
Raoul Gough
10bc8a3709 Add (dummy) const_iterator for container_traits const-support compatibility
[SVN r20418]
2003-10-20 10:57:51 +00:00
Raoul Gough
f57c10905a Add (dummy) const_iterator typedef
[SVN r20417]
2003-10-20 10:57:00 +00:00
Raoul Gough
e39ede3116 Remove pseudo-assignment test
[SVN r20416]
2003-10-20 10:56:02 +00:00
Raoul Gough
b07d2e8591 Add test_vector_shared
[SVN r20400]
2003-10-16 18:28:36 +00:00
Raoul Gough
d4ad3f55d5 Removed unused shared_ptr conversion, operator<<. Add repr member
[SVN r20399]
2003-10-16 18:27:25 +00:00
Raoul Gough
324bba771c Extended test for references that can survive a sort
[SVN r20393]
2003-10-15 16:20:56 +00:00
Raoul Gough
b032914876 Fix problem with shared_ptr holder
[SVN r20392]
2003-10-15 16:20:15 +00:00
Raoul Gough
43e1dc9d5b Move repr into int_wrapper, remove some unneeded header includes
[SVN r20391]
2003-10-15 16:18:55 +00:00
Raoul Gough
3847f1d455 Tests for vector of shared pointers
[SVN r20390]
2003-10-15 16:17:51 +00:00
Raoul Gough
5f9c0e5b50 Add parameter to increment(), fix member variable naming convention
[SVN r20389]
2003-10-15 14:12:45 +00:00
Raoul Gough
1c5450292d Reorganisation of indexing test suite
[SVN r20388]
2003-10-15 14:11:40 +00:00
Raoul Gough
2c93ea31dc Convert include guards to use BOOST_ALL_CAPS convention
[SVN r20387]
2003-10-15 11:47:33 +00:00
Raoul Gough
89122d2415 Rename CamelCase variable and function names
[SVN r20386]
2003-10-15 11:22:40 +00:00
Raoul Gough
20896e809d Renamed IntWrapper to int_wrapper
[SVN r20385]
2003-10-15 10:42:55 +00:00
Raoul Gough
ba6cbe42de Renamed IntWrapper to int_wrapper
[SVN r20384]
2003-10-15 10:25:42 +00:00
Raoul Gough
fbf82cc6e9 Add optional override parameter to all algorithm templates
[SVN r20378]
2003-10-14 12:48:35 +00:00
Raoul Gough
278bb1a861 Output "Done" on successful completion, in line with the other Python scripts here
[SVN r20377]
2003-10-14 12:23:35 +00:00
Raoul Gough
82b1fd637d Add (and use) index_type typedef
[SVN r20376]
2003-10-14 11:21:01 +00:00
Raoul Gough
26d5ca22aa Add SliceType template argument, copy SliceType object in constructor
[SVN r20375]
2003-10-14 11:20:25 +00:00
Raoul Gough
18279496da Use algorithm's make_slice_helper factory function
[SVN r20374]
2003-10-14 11:19:13 +00:00
Raoul Gough
536ef11cce Add make_slice_helper factory function
[SVN r20373]
2003-10-14 11:18:49 +00:00
Raoul Gough
32f1d028e2 Rely on slice_helper provided by the algorithms argument
[SVN r20371]
2003-10-14 00:07:27 +00:00
Raoul Gough
c7913267d4 Add slice_helper typedef
[SVN r20370]
2003-10-14 00:06:49 +00:00
Raoul Gough
73a65235c6 Split PySlice_GetIndices functionality into separate integer_slice class
[SVN r20369]
2003-10-14 00:05:56 +00:00
Raoul Gough
3267d5a2f3 Slice helper template for containers with ordinary integer indexing
[SVN r20368]
2003-10-14 00:03:45 +00:00
Raoul Gough
e0ae98ee56 Improve commenting of include-in-middle weirdness
[SVN r20367]
2003-10-14 00:01:58 +00:00
Raoul Gough
62a213fbbe bool param for setTrace, avoids MSVC conversion performance warning at /W3
[SVN r20366]
2003-10-14 00:01:27 +00:00
Raoul Gough
1ddd2b800d Include container_proxy early to ensure element_proxy overload in scope
[SVN r20365]
2003-10-13 23:45:26 +00:00
Raoul Gough
9e593f1f79 Fix namespace naming issues
[SVN r20351]
2003-10-11 13:44:21 +00:00
Raoul Gough
237cce7dae Add std::pair<iterator,iterator> constructor
[SVN r20350]
2003-10-11 13:29:46 +00:00
Raoul Gough
55a33c287c Add simple_map_traits example and section on iterator_pair
[SVN r20349]
2003-10-11 13:29:18 +00:00
Raoul Gough
f9ddcdf61b Include iterator in ContainerTraits requirements
[SVN r20348]
2003-10-11 12:20:05 +00:00
Raoul Gough
5c5ed38973 Use "class" instead of "struct" to prevent MSVC /W2 warning on proxy_iterator
[SVN r20347]
2003-10-11 11:31:43 +00:00
Raoul Gough
2ecb9c6232 "class" instead of "struct" in selector_impl decl to prevent MSVC /W2 warning
[SVN r20346]
2003-10-11 11:30:57 +00:00
Raoul Gough
7c14b3fac4 Use difference_type instead of long for offset values
[SVN r20345]
2003-10-11 11:29:10 +00:00