Commit Graph

241 Commits

Author SHA1 Message Date
Zach Laine
24f9450297 Doc copy editing. boost-1.80.0 boost-1.81.0.beta1 boost-1.80.0.beta1 2022-06-04 20:06:33 -05:00
Zach Laine
bd21cd308e Add some user/std mixed cases to view_adaptor.cpp. 2022-06-04 19:52:51 -05:00
Zach Laine
544c7448b4 Add a discussion of why it is sometimes necessary to use bind_back() directly. 2022-06-04 17:17:41 -05:00
Zach Laine
303a9da254 Create tutorial for the new range adaptor helpers. 2022-06-04 17:17:41 -05:00
Zach Laine
c6d7fa15fa Break take_view out into its own header, in example/. 2022-06-04 16:10:02 -05:00
Zach Laine
808cbfac15 Break reverse_view out into its own header, in example/. 2022-06-04 16:10:02 -05:00
Zach Laine
19a2729a15 Break all_view out into its own header, in example/. 2022-06-04 16:10:02 -05:00
Zach Laine
6a64d48840 Require an actual std::ranges::view for take_view and reverse_view; take_view
template parameter R -> View.
2022-06-04 16:10:02 -05:00
Zach Laine
6fa878de2f Update crufty bits of README, and remove Travis and Appveyor config files. 2022-06-04 16:10:02 -05:00
Zach Laine
437c188167 Consistently use BOOST_STL_INTERFACES_USE_CONCEPTS as the preprocessor
predicate to guard test code, instead of the hodgepodge that was used
previously.
2022-06-04 16:10:02 -05:00
Zach Laine
14c3741aaf Expand the view_adaptor test; fix errors. 2022-06-03 23:00:19 -05:00
Zach Laine
6a080f84cb Add very simple initial test of view_adaptor; fix errors. 2022-06-03 21:27:20 -05:00
Zach Laine
410e865acd Add view_adaptor.hpp and its associated detail/ headers. 2022-06-03 17:47:19 -05:00
Zach Laine
f84cb723e1 Cruft removal. 2022-05-18 03:51:36 -05:00
Zach Laine
f108c2dd4e Require __cpp_lib_concepts and __cpp_lib_ranges in order to enable
BOOST_STL_INTERFACES_USE_CONCEPTS.
2022-05-17 22:33:46 -05:00
Zach Laine
537f62e9b2 Don't use derived() in concept constraints. This fixes VS2022 in
C++20 mode.
2022-05-17 18:09:59 -05:00
Zach Laine
6514451f06 Fix doc typo. 2022-05-08 12:10:28 -05:00
sdarwin
37e420670b Update GitHub Actions CI file 2021-12-08 20:18:13 -06:00
Zach Laine
80ae39ed94 Re-enable testing of contiguos iterator .data() member in random_access.cpp
when __cpp_lib_concepts is defined, for the GCC versions that support this.
2021-12-08 19:33:42 -06:00
Zach Laine
ea719c8bf8 Add missing typename.
Fixes #53.
2021-12-08 19:13:58 -06:00
Jan Bouwer
ccecfa5652 Return derived() from operator--() in iterator_interface.
Previously, this returned the underlying adapted iterator.
Fixes #50.
2021-12-08 19:03:30 -06:00
sdarwin
fbde58f203 Update metadata 2021-12-08 18:49:37 -06:00
sdarwin
920a64cea3 Add GitHub Actions config [ci skip] 2021-06-07 21:00:34 -05:00
sdarwin
caa69728b7 add drone config [ci skip] 2021-06-07 21:00:26 -05:00
Zach Laine
89840c0531 Revert "Add GCC 10 to Travis build."
This reverts commit 8e7e0390de.
boost-1.78.0.beta1 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0 boost-1.77.0.beta1 boost-1.77.0
2021-06-06 17:38:06 -05:00
Zach Laine
8e7e0390de Add GCC 10 to Travis build. 2021-06-06 14:45:10 -05:00
Zach Laine
cd1fd465f3 Don't use a member function on the trailing return type of operator+=() and
operator++() in iterator_interface; use the equivalent hand-written code
instead.  Addresses #50 on older Clang.
2021-06-06 13:43:08 -05:00
Zach Laine
7c1f2c02bd Return derived() from operator+=() and operator++() in iterator_interface.
Previously, those each returned the underlying adapted iterator.

