289 Commits

Author SHA1 Message Date
Zach Laine
6d31433af0 Add a metafunciton iter_concept, which matches the behavior of C++20's
ITER_CONCEPT, and use it to fix errors when compiling in C++20 mode.
2020-07-09 16:54:05 -05:00
Zach Laine
9eea51772f Enable GCC10 for Travis Linux builds. 2020-07-09 15:33:25 -05:00
Zach Laine
53af409b48 Fix wrong lib name in meta/libraries.json. 2020-06-28 16:11:02 -05:00
Zach Laine
f59442e35f Actually explain what proxy iterators are before showing how to use
iterator_interface to make one.

Fixes #39.
2020-06-23 21:47:51 -05:00
Zach Laine
00ca2ae702 Fix the path to Appveyor in the README badge.
Fixes #44.
2020-06-23 21:11:58 -05:00
Zach Laine
e8d9dd543d tzlaine -> boostorg in path in README.md. 2020-06-23 21:06:30 -05:00
Zach Laine
6486db0a55 Remove const from value_type in iterator_interface.
Fixes #43.
2020-06-23 18:17:26 -05:00
Mateusz Łoskot
1c99fe75ea Fix typo in name of iterator_interface 2020-06-23 17:34:02 -05:00
Zach Laine
10af515ae9 tzlaine -> boostorg in doc link.
Fixes #41 .
2020-05-01 21:53:49 -05:00
Glen Fernandes
e161785105 Switch to Boost.Core's lightweight_test 2020-05-01 21:50:02 -05:00
Zach Laine
887ca9c775 Add more versions of XCode to Travis build. 2020-04-10 18:35:11 -05:00
Zach Laine
836cfc3686 Get the latest cmake in the Travis build. 2020-04-10 18:21:22 -05:00
Zach Laine
eb6261ad89 Add GCC 9 to Travis builds. 2020-04-09 19:22:23 -05:00
Zach Laine
cf4e247d43 Make the noexcept specifiers on
iterator_interface::{operator+,operator-=,operator-}() unconditional to work
around broken return type deduction logic in older compilers.
2020-04-09 19:17:36 -05:00
Zach Laine
3648e7497e More SFINAE friendliness work for range-v3 compatibility.
Fixes #38.
2020-04-09 02:12:01 -05:00
Zach Laine
ad2ea1a657 Fix SFINAE unfriendliness in iterator_interface, for range-v3 compatibility.
Fixes #38.
2020-04-08 17:36:18 -05:00
Furkan Usta
b3fc91f62c Fix trailing return type for iterator_interface comparison operators 2020-04-05 15:12:41 -05:00
Barrett Adair
2ec1953725 Add Boost.Build support to test suite 2020-03-25 09:32:54 -05:00
Zach Laine
0c03fea2ec Point README.md badges to develop, not master. 2020-02-12 09:28:36 -06:00
Zach Laine
70da761d35 Use the bootstrap batch file on Windows when cloning Boost is required. 2020-02-12 09:16:19 -06:00
Zach Laine
350141cd7c Indicate which branch Boost is cloned from, if it is cloned because it is not
locally found.
2020-02-12 09:05:42 -06:00
Zach Laine
171b6d7be8 Don't clone Boost dependencies in the Travis build. 2020-02-12 09:00:34 -06:00
Zach Laine
6fba2d57f6 Add missing #include to test. 2020-02-08 11:41:53 -06:00
Zach Laine
43fda6d119 When Boost is not found, clone it instead of downloading it. 2020-02-08 11:41:31 -06:00
Zach Laine
fab86ff224 Add front matter to the sequence_container_interface docs explaining what the
standard's container requirements table are; add references to online
documentation of these and other standard-isms alluded to in the docs.

Fixes #23.
Fixes #33.
2020-01-08 13:32:57 -06:00
Zach Laine
2bd28d9b6d Remove incorrect references to operator{==,<} being user-defined for
sequence_container_interface.

