Files
odfstudio/include
Stephan Bergmann 8e68651882 Adapt o3tl::span to P1872R0
..."span should have size_type, not index_type"
(<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1872r0.pdf>), as
implemented by libc++ since <https://github.com/llvm/llvm-project/commit/
1466335cf4b2854a0be1defcf279fe50772bad6f> "[libc++][P1872] span should have
size_type, not index_type."

All uses of index_type had been added to mitigate the previous std::span change
from signed (ptrdiff_t) to unsigned (size_t) index_type, see
6ef8420fdb "Adapt o3tl::span to updated C++2a
std::span".  There is no easy solution to transparently support all three
std::span variants currently out there (signed index_type, unsigned index_type,
unsigned size_type), without causing compilation failures due to
CPPUNIT_ASSERT_EQUAL with arguments of different types, or compiler warnings
about mixed signed/unsigned comparisons.  So rule out the oldest std::span
variant (signed index_type) in configure.ac (so that o3tl::span will use its
own hand-rolled code in that case) and simplify the uses of index_type to
std::size_t (as had already been mentioned in
6ef8420fdb).

Change-Id: I6ddf424ffb7941da3f69ad66fd29ecd35f09afae
Reviewed-on: https://gerrit.libreoffice.org/84652
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-07 09:00:00 +01:00
..
2019-12-06 19:20:29 +01:00
…
2019-11-11 17:25:06 +01:00
2019-10-29 09:49:45 +01:00
2019-12-05 10:06:58 +01:00
2019-12-05 07:01:44 +01:00
2019-11-20 09:59:17 +01:00
2019-11-19 07:52:24 +01:00
2019-12-05 10:12:34 +01:00
2019-12-07 09:00:00 +01:00
2019-12-05 07:01:44 +01:00
2019-11-03 17:12:00 +01:00
2019-08-22 09:34:43 +02:00
2019-08-30 08:12:07 +02:00
2019-11-30 10:20:50 +01:00
2019-11-05 12:18:29 +01:00
2019-08-30 08:12:07 +02:00
2019-12-05 07:01:44 +01:00
2019-12-05 13:50:21 +01:00
2019-12-05 07:01:44 +01:00
2019-12-05 07:01:44 +01:00
2019-12-05 07:01:44 +01:00
2019-08-30 08:12:07 +02:00
2019-10-31 07:02:54 +01:00
2019-08-22 15:46:24 +02:00
…
…
…
…