289 Commits

Author SHA1 Message Date
setine
e147a4c204 Fix typo 2019-12-29 13:38:01 -06:00
David Sankel
465b3c5dc4 Spelling fix 2019-12-29 13:37:30 -06:00
Andrzej Krzemieński
1a09f86649 fix implementation of operator+ 2019-12-29 13:37:09 -06:00
Zach Laine
c47f91507e Change iterator-interface's operator!= always to use operator==. 2019-12-03 23:50:55 -06:00
Zach Laine
be05381277 Fix const incorrectness in view_interface::operator bool() const. 2019-12-03 23:50:04 -06:00
Zach Laine
d645a1cb60 Add a note about how op==/op!= may be suboptimal for random access iterators
over discontiguous sequences.
2019-11-27 21:57:04 -06:00
Zach Laine
9c2f077592 Add explanation of missing allocator-aware functionality to the rationale; add
a note to tutorial that using container_interface does not preclude satisfying
more requirements tables.
2019-11-13 00:26:05 -06:00
Zach Laine
2192a01576 Work around MSVC error. 2019-09-24 19:52:14 -05:00
Zach Laine
501e848304 Fix broken const-vs.-mutable comparisons. 2019-09-22 14:40:49 -05:00
Zach Laine
0e4aa51e28 Lessons learned from using reverse_iterator in Boost.Text:
- constexpr improvements
- const-vs.-nonconst reverse_iterator comparisons
2019-09-19 20:45:35 -05:00
Zach Laine
2ee5603fde Fix Clang build. 2019-09-19 19:27:39 -05:00
Zach Laine
0a06220fcb Add base() to reverse_iterator. 2019-09-19 18:33:40 -05:00
Zach Laine
dde567a947 If/It confusion in docs. 2019-09-19 18:33:25 -05:00
Zach Laine
18e07c290d Changed assign(pos, n. x) to be more optimal if Derived::capacity() exists and
returns something convertible to size_t.
2019-09-15 16:51:39 -05:00
Zach Laine
ae2934f0b1 Change container_interface::assign() to something more optimal. 2019-09-15 00:22:03 -05:00
Zach Laine
fcfcdd7d89 Doc spell-checking. 2019-08-23 00:07:07 -05:00
Zach Laine
d730e1d4f7 Fix const_repeated_chars_iterator::operator{-,>=}(). 2019-08-22 23:52:24 -05:00
Zach Laine
0f24f27ed9 Fix internal Quickbook links. 2019-08-22 20:39:19 -05:00
Zach Laine
bf4dbd42ed Doc typo. 2019-08-22 20:31:48 -05:00
Zach Laine
2fe8671882 Update README.md 2019-08-22 20:24:16 -05:00
Zach Laine
ae78c180ff Work around lousy template processing in MSVC. 2019-08-22 19:50:21 -05:00
Zach Laine
0f8136764d Doc typo. 2019-08-22 19:22:31 -05:00
Zach Laine
2168fc8948 Document the existence of v2, and v1 vs. v2 differences. 2019-08-22 17:26:49 -05:00
Zach Laine
d6d832d5e0 Derived -> D in *_interface; add requirements on D where missing. 2019-08-22 17:26:49 -05:00
Zach Laine
864f04a613 Document the requirements on the Derived parameter to container_interface; adjust constraints accordingly. 2019-08-22 17:26:49 -05:00
Zach Laine
e52572fb6a Container -> C in container_interface template params. 2019-08-22 17:26:49 -05:00
Zach Laine
cc63a47768 Fix Clang build. 2019-08-22 01:03:37 -05:00
Zach Laine
ddda3f28b8 Update non-cmcstl v2 implementation; tweak cmcstl2 implementation slightly. 2019-08-22 00:48:58 -05:00
Zach Laine
dacbc87138 Implement v2::container_interface::data(). 2019-08-22 00:48:58 -05:00
Zach Laine
42385944f4 Remove the non-const overloads of v2::container_interface::{empty,size}(). 2019-08-22 00:48:58 -05:00
Zach Laine
cae17b178b Add v2 version of array test. 2019-08-22 00:48:58 -05:00
Zach Laine
b051cfee6a Add provision of operator== and operator< to container_interface. 2019-08-22 00:48:58 -05:00
Zach Laine
d6bfcd7068 Add data() tests to {v2_,}static_vec; v2 versions are disabled. 2019-08-22 00:48:58 -05:00
Zach Laine
bb5e94b16c Work around GCC ICE related to v2::container_interface::cr{begin,end}. 2019-08-22 00:48:58 -05:00
Zach Laine
8b6d352e3e Add v2_static_vec test; fix errors; some errors remain. 2019-08-20 19:57:45 -05:00
Zach Laine
b13833b2e9 Add initial sketch of cmcstl version of container_interface. 2019-08-20 00:05:55 -05:00
Zach Laine
a6a2342b1f Add BOOST_STL_INTERFACES_CONCECPT to control use of "concept bool" vs. "concept" with different versions of GCC. 2019-08-20 00:05:55 -05:00
Zach Laine
0086bdf8ef Address all of the remaining v2::iterator_interface-related TODOs. 2019-08-20 00:05:55 -05:00
Zach Laine
67f5ea9072 Add v2_random_access test; fix errors. 2019-08-20 00:05:55 -05:00
Zach Laine
96b7473da5 Namespace refactor. Commonly used things pulled out of v1, common details pulled out of v1::detail into detail; v1::detail -> v1::v1_dtl; v2::detail -> v2::v2_dtl. 2019-08-20 00:05:55 -05:00
Zach Laine
6c4e127ccc Add v2 tests for input, output, and bidirecitonal; all tests pass again. 2019-08-20 00:05:55 -05:00
Zach Laine
dc166ea0b5 Add sketch of cmcstl2-based iterator_interface. Fails tests. 2019-08-19 00:45:22 -05:00
Zach Laine
d6a66835c5 Add support for cmcstl2 as an optional dependency. 2019-08-18 23:46:46 -05:00
Zach Laine
8796129011 Fix potential ambiguity in v2::iterator_interface::operator++ overloads. 2019-08-18 20:03:54 -05:00
Zach Laine
3480033da8 Add missing free swap() and operator<=> to v2::container_interface, and fix
potential overload ambiguities in v2::iterator_interface.
2019-08-18 20:00:52 -05:00
Zach Laine
c13300ea8a Remove Contiguous template parameter from v2::container_interface. 2019-08-18 19:27:38 -05:00
Zach Laine
523d723d76 Add missing operator!= for container_interface; fix by-value parameters in
other comparison functions.
2019-08-18 19:26:36 -05:00
Zach Laine
b29fcd08ff Sketch in v2::container_interface. 2019-08-18 14:58:01 -05:00
Zach Laine
e4cce60fb7 Reorder the member functions of container_interface for readability. 2019-08-18 14:57:32 -05:00
Zach Laine
503ae0c13f Complete first draft of v2::iterator_interface. 2019-08-18 13:01:37 -05:00