Fixes #11.
2020-01-08 13:32:57 -06:00
Zach Laine
f89c8a4e5b Provide section headings for sequence_container_interface's tables.
Fixes #10.
2020-01-08 13:32:57 -06:00
Zach Laine
81ad5462d1 Typo fixes. 2020-01-08 12:57:13 -06:00
Zach Laine
32a6f27abd Address some missed sequence_container_interface renames. 2020-01-08 12:57:13 -06:00
Zach Laine
a14b86d499 Adjust Travis build to clone Boost dependencies instead of downloading via
wget.
2020-01-08 12:57:11 -06:00
Zach Laine
9111d81885 Remove the v2 namespace, including the C++20 standard lib- and cmcstl2-based
implementations.

Fixes #27.
2020-01-03 15:24:30 -06:00
Zach Laine
170ecc0236 Remove ill-formed uses of "!requires ..." from concepts-using implementations.
Fixes #13.
2020-01-03 15:24:02 -06:00
Zach Laine
cc224edc54 Add move-only value_type tests of static_vector example.
Fixes #31.
2020-01-03 15:22:20 -06:00
Zach Laine
9121eea229 Remove resize() from sequence_container_interface. 2020-01-03 15:22:20 -06:00
Zach Laine
8c88aa5881 Fix some v2 tests missed in the Gtest -> Boost.Test conversion. 2020-01-03 15:22:20 -06:00
Zach Laine
9414d1a010 Add perf note about proxy_arrow_result to docs.
Fixes #30.
2020-01-01 18:33:58 -06:00
Zach Laine
f735c78fb8 GTest -> Boost.Test
Fixes #24.
2020-01-01 18:23:06 -06:00
Zach Laine
67aa560da8 Remove "(Proposed)" from the doc title page.
Fixes #35.
2020-01-01 14:01:17 -06:00
Zach Laine
1f53bd0998 - Pull definitions of v2_dtl::{container_size_t,three_way} to before the C++20
implementations.

- Fix a place where __cpp_lib_three_way_comparison was compared against a
value rather than checked for definition.

Fixes #22.
2020-01-01 13:32:31 -06:00
Zach Laine
32916776f5 Add missing #include <tuple> (for std::tie) to the static_vector example.
Fixes #21.
2020-01-01 13:32:31 -06:00
Zach Laine
cb76994bd6 Fix unmatched close paren in C++20 sketch of sequence_container_interface.
Fixes #20.
2020-01-01 13:32:31 -06:00
Zach Laine
baf9f70902 container_interface -> sequence_container_interface
Fixes #15.
2020-01-01 13:32:31 -06:00
Zach Laine
e55bb9ffdb Make element_type an enum class; bool Contiguous -> element_type Contiguity in {view,container}_interface.
Fixes #14.
2020-01-01 13:32:31 -06:00
Zach Laine
f0dc49747f Remove boneheaded attempt to provide container dtors via container_interface.
Fixes #12.
2020-01-01 13:32:23 -06:00
Zach Laine
c63c107793 Add copyright notices to some files that were missing it.
Fixes #26.
2019-12-29 14:04:14 -06:00
Zach Laine
2e18001fcd Check for the existence of __has_include before using it.
Fixes #32.
2019-12-29 13:51:48 -06:00
Zach Laine
c5b6d2a839 std::view_interface -> std::ranges::view_interface
Fixes #9.
2019-12-29 13:43:14 -06:00
Zach Laine
4966439020 Replace direct use of __cpp_lib_three_way_comparison with a check that it is
defined. This is important for users who use -Wundef -Werror with GCC and
Clang.

Fixes #1.
2019-12-29 13:43:14 -06:00
Zach Laine
7c4a420f8d Document why view_interface does not define nested types.
Fixes #7.
2019-12-29 13:43:14 -06:00
Zach Laine
086773847b BOOST_STL_INTERFACES_DOXYGEN -> defined(BOOST_STL_INTERFACES_DOXYGEN)
Fixes #2.
2019-12-29 13:43:14 -06:00