Fixes #50.
2021-06-05 18:37:59 -05:00
Zach Laine
907759ada3 Fix broken BOOST_STL_INTERFACES_STATIC_ASSERT_CONCEPT macro; it now properly
static_asserts in C++20 builds.
2021-06-05 17:52:50 -05:00
Zach Laine
e98536344d Pass an rvalue to emplace_back() in unevaluated contexts that are testing its
existence.  This is important for containers derived from sequence_container
that constrain emplace_back() itself, and have a move-only value_type.

Fixes #48.
2021-06-05 17:34:56 -05:00
Peter Dimov
29b990ba00 Add a Boost-friendly subproject case to CMakeLists 2021-06-05 16:58:24 -05:00
Edward Diener
6834a51d83 Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2020-12-16 19:55:56 -06:00
Zach Laine
a28e1674c8 Don't clone Boost deps into boost_root if that directory already exists. 2020-09-10 00:31:55 -05:00
Zach Laine
54da717c42 Include <functional> explicitly in the random access and bidirectional
tests, to fix compilation failures with an obscure toolchain.
2020-08-17 22:21:18 -05:00
Zach Laine
fd9bfb11bb Add a macro for disabling the C++20 v2 namespace. Add documentation
of the inlining v1/v2 behavior.
2020-08-15 22:17:51 -05:00
Zach Laine
56ffa7c6ad Correct relops in v2 sequence_container_interface. 2020-08-03 12:15:45 -05:00
Zach Laine
5be9130135 Correct comment in example. 2020-08-03 12:15:42 -05:00
Zach Laine
53448edcdc Add full v2 namespace (C++20) implementation. When building in C++20 mode,
including with __cpp_lib_concepts defined, the v2 namespace is inlined.
Otherwise, the v1 namespace is inlined.  This allows switching to
concept-constrained templates without changing any user code.
2020-08-02 00:11:55 -05:00
Zach Laine
6ab42d5111 Yet again yet another attempt to once again try to fix the doc build. boost-1.74.0 boost-1.76.0.beta1 boost-1.76.0 boost-1.75.0.beta1 boost-1.75.0 2020-07-19 13:59:58 -05:00
Zach Laine
3df19ef553 Yet again yet another attempt to again try to fix the doc build. 2020-07-19 11:51:02 -05:00
Zach Laine
e3d1f8958b Yet again yet another attempt to again fix the doc build. 2020-07-16 04:38:54 -05:00
Zach Laine
3d65da2c72 Yet again yet another attempt to fix the doc build. 2020-07-13 19:55:51 -05:00
Zach Laine
8fb176ef24 Yet again another attempt to fix the doc build. 2020-07-13 19:23:30 -05:00
Zach Laine
e914c08f0b Yet another attempt to fix the doc build. 2020-07-13 18:34:33 -05:00
Zach Laine
80376899d6 Revert "Revert "Remove the use of auto-index in doc/Jamfile.v2.""
This reverts commit 05a254c677.
2020-07-13 01:27:12 -05:00
Zach Laine
5e2754d3a2 Add missing definition of "here" to doc/Jamfile.v2. 2020-07-13 01:27:07 -05:00
Zach Laine
05a254c677 Revert "Remove the use of auto-index in doc/Jamfile.v2."
This reverts commit 87e02459bf.
2020-07-13 01:22:03 -05:00
Zach Laine
87e02459bf Remove the use of auto-index in doc/Jamfile.v2. 2020-07-13 00:20:39 -05:00
Zach Laine
d0ab53bc6f Change the run_doxygen line of doc/Jamfile.v2 to do what YAP does. 2020-07-13 00:18:19 -05:00
Zach Laine
e1de4e1c0a Remove doc/Jamroot.jam (for out-of-Boost-tree builds). 2020-07-13 00:13:06 -05:00