11 Commits

Author SHA1 Message Date
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
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
Glen Fernandes
e161785105 Switch to Boost.Core's lightweight_test 2020-05-01 21:50:02 -05:00
Zach Laine
f735c78fb8 GTest -> Boost.Test
Fixes #24.
2020-01-01 18:23:06 -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
b051cfee6a Add provision of operator== and operator< to container_interface. 2019-08-22 00:48:58 -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
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
497ee7dd74 Add copious commentary explaining that -- and why --
container_interface::insert(pos, n, x) is not constrained.  I tried.  I really
did.
2019-08-17 19:19:44 -05:00
Zach Laine
a65257471b Add container_interface test using a std::array-like type. 2019-08-17 15:55:52 -05:00