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

1522 Commits

Author SHA1 Message Date
Raoul Gough
31bc1a4466 Fix mistaken naming of __contains__ in one case
[SVN r20997]
2003-11-28 20:17:04 +00:00
Raoul Gough
aa0dc52c94 Use the new (non-virtual) python_iterator interface
[SVN r20940]
2003-11-24 16:35:52 +00:00
Raoul Gough
dfcce0f2a9 Switch to a non-virtual interface by relying on PyObject_GetIter
[SVN r20939]
2003-11-24 16:35:19 +00:00
Raoul Gough
182d9e9447 Manual layout fixes, remove tab characters
[SVN r20937]
2003-11-24 14:34:11 +00:00
Raoul Gough
3c65122e1d Automatic reformattings: end of line commas, no space before trailing ( or <
[SVN r20936]
2003-11-24 14:28:32 +00:00
Raoul Gough
7107628ae0 Minimal exception safety test for container_proxy::operator=
[SVN r20918]
2003-11-23 13:18:07 +00:00
Raoul Gough
415016191a Exception safe operator= rewrite, removed dead code comments
[SVN r20917]
2003-11-23 13:17:38 +00:00
Raoul Gough
7430b7c4a6 Custom less and equal_to for element_proxy specialization of value_traits
[SVN r20882]
2003-11-20 18:20:33 +00:00
Raoul Gough
d5c9831da8 Add a shared_ptr specialization of value_traits
[SVN r20881]
2003-11-20 18:16:06 +00:00
Raoul Gough
1d295d7f11 Remove static_cast<bool> from ICE_NOT to solve inexplicable gcc 2.96
compile error. The cast was originally added to prevent a warning with
MSVC7.1 at /W3 when a non-zero integer gets implicitly converted to bool


[SVN r20875]
2003-11-19 23:35:01 +00:00
Raoul Gough
0bc4ee884f Optional flags parameter to visitor allows container features to be suppressed
[SVN r20874]
2003-11-19 23:07:01 +00:00
Raoul Gough
bdde13d1bc Explicitly include config.hpp to ensure definintion of macros for workarounds
[SVN r20863]
2003-11-19 19:41:03 +00:00
Raoul Gough
887faad373 Allow client replacement of value_traits, including less and equal_to members
[SVN r20860]
2003-11-19 15:02:10 +00:00
Raoul Gough
712b90dfe0 Replacement value_traits to handle comparisons via indirection
[SVN r20856]
2003-11-19 12:46:43 +00:00
Raoul Gough
922a1b9194 Allow client replacement of value_traits, including less and equal_to members
[SVN r20855]
2003-11-19 12:45:29 +00:00
Raoul Gough
3cadfa529e Use mpl::apply1 with its MSVC6 workarounds to fully support Generator parameter
[SVN r20834]
2003-11-17 19:29:09 +00:00
Raoul Gough
b5cd8c537f Use BOOST_NESTED_TEMPLATE directly instead of creating own macro for MSVC6
[SVN r20833]
2003-11-17 19:27:13 +00:00
Raoul Gough
91db6f2d50 MSVC6 and 7 compatibility fixes
[SVN r20779]
2003-11-10 18:06:41 +00:00
Raoul Gough
997467c29f Update for recent code changes (including separate container headers)
[SVN r20582]
2003-10-31 23:25:39 +00:00
Raoul Gough
2b127f9533 Renamed notification functions in container_proxy
[SVN r20581]
2003-10-31 23:24:48 +00:00
Raoul Gough
3bf081fcf9 Rename notification functions (should be more meaningful for client code)
[SVN r20580]
2003-10-31 23:24:17 +00:00
Raoul Gough
a1da924e28 Fix include order for get_pointer overload with two-phase name lookup
[SVN r20529]
2003-10-28 16:10:22 +00:00
Raoul Gough
5a740d06c6 Add standalone test_container_proxy test, reorder the indexing tests
[SVN r20528]
2003-10-28 15:35:56 +00:00
Raoul Gough
ef80b390cd Use make_iterator_range
[SVN r20527]
2003-10-28 15:25:42 +00:00
Raoul Gough
e425a15fd2 Include container-specific traits and algorithms header
[SVN r20526]
2003-10-28 15:25:35 +00:00
Raoul Gough
1addeee962 Move definition of index_style_t from iterator_traits.hpp into suite_utils.hpp
[SVN r20525]
2003-10-28 15:23:18 +00:00
Raoul Gough
f415f18574 Container-specific traits and algorithms moved into separate headers
[SVN r20524]
2003-10-28 15:22:15 +00:00
Raoul Gough
5e6f06fde3 Updated with SliceHelper, new box layout
[SVN r20509]
2003-10-27 22:02:52 +00:00
Raoul Gough
eaf784b024 Renamed iterator_pair to iterator_range
[SVN r20508]
2003-10-27 18:27:11 +00:00
Raoul Gough
4c4676db3e Document SliceHelper and Algorithms override parameter. Rename
iterator_pair, fix some mixed case identifiers and include paths.


[SVN r20507]
2003-10-27 18:26:46 +00:00
Raoul Gough
54114b2bd1 Renamed IndexStyle to index_style_t
[SVN r20506]
2003-10-27 15:24:57 +00:00
Raoul Gough
e2c58fcb7c Use type_traits::ice_and instead of named bool constants (fix for EDG 245)
[SVN r20485]
2003-10-24 18:48:49 +00:00
Raoul Gough
c9de2a660f template keyword required for Generator::apply instantiation
[SVN r20484]
2003-10-24 18:46:08 +00:00
Raoul Gough
cbbc52e9d1 Add example of client-supplied container generator for container_proxy
[SVN r20483]
2003-10-24 18:13:34 +00:00
Raoul Gough
4e414c5371 Standalone (non-Python) tests for container_proxy
[SVN r20482]
2003-10-24 18:11:33 +00:00
Raoul Gough
0af5dc09c8 third container_proxy template parameter (pointer container type generator)
[SVN r20481]
2003-10-24 18:10:12 +00:00
Raoul Gough
264ec8ddca Use vector-like container for proxy pointers instead of map
[SVN r20480]
2003-10-24 18:09:04 +00:00
Raoul Gough
5295f58aff Split value_traits specialization into seperate header
[SVN r20479]
2003-10-24 18:07:30 +00:00
Raoul Gough
88c03a6ef4 Split value_traits specialization out of element_proxy.hpp
[SVN r20478]
2003-10-24 18:06:45 +00:00
Raoul Gough
d9478fb117 Use named constants for boolean expressions (gcc 2.95.3 fix)
[SVN r20477]
2003-10-24 18:03:15 +00:00
Raoul Gough
d17ce4e588 Use boost/iterator/iterator_categories to select traits by category type
[SVN r20460]
2003-10-23 11:04:56 +00:00
Raoul Gough
06814a2251 Don't use stuff from indexing::iterator_detail (recently changed). Also fix
definition of base_type for const-qualified containers in base_container_traits


[SVN r20459]
2003-10-23 11:03:57 +00:00
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