Go to file
Jonathan Wakely 621ea10ca0 libstdc++: Implement LWG 3403 for std::ranges::ssize
I already changed the constraints for ranges::ssize to use ranges::size,
this implements the rest of LWG 3403, so that the returned type is the
signed type corresponding to the result of ranges::size.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* include/bits/ranges_base.h (_SSize): Return the result of
	ranges::size converted to the wider of make-signed-like-t<S> and
	ptrdiff_t, rather than the ranges different type.
	* testsuite/std/ranges/access/ssize.cc: Adjust expected result
	for an iota_view that uses an integer class type for its
	difference_type.
2021-06-04 21:33:59 +01:00
c++tools Daily bump. 2021-05-26 00:16:41 +00:00
config Daily bump. 2021-05-19 00:16:45 +00:00
contrib Daily bump. 2021-05-26 00:16:41 +00:00
fixincludes
gcc OpenMP: Handle bind clause in tree-nested.c [PR100905] 2021-06-04 20:52:33 +02:00
gnattools Daily bump. 2021-05-08 00:16:27 +00:00
gotools
include Daily bump. 2021-05-07 00:16:33 +00:00
INSTALL
intl
libada
libatomic
libbacktrace Daily bump. 2021-05-04 00:16:53 +00:00
libcc1 Daily bump. 2021-05-06 00:16:37 +00:00
libcody
libcpp Daily bump. 2021-05-21 00:16:57 +00:00
libdecnumber Daily bump. 2021-05-04 00:16:53 +00:00
libffi
libgcc Fix my name in ChangeLog files. 2021-05-14 12:14:22 +02:00
libgfortran Revert "PR98301 Add missing changelog entries." 2021-05-23 14:08:08 +02:00
libgo libgo: update configure to current sources 2021-05-18 19:57:54 -07:00
libgomp Daily bump. 2021-05-29 00:16:29 +00:00
libiberty Daily bump. 2021-05-07 00:16:33 +00:00
libitm
libobjc
liboffloadmic Daily bump. 2021-05-26 00:16:41 +00:00
libphobos Daily bump. 2021-05-15 00:16:27 +00:00
libquadmath
libsanitizer Daily bump. 2021-05-22 00:16:29 +00:00
libssp
libstdc++-v3 libstdc++: Implement LWG 3403 for std::ranges::ssize 2021-06-04 21:33:59 +01:00
libvtv
lto-plugin Daily bump. 2021-05-11 00:16:36 +00:00
maintainer-scripts Daily bump. 2021-05-15 00:16:27 +00:00
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2021-06-04 00:16:24 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure sim: leverage gnulib 2021-05-29 10:59:54 -04:00
configure.ac sim: leverage gnulib 2021-05-29 10:59:54 -04:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Add DCO version number. 2021-06-03 11:07:19 -04:00
Makefile.def sim: depend on gnulib 2021-05-18 17:45:19 -04:00
Makefile.in sim: depend on gnulib 2021-05-18 17:45:19 -04:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.