Skip to content

Instantly share code, notes, and snippets.

@mr-c
Last active July 27, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mr-c/97aecb94becc22aacfdafb89a66038b4 to your computer and use it in GitHub Desktop.
Save mr-c/97aecb94becc22aacfdafb89a66038b4 to your computer and use it in GitHub Desktop.
seqan 3.0.1 + gcc 10.2.0
This file has been truncated, but you can view the full file.
I: Running in no-targz mode
I: pbuilder: network access will be disabled during build
I: Current time: Mon Jul 27 13:19:25 CEST 2020
I: pbuilder-time-stamp: 1595848765
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: Mounting /home/michael/.ccache/
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Copying source file
I: copying [/home/michael/debian/seqan3_3.0.1+ds-11.dsc]
I: copying [/home/michael/debian/seqan3_3.0.1+ds.orig.tar.xz]
I: copying [/home/michael/debian/seqan3_3.0.1+ds-11.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (seqan3_3.0.1+ds-11.dsc)
dpkg-source: info: extracting seqan3 in seqan3-3.0.1+ds
dpkg-source: info: unpacking seqan3_3.0.1+ds.orig.tar.xz
dpkg-source: info: unpacking seqan3_3.0.1+ds-11.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying doxygen
dpkg-source: info: applying debian_gtest
dpkg-source: info: applying debian_benchmark
dpkg-source: info: applying debian_cppreference
dpkg-source: info: applying fix_autopkgtests
dpkg-source: info: applying fix_arm64_text_failure
dpkg-source: info: applying two_dimensional_matrix_test.patch
I: Not using root during the build.
I: Installing the build-deps
I: user script /var/cache/pbuilder/build/cow.3754535/tmp/hooks/D05deps starting
+ DEPSPATH=/
+ [ -n ]
+ set +ex
I: user script /var/cache/pbuilder/build/cow.3754535/tmp/hooks/D05deps finished
I: user script /var/cache/pbuilder/build/cow.3754535/tmp/hooks/D10-man-db starting
I: Preseed man-db/auto-update to false
I: user script /var/cache/pbuilder/build/cow.3754535/tmp/hooks/D10-man-db finished
I: -> Attempting to satisfy build-dependencies
Note, using file '/build/seqan3_3.0.1+ds-11.dsc' to get the build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev bsdextrautils cmake cmake-data
cppreference-doc-en-html debhelper dh-autoreconf dh-strip-nondeterminism
doxygen dwz file fontconfig fontconfig-config fonts-dejavu-core
fonts-lmodern fonts-urw-base35 gettext gettext-base ghostscript googletest
graphviz groff-base intltool-debian libann0 libapache-pom-java
libarchive-zip-perl libarchive13 libavahi-client3 libavahi-common-data
libavahi-common3 libbenchmark-dev libbenchmark1 libboost-dev
libboost1.71-dev libbrotli1 libbsd0 libbz2-dev libcairo2 libcdt5
libcereal-dev libcgraph6 libclang1-9 libcom-err2 libcommons-logging-java
libcommons-parent-java libcroco3 libcups2 libcurl4 libdatrie1 libdbus-1-3
libdebhelper-perl libedit2 libelf1 libexpat1
libfile-stripnondeterminism-perl libfontbox-java libfontconfig1 libfreetype6
libfribidi0 libgd3 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common
libgssapi-krb5-2 libgtest-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz0b
libice6 libicu67 libidn11 libijs-0.35 libjbig0 libjbig2dec0 libjpeg62-turbo
libjsoncpp1 libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0
liblab-gamut1 liblcms2-2 libldap-2.4-2 libldap-common libllvm9 libltdl7
libmagic-mgc libmagic1 libmpdec2 libnghttp2-14 libopenjp2-7 libpango-1.0-0
libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpathplan4
libpdfbox-java libpipeline1 libpixman-1-0 libpng16-16 libprocps8 libpsl5
libptexenc1 libpython3-stdlib libpython3.8-minimal libpython3.8-stdlib
librange-v3-dev libreadline8 librhash0 librtmp1 libsasl2-2
libsasl2-modules-db libsigsegv2 libsm6 libssh2-1 libssl1.1
libsub-override-perl libsynctex2 libteckit0 libtexlua53 libtexluajit2
libthai-data libthai0 libtiff5 libtool libuchardet0 libuv1 libwebp6 libx11-6
libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6
libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libz3-4
libzzip-0-13 lynx lynx-common m4 man-db mime-support ninja-build po-debconf
poppler-data preview-latex-style procps python3 python3-minimal python3.8
python3.8-minimal readline-common sensible-utils t1utils tex-common
texlive-base texlive-binaries texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures ucf x11-common xdg-utils
zlib1g-dev
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 180 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/192 MB of archives.
After this operation, 1003 MB of additional disk space will be used.
Selecting previously unselected package bsdextrautils.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 10543 files and directories currently installed.)
Preparing to unpack .../0-bsdextrautils_2.36-1_amd64.deb ...
Unpacking bsdextrautils (2.36-1) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../1-libuchardet0_0.0.7-1_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../2-groff-base_1.22.4-5_amd64.deb ...
Unpacking groff-base (1.22.4-5) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../3-libpipeline1_1.5.2-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.2-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../4-man-db_2.9.3-2_amd64.deb ...
Unpacking man-db (2.9.3-2) ...
Selecting previously unselected package poppler-data.
Preparing to unpack .../5-poppler-data_0.4.9-2_all.deb ...
Unpacking poppler-data (0.4.9-2) ...
Selecting previously unselected package libssl1.1:amd64.
Preparing to unpack .../6-libssl1.1_1.1.1g-1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1g-1) ...
Selecting previously unselected package libpython3.8-minimal:amd64.
Preparing to unpack .../7-libpython3.8-minimal_3.8.5-1_amd64.deb ...
Unpacking libpython3.8-minimal:amd64 (3.8.5-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../8-libexpat1_2.2.9-1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.9-1) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../9-python3.8-minimal_3.8.5-1_amd64.deb ...
Unpacking python3.8-minimal (3.8.5-1) ...
Setting up libssl1.1:amd64 (1.1.1g-1) ...
Setting up libpython3.8-minimal:amd64 (3.8.5-1) ...
Setting up libexpat1:amd64 (2.2.9-1) ...
Setting up python3.8-minimal (3.8.5-1) ...
Selecting previously unselected package python3-minimal.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11918 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.8.2-3_amd64.deb ...
Unpacking python3-minimal (3.8.2-3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../1-mime-support_3.64_all.deb ...
Unpacking mime-support (3.64) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../2-libmpdec2_2.4.2-3_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-3) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../3-readline-common_8.0-4_all.deb ...
Unpacking readline-common (8.0-4) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../4-libreadline8_8.0-4_amd64.deb ...
Unpacking libreadline8:amd64 (8.0-4) ...
Selecting previously unselected package libpython3.8-stdlib:amd64.
Preparing to unpack .../5-libpython3.8-stdlib_3.8.5-1_amd64.deb ...
Unpacking libpython3.8-stdlib:amd64 (3.8.5-1) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../6-python3.8_3.8.5-1_amd64.deb ...
Unpacking python3.8 (3.8.5-1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../7-libpython3-stdlib_3.8.2-3_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.8.2-3) ...
Setting up python3-minimal (3.8.2-3) ...
Selecting previously unselected package python3.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12343 files and directories currently installed.)
Preparing to unpack .../000-python3_3.8.2-3_amd64.deb ...
Unpacking python3 (3.8.2-3) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../001-sensible-utils_0.0.12+nmu1_all.deb ...
Unpacking sensible-utils (0.0.12+nmu1) ...
Selecting previously unselected package ucf.
Preparing to unpack .../002-ucf_3.0043_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0043) ...
Selecting previously unselected package tex-common.
Preparing to unpack .../003-tex-common_6.15_all.deb ...
Unpacking tex-common (6.15) ...
Selecting previously unselected package libprocps8:amd64.
Preparing to unpack .../004-libprocps8_2%3a3.3.16-5_amd64.deb ...
Unpacking libprocps8:amd64 (2:3.3.16-5) ...
Selecting previously unselected package procps.
Preparing to unpack .../005-procps_2%3a3.3.16-5_amd64.deb ...
Unpacking procps (2:3.3.16-5) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../006-libmagic-mgc_1%3a5.38-5_amd64.deb ...
Unpacking libmagic-mgc (1:5.38-5) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../007-libmagic1_1%3a5.38-5_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.38-5) ...
Selecting previously unselected package file.
Preparing to unpack .../008-file_1%3a5.38-5_amd64.deb ...
Unpacking file (1:5.38-5) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../009-gettext-base_0.19.8.1-10_amd64.deb ...
Unpacking gettext-base (0.19.8.1-10) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../010-libsigsegv2_2.12-2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../011-m4_1.4.18-4_amd64.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../012-autoconf_2.69-11.1_all.deb ...
Unpacking autoconf (2.69-11.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../013-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../014-automake_1%3a1.16.2-3_all.deb ...
Unpacking automake (1:1.16.2-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../015-autopoint_0.19.8.1-10_all.deb ...
Unpacking autopoint (0.19.8.1-10) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../016-cmake-data_3.16.3-3_all.deb ...
Unpacking cmake-data (3.16.3-3) ...
Selecting previously unselected package libicu67:amd64.
Preparing to unpack .../017-libicu67_67.1-3_amd64.deb ...
Unpacking libicu67:amd64 (67.1-3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../018-libxml2_2.9.10+dfsg-5+b1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-5+b1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../019-libarchive13_3.4.3-1+b1_amd64.deb ...
Unpacking libarchive13:amd64 (3.4.3-1+b1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../020-libbrotli1_1.0.7-7_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.7-7) ...
Selecting previously unselected package libcom-err2:amd64.
Preparing to unpack .../021-libcom-err2_1.45.6-1_amd64.deb ...
Unpacking libcom-err2:amd64 (1.45.6-1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../022-libkrb5support0_1.17-10_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.17-10) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../023-libk5crypto3_1.17-10_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.17-10) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../024-libkeyutils1_1.6.1-2_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6.1-2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../025-libkrb5-3_1.17-10_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.17-10) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../026-libgssapi-krb5-2_1.17-10_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.17-10) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../027-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../028-libsasl2-2_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../029-libldap-common_2.4.50+dfsg-1_all.deb ...
Unpacking libldap-common (2.4.50+dfsg-1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../030-libldap-2.4-2_2.4.50+dfsg-1+b1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.50+dfsg-1+b1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../031-libnghttp2-14_1.41.0-2_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.41.0-2) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../032-libpsl5_0.21.0-1.1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1.1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../033-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../034-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../035-libcurl4_7.68.0-1+b1_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1+b1) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../036-libjsoncpp1_1.7.4-3.1_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3.1) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../037-librhash0_1.4.0-1_amd64.deb ...
Unpacking librhash0:amd64 (1.4.0-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../038-libuv1_1.38.0-3_amd64.deb ...
Unpacking libuv1:amd64 (1.38.0-3) ...
Selecting previously unselected package cmake.
Preparing to unpack .../039-cmake_3.16.3-3_amd64.deb ...
Unpacking cmake (3.16.3-3) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../040-fonts-dejavu-core_2.37-2_all.deb ...
Unpacking fonts-dejavu-core (2.37-2) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../041-libbsd0_0.10.0-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.10.0-1) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../042-libidn11_1.33-2.4_amd64.deb ...
Unpacking libidn11:amd64 (1.33-2.4) ...
Selecting previously unselected package lynx-common.
Preparing to unpack .../043-lynx-common_2.9.0dev.5-1_all.deb ...
Unpacking lynx-common (2.9.0dev.5-1) ...
Selecting previously unselected package lynx.
Preparing to unpack .../044-lynx_2.9.0dev.5-1_amd64.deb ...
Unpacking lynx (2.9.0dev.5-1) ...
Selecting previously unselected package cppreference-doc-en-html.
Preparing to unpack .../045-cppreference-doc-en-html_20170409-2_all.deb ...
Unpacking cppreference-doc-en-html (20170409-2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../046-libtool_2.4.6-14_all.deb ...
Unpacking libtool (2.4.6-14) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../047-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../048-libdebhelper-perl_13.2_all.deb ...
Unpacking libdebhelper-perl (13.2) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../049-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../050-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../051-libfile-stripnondeterminism-perl_1.9.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.9.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../052-dh-strip-nondeterminism_1.9.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.9.0-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../053-libelf1_0.180-1_amd64.deb ...
Unpacking libelf1:amd64 (0.180-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../054-dwz_0.13-5_amd64.deb ...
Unpacking dwz (0.13-5) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../055-libglib2.0-0_2.64.4-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.4-1) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../056-libcroco3_0.6.13-1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.13-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../057-gettext_0.19.8.1-10_amd64.deb ...
Unpacking gettext (0.19.8.1-10) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../058-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../059-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../060-debhelper_13.2_all.deb ...
Unpacking debhelper (13.2) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../061-libedit2_3.1-20191231-1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20191231-1) ...
Selecting previously unselected package libz3-4:amd64.
Preparing to unpack .../062-libz3-4_4.8.8-1_amd64.deb ...
Unpacking libz3-4:amd64 (4.8.8-1) ...
Selecting previously unselected package libllvm9:amd64.
Preparing to unpack .../063-libllvm9_1%3a9.0.1-13_amd64.deb ...
Unpacking libllvm9:amd64 (1:9.0.1-13) ...
Selecting previously unselected package libclang1-9.
Preparing to unpack .../064-libclang1-9_1%3a9.0.1-13_amd64.deb ...
Unpacking libclang1-9 (1:9.0.1-13) ...
Selecting previously unselected package doxygen.
Preparing to unpack .../065-doxygen_1.8.18-1_amd64.deb ...
Unpacking doxygen (1.8.18-1) ...
Selecting previously unselected package libpng16-16:amd64.
Preparing to unpack .../066-libpng16-16_1.6.37-2_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.37-2) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../067-libfreetype6_2.10.2+dfsg-3_amd64.deb ...
Unpacking libfreetype6:amd64 (2.10.2+dfsg-3) ...
Selecting previously unselected package fonts-urw-base35.
Preparing to unpack .../068-fonts-urw-base35_20170801.1-3_all.deb ...
Unpacking fonts-urw-base35 (20170801.1-3) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../069-fontconfig-config_2.13.1-4.2_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../070-libfontconfig1_2.13.1-4.2_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-4.2) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../071-fontconfig_2.13.1-4.2_amd64.deb ...
Unpacking fontconfig (2.13.1-4.2) ...
Selecting previously unselected package fonts-lmodern.
Preparing to unpack .../072-fonts-lmodern_2.004.5-6_all.deb ...
Unpacking fonts-lmodern (2.004.5-6) ...
Selecting previously unselected package libgs9-common.
Preparing to unpack .../073-libgs9-common_9.52~dfsg-1_all.deb ...
Unpacking libgs9-common (9.52~dfsg-1) ...
Selecting previously unselected package libavahi-common-data:amd64.
Preparing to unpack .../074-libavahi-common-data_0.8-3_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.8-3) ...
Selecting previously unselected package libavahi-common3:amd64.
Preparing to unpack .../075-libavahi-common3_0.8-3_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.8-3) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../076-libdbus-1-3_1.12.20-1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.20-1) ...
Selecting previously unselected package libavahi-client3:amd64.
Preparing to unpack .../077-libavahi-client3_0.8-3_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.8-3) ...
Selecting previously unselected package libcups2:amd64.
Preparing to unpack .../078-libcups2_2.3.3-1_amd64.deb ...
Unpacking libcups2:amd64 (2.3.3-1) ...
Selecting previously unselected package libijs-0.35:amd64.
Preparing to unpack .../079-libijs-0.35_0.35-15_amd64.deb ...
Unpacking libijs-0.35:amd64 (0.35-15) ...
Selecting previously unselected package libjbig2dec0:amd64.
Preparing to unpack .../080-libjbig2dec0_0.18+20200417-1_amd64.deb ...
Unpacking libjbig2dec0:amd64 (0.18+20200417-1) ...
Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../081-libjpeg62-turbo_1%3a2.0.5-1_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:2.0.5-1) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../082-liblcms2-2_2.9-4+b1_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.9-4+b1) ...
Selecting previously unselected package libopenjp2-7:amd64.
Preparing to unpack .../083-libopenjp2-7_2.3.1-1_amd64.deb ...
Unpacking libopenjp2-7:amd64 (2.3.1-1) ...
Selecting previously unselected package libpaper1:amd64.
Preparing to unpack .../084-libpaper1_1.1.28+b1_amd64.deb ...
Unpacking libpaper1:amd64 (1.1.28+b1) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../085-libjbig0_2.1-3.1+b2_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1+b2) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../086-libwebp6_0.6.1-2+b1_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2+b1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../087-libtiff5_4.1.0+git191117-2_amd64.deb ...
Unpacking libtiff5:amd64 (4.1.0+git191117-2) ...
Selecting previously unselected package libgs9:amd64.
Preparing to unpack .../088-libgs9_9.52~dfsg-1_amd64.deb ...
Unpacking libgs9:amd64 (9.52~dfsg-1) ...
Selecting previously unselected package ghostscript.
Preparing to unpack .../089-ghostscript_9.52~dfsg-1_amd64.deb ...
Unpacking ghostscript (9.52~dfsg-1) ...
Selecting previously unselected package googletest.
Preparing to unpack .../090-googletest_1.10.0-3_all.deb ...
Unpacking googletest (1.10.0-3) ...
Selecting previously unselected package libann0.
Preparing to unpack .../091-libann0_1.1.2+doc-7_amd64.deb ...
Unpacking libann0 (1.1.2+doc-7) ...
Selecting previously unselected package libcdt5:amd64.
Preparing to unpack .../092-libcdt5_2.42.2-4_amd64.deb ...
Unpacking libcdt5:amd64 (2.42.2-4) ...
Selecting previously unselected package libcgraph6:amd64.
Preparing to unpack .../093-libcgraph6_2.42.2-4_amd64.deb ...
Unpacking libcgraph6:amd64 (2.42.2-4) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../094-libxau6_1%3a1.0.8-1+b2_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1+b2) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../095-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../096-libxcb1_1.14-2_amd64.deb ...
Unpacking libxcb1:amd64 (1.14-2) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../097-libx11-data_2%3a1.6.9-2_all.deb ...
Unpacking libx11-data (2:1.6.9-2) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../098-libx11-6_2%3a1.6.9-2+b1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.9-2+b1) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../099-libxpm4_1%3a3.5.12-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../100-libgd3_2.3.0-2_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2) ...
Selecting previously unselected package libgts-0.7-5:amd64.
Preparing to unpack .../101-libgts-0.7-5_0.7.6+darcs121130-4+b1_amd64.deb ...
Unpacking libgts-0.7-5:amd64 (0.7.6+darcs121130-4+b1) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../102-libpixman-1-0_0.36.0-1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.36.0-1) ...
Selecting previously unselected package libxcb-render0:amd64.
Preparing to unpack .../103-libxcb-render0_1.14-2_amd64.deb ...
Unpacking libxcb-render0:amd64 (1.14-2) ...
Selecting previously unselected package libxcb-shm0:amd64.
Preparing to unpack .../104-libxcb-shm0_1.14-2_amd64.deb ...
Unpacking libxcb-shm0:amd64 (1.14-2) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../105-libxext6_2%3a1.3.3-1+b2_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1+b2) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../106-libxrender1_1%3a0.9.10-1_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.10-1) ...
Selecting previously unselected package libcairo2:amd64.
Preparing to unpack .../107-libcairo2_1.16.0-4_amd64.deb ...
Unpacking libcairo2:amd64 (1.16.0-4) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../108-libltdl7_2.4.6-14_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-14) ...
Selecting previously unselected package libfribidi0:amd64.
Preparing to unpack .../109-libfribidi0_1.0.8-2_amd64.deb ...
Unpacking libfribidi0:amd64 (1.0.8-2) ...
Selecting previously unselected package libgraphite2-3:amd64.
Preparing to unpack .../110-libgraphite2-3_1.3.14-1_amd64.deb ...
Unpacking libgraphite2-3:amd64 (1.3.14-1) ...
Selecting previously unselected package libharfbuzz0b:amd64.
Preparing to unpack .../111-libharfbuzz0b_2.6.7-1_amd64.deb ...
Unpacking libharfbuzz0b:amd64 (2.6.7-1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../112-libthai-data_0.1.28-3_all.deb ...
Unpacking libthai-data (0.1.28-3) ...
Selecting previously unselected package libdatrie1:amd64.
Preparing to unpack .../113-libdatrie1_0.2.12-3_amd64.deb ...
Unpacking libdatrie1:amd64 (0.2.12-3) ...
Selecting previously unselected package libthai0:amd64.
Preparing to unpack .../114-libthai0_0.1.28-3_amd64.deb ...
Unpacking libthai0:amd64 (0.1.28-3) ...
Selecting previously unselected package libpango-1.0-0:amd64.
Preparing to unpack .../115-libpango-1.0-0_1.44.7-4_amd64.deb ...
Unpacking libpango-1.0-0:amd64 (1.44.7-4) ...
Selecting previously unselected package libpangoft2-1.0-0:amd64.
Preparing to unpack .../116-libpangoft2-1.0-0_1.44.7-4_amd64.deb ...
Unpacking libpangoft2-1.0-0:amd64 (1.44.7-4) ...
Selecting previously unselected package libpangocairo-1.0-0:amd64.
Preparing to unpack .../117-libpangocairo-1.0-0_1.44.7-4_amd64.deb ...
Unpacking libpangocairo-1.0-0:amd64 (1.44.7-4) ...
Selecting previously unselected package libpathplan4:amd64.
Preparing to unpack .../118-libpathplan4_2.42.2-4_amd64.deb ...
Unpacking libpathplan4:amd64 (2.42.2-4) ...
Selecting previously unselected package libgvc6.
Preparing to unpack .../119-libgvc6_2.42.2-4_amd64.deb ...
Unpacking libgvc6 (2.42.2-4) ...
Selecting previously unselected package libgvpr2:amd64.
Preparing to unpack .../120-libgvpr2_2.42.2-4_amd64.deb ...
Unpacking libgvpr2:amd64 (2.42.2-4) ...
Selecting previously unselected package liblab-gamut1:amd64.
Preparing to unpack .../121-liblab-gamut1_2.42.2-4_amd64.deb ...
Unpacking liblab-gamut1:amd64 (2.42.2-4) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../122-x11-common_1%3a7.7+20_all.deb ...
Unpacking x11-common (1:7.7+20) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../123-libice6_2%3a1.0.9-2_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.9-2) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../124-libsm6_2%3a1.2.3-1_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.3-1) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../125-libxt6_1%3a1.1.5-1+b3_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.5-1+b3) ...
Selecting previously unselected package libxmu6:amd64.
Preparing to unpack .../126-libxmu6_2%3a1.1.2-2+b3_amd64.deb ...
Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ...
Selecting previously unselected package libxaw7:amd64.
Preparing to unpack .../127-libxaw7_2%3a1.0.13-1+b2_amd64.deb ...
Unpacking libxaw7:amd64 (2:1.0.13-1+b2) ...
Selecting previously unselected package graphviz.
Preparing to unpack .../128-graphviz_2.42.2-4_amd64.deb ...
Unpacking graphviz (2.42.2-4) ...
Selecting previously unselected package libapache-pom-java.
Preparing to unpack .../129-libapache-pom-java_18-1_all.deb ...
Unpacking libapache-pom-java (18-1) ...
Selecting previously unselected package libbenchmark1:amd64.
Preparing to unpack .../130-libbenchmark1_1.5.1-1_amd64.deb ...
Unpacking libbenchmark1:amd64 (1.5.1-1) ...
Selecting previously unselected package libbenchmark-dev.
Preparing to unpack .../131-libbenchmark-dev_1.5.1-1_amd64.deb ...
Unpacking libbenchmark-dev (1.5.1-1) ...
Selecting previously unselected package libboost1.71-dev:amd64.
Preparing to unpack .../132-libboost1.71-dev_1.71.0-6+b2_amd64.deb ...
Unpacking libboost1.71-dev:amd64 (1.71.0-6+b2) ...
Selecting previously unselected package libboost-dev:amd64.
Preparing to unpack .../133-libboost-dev_1.71.0.3_amd64.deb ...
Unpacking libboost-dev:amd64 (1.71.0.3) ...
Selecting previously unselected package libbz2-dev:amd64.
Preparing to unpack .../134-libbz2-dev_1.0.8-4_amd64.deb ...
Unpacking libbz2-dev:amd64 (1.0.8-4) ...
Selecting previously unselected package libcereal-dev.
Preparing to unpack .../135-libcereal-dev_1.3.0-3_all.deb ...
Unpacking libcereal-dev (1.3.0-3) ...
Selecting previously unselected package libcommons-parent-java.
Preparing to unpack .../136-libcommons-parent-java_43-1_all.deb ...
Unpacking libcommons-parent-java (43-1) ...
Selecting previously unselected package libcommons-logging-java.
Preparing to unpack .../137-libcommons-logging-java_1.2-2_all.deb ...
Unpacking libcommons-logging-java (1.2-2) ...
Selecting previously unselected package libfontbox-java.
Preparing to unpack .../138-libfontbox-java_1%3a1.8.16-2_all.deb ...
Unpacking libfontbox-java (1:1.8.16-2) ...
Selecting previously unselected package libgtest-dev:amd64.
Preparing to unpack .../139-libgtest-dev_1.10.0-3_amd64.deb ...
Unpacking libgtest-dev:amd64 (1.10.0-3) ...
Selecting previously unselected package libkpathsea6:amd64.
Preparing to unpack .../140-libkpathsea6_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking libkpathsea6:amd64 (2020.20200327.54578-4+b1) ...
Selecting previously unselected package libpaper-utils.
Preparing to unpack .../141-libpaper-utils_1.1.28+b1_amd64.deb ...
Unpacking libpaper-utils (1.1.28+b1) ...
Selecting previously unselected package libpdfbox-java.
Preparing to unpack .../142-libpdfbox-java_1%3a1.8.16-2_all.deb ...
Unpacking libpdfbox-java (1:1.8.16-2) ...
Selecting previously unselected package libptexenc1:amd64.
Preparing to unpack .../143-libptexenc1_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking libptexenc1:amd64 (2020.20200327.54578-4+b1) ...
Selecting previously unselected package librange-v3-dev.
Preparing to unpack .../144-librange-v3-dev_0.10.0-1_all.deb ...
Unpacking librange-v3-dev (0.10.0-1) ...
Selecting previously unselected package libsynctex2:amd64.
Preparing to unpack .../145-libsynctex2_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking libsynctex2:amd64 (2020.20200327.54578-4+b1) ...
Selecting previously unselected package libteckit0:amd64.
Preparing to unpack .../146-libteckit0_2.5.8+ds2-5_amd64.deb ...
Unpacking libteckit0:amd64 (2.5.8+ds2-5) ...
Selecting previously unselected package libtexlua53:amd64.
Preparing to unpack .../147-libtexlua53_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking libtexlua53:amd64 (2020.20200327.54578-4+b1) ...
Selecting previously unselected package libtexluajit2:amd64.
Preparing to unpack .../148-libtexluajit2_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking libtexluajit2:amd64 (2020.20200327.54578-4+b1) ...
Selecting previously unselected package libxi6:amd64.
Preparing to unpack .../149-libxi6_2%3a1.7.10-1_amd64.deb ...
Unpacking libxi6:amd64 (2:1.7.10-1) ...
Selecting previously unselected package libzzip-0-13:amd64.
Preparing to unpack .../150-libzzip-0-13_0.13.62-3.2_amd64.deb ...
Unpacking libzzip-0-13:amd64 (0.13.62-3.2) ...
Selecting previously unselected package ninja-build.
Preparing to unpack .../151-ninja-build_1.10.0-2_amd64.deb ...
Unpacking ninja-build (1.10.0-2) ...
Selecting previously unselected package preview-latex-style.
Preparing to unpack .../152-preview-latex-style_11.91-2_all.deb ...
Unpacking preview-latex-style (11.91-2) ...
Selecting previously unselected package t1utils.
Preparing to unpack .../153-t1utils_1.41-4_amd64.deb ...
Unpacking t1utils (1.41-4) ...
Selecting previously unselected package texlive-binaries.
Preparing to unpack .../154-texlive-binaries_2020.20200327.54578-4+b1_amd64.deb ...
Unpacking texlive-binaries (2020.20200327.54578-4+b1) ...
Selecting previously unselected package xdg-utils.
Preparing to unpack .../155-xdg-utils_1.1.3-2_all.deb ...
Unpacking xdg-utils (1.1.3-2) ...
Selecting previously unselected package texlive-base.
Preparing to unpack .../156-texlive-base_2020.20200629-1_all.deb ...
Unpacking texlive-base (2020.20200629-1) ...
Selecting previously unselected package texlive-latex-base.
Preparing to unpack .../157-texlive-latex-base_2020.20200629-1_all.deb ...
Unpacking texlive-latex-base (2020.20200629-1) ...
Selecting previously unselected package texlive-latex-recommended.
Preparing to unpack .../158-texlive-latex-recommended_2020.20200629-1_all.deb ...
Unpacking texlive-latex-recommended (2020.20200629-1) ...
Selecting previously unselected package texlive-pictures.
Preparing to unpack .../159-texlive-pictures_2020.20200629-1_all.deb ...
Unpacking texlive-pictures (2020.20200629-1) ...
Selecting previously unselected package texlive-latex-extra.
Preparing to unpack .../160-texlive-latex-extra_2020.20200629-1_all.deb ...
Unpacking texlive-latex-extra (2020.20200629-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../161-zlib1g-dev_1%3a1.2.11.dfsg-2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
Setting up libpipeline1:amd64 (1.5.2-2) ...
Setting up libgraphite2-3:amd64 (1.3.14-1) ...
Setting up liblcms2-2:amd64 (2.9-4+b1) ...
Setting up libpixman-1-0:amd64 (0.36.0-1) ...
Setting up libxau6:amd64 (1:1.0.8-1+b2) ...
Setting up libkeyutils1:amd64 (1.6.1-2) ...
Setting up libpsl5:amd64 (0.21.0-1.1) ...
Setting up mime-support (3.64) ...
Setting up bsdextrautils (2.36-1) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:amd64 (67.1-3) ...
Setting up libdatrie1:amd64 (0.2.12-3) ...
Setting up libmagic-mgc (1:5.38-5) ...
Setting up libtexlua53:amd64 (2020.20200327.54578-4+b1) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:amd64 (2.64.4-1) ...
No schema files found: doing nothing.
Setting up libijs-0.35:amd64 (0.35-15) ...
Setting up libtexluajit2:amd64 (2020.20200327.54578-4+b1) ...
Setting up libdebhelper-perl (13.2) ...
Setting up libbrotli1:amd64 (1.0.7-7) ...
Setting up libfontbox-java (1:1.8.16-2) ...
Setting up libboost1.71-dev:amd64 (1.71.0-6+b2) ...
Setting up liblab-gamut1:amd64 (2.42.2-4) ...
Setting up libbenchmark1:amd64 (1.5.1-1) ...
Setting up x11-common (1:7.7+20) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
Setting up libnghttp2-14:amd64 (1.41.0-2) ...
Setting up libmagic1:amd64 (1:5.38-5) ...
Setting up libcereal-dev (1.3.0-3) ...
Setting up gettext-base (0.19.8.1-10) ...
Setting up libzzip-0-13:amd64 (0.13.62-3.2) ...
Setting up libcom-err2:amd64 (1.45.6-1) ...
Setting up file (1:5.38-5) ...
Setting up fonts-urw-base35 (20170801.1-3) ...
Setting up libldap-common (2.4.50+dfsg-1) ...
Setting up googletest (1.10.0-3) ...
Setting up libjbig0:amd64 (2.1-3.1+b2) ...
Setting up ninja-build (1.10.0-2) ...
Setting up poppler-data (0.4.9-2) ...
Setting up libkrb5support0:amd64 (1.17-10) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Setting up libgts-0.7-5:amd64 (0.7.6+darcs121130-4+b1) ...
Setting up autotools-dev (20180224.1) ...
Setting up libz3-4:amd64 (4.8.8-1) ...
Setting up libuv1:amd64 (1.38.0-3) ...
Setting up libjpeg62-turbo:amd64 (1:2.0.5-1) ...
Setting up libx11-data (2:1.6.9-2) ...
Setting up libjbig2dec0:amd64 (0.18+20200417-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libidn11:amd64 (1.33-2.4) ...
Setting up libteckit0:amd64 (2.5.8+ds2-5) ...
Setting up libpathplan4:amd64 (2.42.2-4) ...
Setting up libapache-pom-java (18-1) ...
Setting up libavahi-common-data:amd64 (0.8-3) ...
Setting up libann0 (1.1.2+doc-7) ...
Setting up libdbus-1-3:amd64 (1.12.20-1) ...
Setting up libsigsegv2:amd64 (2.12-2) ...
Setting up libfribidi0:amd64 (1.0.8-2) ...
Setting up t1utils (1.41-4) ...
Setting up libpng16-16:amd64 (1.6.37-2) ...
Setting up autopoint (0.19.8.1-10) ...
Setting up libwebp6:amd64 (0.6.1-2+b1) ...
Setting up fonts-dejavu-core (2.37-2) ...
Setting up libk5crypto3:amd64 (1.17-10) ...
Setting up lynx-common (2.9.0dev.5-1) ...
Setting up libltdl7:amd64 (2.4.6-14) ...
Setting up libkpathsea6:amd64 (2020.20200327.54578-4+b1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
Setting up librange-v3-dev (0.10.0-1) ...
Setting up sensible-utils (0.0.12+nmu1) ...
Setting up librhash0:amd64 (1.4.0-1) ...
Setting up libuchardet0:amd64 (0.0.7-1) ...
Setting up fonts-lmodern (2.004.5-6) ...
Setting up libopenjp2-7:amd64 (2.3.1-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libthai-data (0.1.28-3) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up cmake-data (3.16.3-3) ...
Setting up libcdt5:amd64 (2.42.2-4) ...
Setting up libkrb5-3:amd64 (1.17-10) ...
Setting up libcgraph6:amd64 (2.42.2-4) ...
Setting up libboost-dev:amd64 (1.71.0.3) ...
Setting up libtiff5:amd64 (4.1.0+git191117-2) ...
Setting up libmpdec2:amd64 (2.4.2-3) ...
Setting up libbsd0:amd64 (0.10.0-1) ...
Setting up libelf1:amd64 (0.180-1) ...
Setting up readline-common (8.0-4) ...
Setting up libxml2:amd64 (2.9.10+dfsg-5+b1) ...
Setting up xdg-utils (1.1.3-2) ...
Setting up libprocps8:amd64 (2:3.3.16-5) ...
Setting up libjsoncpp1:amd64 (1.7.4-3.1) ...
Setting up libsynctex2:amd64 (2020.20200327.54578-4+b1) ...
Setting up libbz2-dev:amd64 (1.0.8-4) ...
Setting up libgs9-common (9.52~dfsg-1) ...
Setting up libfile-stripnondeterminism-perl (1.9.0-1) ...
Setting up libice6:amd64 (2:1.0.9-2) ...
Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
Setting up libxcb1:amd64 (1.14-2) ...
Setting up libpdfbox-java (1:1.8.16-2) ...
Setting up libgtest-dev:amd64 (1.10.0-3) ...
Setting up libtool (2.4.6-14) ...
Setting up libarchive13:amd64 (3.4.3-1+b1) ...
Setting up libxcb-render0:amd64 (1.14-2) ...
Setting up libedit2:amd64 (3.1-20191231-1) ...
Setting up libreadline8:amd64 (8.0-4) ...
Setting up libbenchmark-dev (1.5.1-1) ...
Setting up libcommons-parent-java (43-1) ...
Setting up libavahi-common3:amd64 (0.8-3) ...
Setting up libcommons-logging-java (1.2-2) ...
Setting up libldap-2.4-2:amd64 (2.4.50+dfsg-1+b1) ...
Setting up m4 (1.4.18-4) ...
Setting up libxcb-shm0:amd64 (1.14-2) ...
Setting up libthai0:amd64 (0.1.28-3) ...
Setting up libptexenc1:amd64 (2020.20200327.54578-4+b1) ...
Setting up libfreetype6:amd64 (2.10.2+dfsg-3) ...
Setting up libgssapi-krb5-2:amd64 (1.17-10) ...
Setting up libcroco3:amd64 (0.6.13-1) ...
Setting up ucf (3.0043) ...
Setting up autoconf (2.69-11.1) ...
Setting up dh-strip-nondeterminism (1.9.0-1) ...
Setting up libgvpr2:amd64 (2.42.2-4) ...
Setting up dwz (0.13-5) ...
Setting up groff-base (1.22.4-5) ...
Setting up procps (2:3.3.16-5) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode
Setting up libcurl4:amd64 (7.68.0-1+b1) ...
Setting up libx11-6:amd64 (2:1.6.9-2+b1) ...
Setting up libharfbuzz0b:amd64 (2.6.7-1) ...
Setting up lynx (2.9.0dev.5-1) ...
update-alternatives: using /usr/bin/lynx to provide /usr/bin/www-browser (www-browser) in auto mode
Setting up libpython3.8-stdlib:amd64 (3.8.5-1) ...
Setting up python3.8 (3.8.5-1) ...
Setting up libsm6:amd64 (2:1.2.3-1) ...
Setting up libavahi-client3:amd64 (0.8-3) ...
Setting up libllvm9:amd64 (1:9.0.1-13) ...
Setting up libpython3-stdlib:amd64 (3.8.2-3) ...
Setting up automake (1:1.16.2-3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libpaper1:amd64 (1.1.28+b1) ...
Creating config file /etc/papersize with new version
Setting up gettext (0.19.8.1-10) ...
Setting up libxpm4:amd64 (1:3.5.12-1) ...
Setting up libxrender1:amd64 (1:0.9.10-1) ...
Setting up libclang1-9 (1:9.0.1-13) ...
Setting up fontconfig-config (2.13.1-4.2) ...
Setting up libxext6:amd64 (2:1.3.3-1+b2) ...
Setting up python3 (3.8.2-3) ...
Setting up libpaper-utils (1.1.28+b1) ...
Setting up man-db (2.9.3-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up tex-common (6.15) ...
update-language: texlive-base not installed and configured, doing nothing!
Setting up doxygen (1.8.18-1) ...
Setting up cppreference-doc-en-html (20170409-2) ...
Setting up libxt6:amd64 (1:1.1.5-1+b3) ...
Setting up libcups2:amd64 (2.3.3-1) ...
Setting up cmake (3.16.3-3) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2) ...
Setting up fontconfig (2.13.1-4.2) ...
Regenerating fonts cache... done.
Setting up libxmu6:amd64 (2:1.1.2-2+b3) ...
Setting up libgs9:amd64 (9.52~dfsg-1) ...
Setting up libxi6:amd64 (2:1.7.10-1) ...
Setting up po-debconf (1.0.21) ...
Setting up preview-latex-style (11.91-2) ...
Setting up libpango-1.0-0:amd64 (1.44.7-4) ...
Setting up libxaw7:amd64 (2:1.0.13-1+b2) ...
Setting up ghostscript (9.52~dfsg-1) ...
Setting up libcairo2:amd64 (1.16.0-4) ...
Setting up libgd3:amd64 (2.3.0-2) ...
Setting up texlive-binaries (2020.20200327.54578-4+b1) ...
update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode
update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode
Setting up libpangoft2-1.0-0:amd64 (1.44.7-4) ...
Setting up texlive-base (2020.20200629-1) ...
tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps
tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg
tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper
tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/config/pdftexconfig.tex
Setting up libpangocairo-1.0-0:amd64 (1.44.7-4) ...
Setting up texlive-latex-base (2020.20200629-1) ...
Setting up texlive-latex-recommended (2020.20200629-1) ...
Setting up libgvc6 (2.42.2-4) ...
Setting up texlive-pictures (2020.20200629-1) ...
Setting up graphviz (2.42.2-4) ...
Setting up texlive-latex-extra (2020.20200629-1) ...
Setting up debhelper (13.2) ...
Setting up dh-autoreconf (19) ...
Processing triggers for libc-bin (2.31-2) ...
Processing triggers for tex-common (6.15) ...
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... done.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Reading package lists...
Building dependency tree...
Reading state information...
debian-ports-archive-keyring is already the newest version (2019.11.05).
eatmydata is already the newest version (105-9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
I: Copying back the cached apt archive contents
I: Building the package
I: Running cd /build/seqan3-3.0.1+ds/ && env PATH="/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc 
dpkg-buildpackage: info: source package seqan3
dpkg-buildpackage: info: source version 3.0.1+ds-11
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Michael R. Crusoe <crusoe@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/seqan3-3.0.1+ds'
dh_auto_clean --builddirectory=build_unit --sourcedirectory=test/unit --buildsystem=cmake+ninja || /bin/true
dh_auto_clean --builddirectory=build_header --sourcedirectory=test/header --buildsystem=cmake+ninja || /bin/true
dh_auto_clean --builddirectory=build_snippet --sourcedirectory=test/snippet --buildsystem=cmake+ninja || /bin/true
dh_auto_clean --builddirectory=build_performance --sourcedirectory=test/performance --buildsystem=cmake+ninja || /bin/true
dh_auto_clean --builddirectory=build_documentation --sourcedirectory=test/documentation --buildsystem=cmake+ninja || /bin/true
make[1]: Leaving directory '/build/seqan3-3.0.1+ds'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/libseqan3-dev.substvars debian/seqan3-doc.substvars debian/files
rm -fr -- debian/libseqan3-dev/ debian/tmp/ debian/seqan3-doc/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building seqan3 using existing ./seqan3_3.0.1+ds.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building seqan3 in seqan3_3.0.1+ds-11.debian.tar.xz
dpkg-source: info: building seqan3 in seqan3_3.0.1+ds-11.dsc
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/seqan3-3.0.1+ds'
dh_auto_configure --builddirectory=build_unit --sourcedirectory=test/unit --buildsystem=cmake+ninja -- -DCCACHE_PROGRAM:FILEPATH=
install -d build_unit
cd build_unit && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCCACHE_PROGRAM:FILEPATH= ../test/unit
-- The CXX compiler identification is GNU 10.2.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding SeqAn3 and checking requirements:
-- SeqAn3 include dir found: /build/seqan3-3.0.1+ds/include
-- Detected as running from a repository checkout…
-- …adding submodule include: /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include
-- C++ Standard-17 support: builtin
-- C++ Concepts support: builtin
-- C++ Filesystem header: <filesystem>
-- C++ Filesystem library: builtin
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Thread support: via -pthread
-- Required dependency: Range-V3 found.
-- Required dependency: SDSL found.
-- Optional dependency: Cereal found.
-- Optional dependency: Lemon not found.
-- Optional dependency: ZLIB-1.2.11 found.
-- Optional dependency: BZip2-1.0.8 found.
-- Optional dependency: libexecinfo found.
-- SeqAn3 platform.hpp build: passed.
-- Found SeqAn3: /build/seqan3-3.0.1+ds/include
-- Finding program ccache
-- Finding program ccache - Failed
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_unit
dh_auto_configure --builddirectory=build_header --sourcedirectory=test/header --buildsystem=cmake+ninja -- -DCCACHE_PROGRAM:FILEPATH=
install -d build_header
cd build_header && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCCACHE_PROGRAM:FILEPATH= ../test/header
-- The CXX compiler identification is GNU 10.2.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding SeqAn3 and checking requirements:
-- SeqAn3 include dir found: /build/seqan3-3.0.1+ds/include
-- Detected as running from a repository checkout…
-- …adding submodule include: /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include
-- C++ Standard-17 support: builtin
-- C++ Concepts support: builtin
-- C++ Filesystem header: <filesystem>
-- C++ Filesystem library: builtin
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Thread support: via -pthread
-- Required dependency: Range-V3 found.
-- Required dependency: SDSL found.
-- Optional dependency: Cereal found.
-- Optional dependency: Lemon not found.
-- Optional dependency: ZLIB-1.2.11 found.
-- Optional dependency: BZip2-1.0.8 found.
-- Optional dependency: libexecinfo found.
-- SeqAn3 platform.hpp build: passed.
-- Found SeqAn3: /build/seqan3-3.0.1+ds/include
-- Finding program ccache
-- Finding program ccache - Failed
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_header
dh_auto_configure --builddirectory=build_snippet --sourcedirectory=test/snippet --buildsystem=cmake+ninja -- -DCCACHE_PROGRAM:FILEPATH=
install -d build_snippet
cd build_snippet && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCCACHE_PROGRAM:FILEPATH= ../test/snippet
-- The CXX compiler identification is GNU 10.2.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding SeqAn3 and checking requirements:
-- SeqAn3 include dir found: /build/seqan3-3.0.1+ds/include
-- Detected as running from a repository checkout…
-- …adding submodule include: /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include
-- C++ Standard-17 support: builtin
-- C++ Concepts support: builtin
-- C++ Filesystem header: <filesystem>
-- C++ Filesystem library: builtin
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Thread support: via -pthread
-- Required dependency: Range-V3 found.
-- Required dependency: SDSL found.
-- Optional dependency: Cereal found.
-- Optional dependency: Lemon not found.
-- Optional dependency: ZLIB-1.2.11 found.
-- Optional dependency: BZip2-1.0.8 found.
-- Optional dependency: libexecinfo found.
-- SeqAn3 platform.hpp build: passed.
-- Found SeqAn3: /build/seqan3-3.0.1+ds/include
-- Finding program ccache
-- Finding program ccache - Failed
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_snippet
dh_auto_configure --builddirectory=build_performance --sourcedirectory=test/performance --buildsystem=cmake+ninja -- -DCCACHE_PROGRAM:FILEPATH=
install -d build_performance
cd build_performance && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCCACHE_PROGRAM:FILEPATH= ../test/performance
-- The CXX compiler identification is GNU 10.2.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding SeqAn3 and checking requirements:
-- SeqAn3 include dir found: /build/seqan3-3.0.1+ds/include
-- Detected as running from a repository checkout…
-- …adding submodule include: /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include
-- C++ Standard-17 support: builtin
-- C++ Concepts support: builtin
-- C++ Filesystem header: <filesystem>
-- C++ Filesystem library: builtin
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Thread support: via -pthread
-- Required dependency: Range-V3 found.
-- Required dependency: SDSL found.
-- Optional dependency: Cereal found.
-- Optional dependency: Lemon not found.
-- Optional dependency: ZLIB-1.2.11 found.
-- Optional dependency: BZip2-1.0.8 found.
-- Optional dependency: libexecinfo found.
-- SeqAn3 platform.hpp build: passed.
-- Found SeqAn3: /build/seqan3-3.0.1+ds/include
-- Finding program ccache
-- Finding program ccache - Failed
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_performance
dh_auto_configure --builddirectory=build_documentation --sourcedirectory=test/documentation --buildsystem=cmake+ninja -- -DCCACHE_PROGRAM:FILEPATH=
install -d build_documentation
cd build_documentation && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCCACHE_PROGRAM:FILEPATH= ../test/documentation
-- Found: /build/seqan3-3.0.1+ds/include (3.0.1)
-- Searching for doxygen.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.18") found components: doxygen dot
-- Found dot tool. Enabling dot support.
-- Configuring user doc.
-- Configuring devel doc.
-- Add devel doc test.
-- Add user doc test.
-- Add dev doc test.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CCACHE_PROGRAM
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_documentation
make[1]: Leaving directory '/build/seqan3-3.0.1+ds'
rm -f debian/libseqan3-dev.debhelper.log debian/seqan3-doc.debhelper.log
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/seqan3-3.0.1+ds'
dh_auto_build --builddirectory=build_unit --sourcedirectory=test/unit --buildsystem=cmake+ninja
cd build_unit && LC_ALL=C.UTF-8 ninja -j8 -v
[1/502] cd /build/seqan3-3.0.1+ds/build_unit && /usr/bin/cmake -E make_directory /usr/src/googletest/ && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project/tmp && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project/src && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-mkdir
[2/502] cd /build/seqan3-3.0.1+ds/build_unit/gtest_project/src && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-download
[3/502] cd /build/seqan3-3.0.1+ds/build_unit && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-update
[4/502] cd /build/seqan3-3.0.1+ds/build_unit && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-patch
[5/502] cd /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build && /usr/bin/cmake -DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/build/seqan3-3.0.1+ds/build_unit -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_GMOCK=0 -DCMAKE_INSTALL_LIBDIR=/build/seqan3-3.0.1+ds/build_unit/lib/ -GNinja /usr/src/googletest/ && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-configure
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build
[6/502] cd /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-build
[1/4] /usr/lib/ccache/c++ -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DGTEST_HAS_PTHREAD=1 -std=c++11 -MD -MT googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -MF googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o.d -o googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /usr/src/googletest/googletest/src/gtest_main.cc
[2/4] /usr/lib/ccache/c++ -I/usr/src/googletest/googletest/include -I/usr/src/googletest/googletest -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=c++11 -MD -MT googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /usr/src/googletest/googletest/src/gtest-all.cc
[3/4] : && /usr/bin/cmake -E remove lib/libgtest.a && /usr/bin/ar qc lib/libgtest.a googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o && /usr/bin/ranlib lib/libgtest.a && :
[4/4] : && /usr/bin/cmake -E remove lib/libgtest_main.a && /usr/bin/ar qc lib/libgtest_main.a googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o && /usr/bin/ranlib lib/libgtest_main.a && :
[7/502] cd /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build && /usr/bin/cmake --build . --target install && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-install
[0/1] cd /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-build && /usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/cmake/GTest/GTestTargets.cmake
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/cmake/GTest/GTestTargets-none.cmake
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/cmake/GTest/GTestConfigVersion.cmake
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/cmake/GTest/GTestConfig.cmake
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-param-util.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-internal.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-port-arch.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-string.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/custom
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/custom/gtest.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/custom/gtest-port.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/custom/gtest-printers.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/custom/README.md
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-type-util.h.pump
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-filepath.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-death-test-internal.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-port.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/internal/gtest-type-util.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-param-test.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-test-part.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-spi.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-death-test.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest_pred_impl.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-matchers.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-message.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest_prod.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-typed-test.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/include/gtest/gtest-printers.h
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/libgtest.a
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/libgtest_main.a
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/pkgconfig/gtest.pc
-- Installing: /build/seqan3-3.0.1+ds/build_unit/lib/pkgconfig/gtest_main.pc
[8/502] cd /build/seqan3-3.0.1+ds/build_unit && /usr/bin/cmake -E make_directory /build/seqan3-3.0.1+ds/build_unit/CMakeFiles && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/CMakeFiles/gtest_project-complete && /usr/bin/cmake -E touch /build/seqan3-3.0.1+ds/build_unit/gtest_project/src/gtest_project-stamp/gtest_project-done
[9/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/CMakeFiles/exception_test.dir/exception_test.cpp.o -MF alignment/CMakeFiles/exception_test.dir/exception_test.cpp.o.d -o alignment/CMakeFiles/exception_test.dir/exception_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/exception_test.cpp
[10/502] : && /usr/lib/ccache/c++ -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro alignment/CMakeFiles/exception_test.dir/exception_test.cpp.o -o alignment/exception_test -pthread /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libbz2.so -lrt lib/libgtest_main.a lib/libgtest.a -lpthread && cd /build/seqan3-3.0.1+ds/build_unit/alignment && /usr/bin/cmake -D TEST_TARGET=exception_test -D TEST_EXECUTABLE=/build/seqan3-3.0.1+ds/build_unit/alignment/exception_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/build/seqan3-3.0.1+ds/build_unit/alignment -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=alignment/exception_test:: -D TEST_SUFFIX= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=exception_test_TESTS -D CTEST_FILE=/build/seqan3-3.0.1+ds/build_unit/alignment/exception_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -P /usr/share/cmake-3.16/Modules/GoogleTestAddTests.cmake
[11/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/band/CMakeFiles/static_band_test.dir/static_band_test.cpp.o -MF alignment/band/CMakeFiles/static_band_test.dir/static_band_test.cpp.o.d -o alignment/band/CMakeFiles/static_band_test.dir/static_band_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/band/static_band_test.cpp
[12/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_parallel_test.dir/align_config_parallel_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_parallel_test.dir/align_config_parallel_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_parallel_test.dir/align_config_parallel_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_parallel_test.cpp
[13/502] : && /usr/lib/ccache/c++ -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro alignment/band/CMakeFiles/static_band_test.dir/static_band_test.cpp.o -o alignment/band/static_band_test -pthread /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libbz2.so -lrt lib/libgtest_main.a lib/libgtest.a -lpthread && cd /build/seqan3-3.0.1+ds/build_unit/alignment/band && /usr/bin/cmake -D TEST_TARGET=static_band_test -D TEST_EXECUTABLE=/build/seqan3-3.0.1+ds/build_unit/alignment/band/static_band_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/build/seqan3-3.0.1+ds/build_unit/alignment/band -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=alignment/band/static_band_test:: -D TEST_SUFFIX= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=static_band_test_TESTS -D CTEST_FILE=/build/seqan3-3.0.1+ds/build_unit/alignment/band/static_band_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -P /usr/share/cmake-3.16/Modules/GoogleTestAddTests.cmake
[14/502] : && /usr/lib/ccache/c++ -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro alignment/configuration/CMakeFiles/align_config_parallel_test.dir/align_config_parallel_test.cpp.o -o alignment/configuration/align_config_parallel_test -pthread /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libbz2.so -lrt lib/libgtest_main.a lib/libgtest.a -lpthread && cd /build/seqan3-3.0.1+ds/build_unit/alignment/configuration && /usr/bin/cmake -D TEST_TARGET=align_config_parallel_test -D TEST_EXECUTABLE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_parallel_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=alignment/configuration/align_config_parallel_test:: -D TEST_SUFFIX= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=align_config_parallel_test_TESTS -D CTEST_FILE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_parallel_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -P /usr/share/cmake-3.16/Modules/GoogleTestAddTests.cmake
[15/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_max_error_test.dir/align_config_max_error_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_max_error_test.dir/align_config_max_error_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_max_error_test.dir/align_config_max_error_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_max_error_test.cpp
[16/502] : && /usr/lib/ccache/c++ -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro alignment/configuration/CMakeFiles/align_config_max_error_test.dir/align_config_max_error_test.cpp.o -o alignment/configuration/align_config_max_error_test -pthread /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libbz2.so -lrt lib/libgtest_main.a lib/libgtest.a -lpthread && cd /build/seqan3-3.0.1+ds/build_unit/alignment/configuration && /usr/bin/cmake -D TEST_TARGET=align_config_max_error_test -D TEST_EXECUTABLE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_max_error_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=alignment/configuration/align_config_max_error_test:: -D TEST_SUFFIX= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=align_config_max_error_test_TESTS -D CTEST_FILE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_max_error_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -P /usr/share/cmake-3.16/Modules/GoogleTestAddTests.cmake
[17/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_band_test.dir/align_config_band_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_band_test.dir/align_config_band_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_band_test.dir/align_config_band_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_band_test.cpp
[18/502] : && /usr/lib/ccache/c++ -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro alignment/configuration/CMakeFiles/align_config_band_test.dir/align_config_band_test.cpp.o -o alignment/configuration/align_config_band_test -pthread /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libbz2.so -lrt lib/libgtest_main.a lib/libgtest.a -lpthread && cd /build/seqan3-3.0.1+ds/build_unit/alignment/configuration && /usr/bin/cmake -D TEST_TARGET=align_config_band_test -D TEST_EXECUTABLE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_band_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=alignment/configuration/align_config_band_test:: -D TEST_SUFFIX= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=align_config_band_test_TESTS -D CTEST_FILE=/build/seqan3-3.0.1+ds/build_unit/alignment/configuration/align_config_band_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -P /usr/share/cmake-3.16/Modules/GoogleTestAddTests.cmake
[19/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_common_test.cpp
FAILED: alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o
/usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_common_test.dir/align_config_common_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_common_test.cpp
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:17,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/all.hpp:18,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_common_test.cpp:12:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:61:16: error: a variable concept cannot be constrained
61 | SEQAN3_CONCEPT scoring_scheme = requires (t scheme,
| ^~~~~~~~~~~~~~
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:17,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/all.hpp:18,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_common_test.cpp:12:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::nucleotide_scoring_scheme<signed char>’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:52:98: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
759 | requires seqan3::alphabet_size<t> >= 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cc1plus: all warnings being treated as errors
[20/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_mode_test.dir/align_config_mode_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_mode_test.dir/align_config_mode_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_mode_test.dir/align_config_mode_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_mode_test.cpp
[21/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_result_test.dir/align_config_result_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_result_test.dir/align_config_result_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_result_test.dir/align_config_result_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_result_test.cpp
[22/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp
FAILED: alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o
/usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_edit_test.dir/align_config_edit_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:17,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:61:16: error: a variable concept cannot be constrained
61 | SEQAN3_CONCEPT scoring_scheme = requires (t scheme,
| ^~~~~~~~~~~~~~
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:17,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::nucleotide_scoring_scheme<signed char>’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:52:98: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
759 | requires seqan3::alphabet_size<t> >= 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_edit.hpp:15,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_gap.hpp: In instantiation of ‘struct seqan3::align_cfg::gap<seqan3::detail::global_alignment_type>’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr ptrdiff_t seqan3::pack_traits::detail::find_if() [with pred_t = seqan3::detail::is_same_configuration_f<seqan3::align_cfg::gap>::invoke; pack_t = {seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> >}; ptrdiff_t = long int]’
/build/seqan3-3.0.1+ds/include/seqan3/core/type_list/traits.hpp:175:93: required from ‘constexpr const ptrdiff_t seqan3::pack_traits::find_if<template<class compare_type> using invoke = seqan3::detail::is_type_specialisation_of<compare_type, seqan3::align_cfg::gap>, seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> > >’
/build/seqan3-3.0.1+ds/include/seqan3/core/algorithm/configuration.hpp:578:39: required from ‘constexpr const auto& seqan3::get(const seqan3::configuration<configs_t ...>&) [with query_t = seqan3::align_cfg::gap; configs_t = {seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> >}]’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp:39:54: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_gap.hpp:44:27: error: static assertion failed: Expects seqan3::gap_scheme class.
44 | static_assert(detail::is_type_specialisation_of_v<gap_scheme_t, gap_scheme>,
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_gap.hpp: In instantiation of ‘struct seqan3::align_cfg::gap<seqan3::nucleotide_scoring_scheme<signed char> >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr ptrdiff_t seqan3::pack_traits::detail::find_if() [with pred_t = seqan3::detail::is_same_configuration_f<seqan3::align_cfg::gap>::invoke; pack_t = {seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> >}; ptrdiff_t = long int]’
/build/seqan3-3.0.1+ds/include/seqan3/core/type_list/traits.hpp:175:93: required from ‘constexpr const ptrdiff_t seqan3::pack_traits::find_if<template<class compare_type> using invoke = seqan3::detail::is_type_specialisation_of<compare_type, seqan3::align_cfg::gap>, seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> > >’
/build/seqan3-3.0.1+ds/include/seqan3/core/algorithm/configuration.hpp:578:39: required from ‘constexpr const auto& seqan3::get(const seqan3::configuration<configs_t ...>&) [with query_t = seqan3::align_cfg::gap; configs_t = {seqan3::align_cfg::mode<seqan3::detail::global_alignment_type>, seqan3::align_cfg::scoring<seqan3::nucleotide_scoring_scheme<signed char> >, seqan3::align_cfg::gap<seqan3::gap_scheme<signed char> >}]’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_edit_test.cpp:39:54: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_gap.hpp:44:27: error: static assertion failed: Expects seqan3::gap_scheme class.
cc1plus: all warnings being treated as errors
[23/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp
FAILED: alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o
/usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_scoring_test.dir/align_config_scoring_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:61:16: error: a variable concept cannot be constrained
61 | SEQAN3_CONCEPT scoring_scheme = requires (t scheme,
| ^~~~~~~~~~~~~~
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alignment/scoring/scoring_scheme_concept.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/configuration/align_config_scoring.hpp:18,
from /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::aminoacid_scoring_scheme<signed char>’:
/usr/include/c++/10/tuple:69:28: required from ‘struct std::_Tuple_impl<0, seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>’
/usr/include/c++/10/tuple:887:11: required from ‘class std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>’
/usr/include/c++/10/type_traits:1412:38: required from ‘struct std::is_base_of<seqan3::pod_tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>, std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27> >’
/usr/include/c++/10/type_traits:3188:69: required from ‘constexpr const bool std::is_base_of_v<seqan3::pod_tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>, std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27> >’
/build/seqan3-3.0.1+ds/include/seqan3/core/pod_tuple.hpp:357:18: required by substitution of ‘template<long unsigned int __i, class _Tp> using tuple_element_t = typename std::tuple_element::type [with long unsigned int __i = 0; _Tp = std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>]’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:23:11: required from ‘class align_confg_scoring_test<std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27> >’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:31:1: required from ‘class align_confg_scoring_test_config_element_Test<std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27> >’
/usr/include/gtest/internal/gtest-internal.h:503:8: required from ‘struct testing::internal::SuiteApiResolver<align_confg_scoring_test_config_element_Test<std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27> > >’
/usr/include/gtest/internal/gtest-internal.h:713:57: required from ‘static bool testing::internal::TypeParameterizedTest<Fixture, TestSel, Types>::Register(const char*, const testing::internal::CodeLocation&, const char*, const char*, int, const std::vector<std::__cxx11::basic_string<char> >&) [with Fixture = align_confg_scoring_test; TestSel = testing::internal::TemplateSel<align_confg_scoring_test_config_element_Test>; Types = testing::internal::Types2<std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>, std::tuple<seqan3::nucleotide_scoring_scheme<signed char>, seqan3::dna15> >]’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:31:1: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
759 | requires seqan3::alphabet_size<t> >= 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::nucleotide_scoring_scheme<signed char>’:
/usr/include/c++/10/tuple:69:28: required from ‘struct std::_Tuple_impl<0, seqan3::nucleotide_scoring_scheme<signed char>, seqan3::dna15>’
/usr/include/c++/10/tuple:887:11: required from ‘class std::tuple<seqan3::nucleotide_scoring_scheme<signed char>, seqan3::dna15>’
/usr/include/gtest/internal/gtest-internal.h:677:42: required from ‘std::vector<std::__cxx11::basic_string<char> > testing::internal::GenerateNames() [with NameGenerator = testing::internal::DefaultNameGenerator; Types = testing::internal::Types2<std::tuple<seqan3::aminoacid_scoring_scheme<signed char>, seqan3::aa27>, std::tuple<seqan3::nucleotide_scoring_scheme<signed char>, seqan3::dna15> >]’
/build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_scoring_test.cpp:31:1: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
cc1plus: all warnings being treated as errors
[24/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o -MF alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o.d -o alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp
FAILED: alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o
/usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o -MF alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o.d -o alignment/CMakeFiles/debug_stream_aligned_sequence_test.dir/debug_stream_aligned_sequence_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/alphabet_base.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/gap/gap.hpp:18,
from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/gap/all.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:22,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
759 | requires seqan3::alphabet_size<t> >= 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<class alphabet_t> requires writable_alphabet<alphabet_t> using gapped = seqan3::alphabet_variant<alphabet_t, seqan3::gap> [with alphabet_t = seqan3::dna4]’:
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:45:35: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<template<class ...> class container_type, template<class ...> class allocator_type, class seq_alph_t, class ... rest_t> requires container<container_type<seqan3::gapped<seq_alph_t>, allocator_type<seqan3::gapped<seq_alph_t> >, rest_t ...> > constexpr container_type<seq_alph_t, allocator_type<seq_alph_t>, rest_t ...> seqan3::detail::remove_gap_from_value_type(container_type<seqan3::gapped<seq_alph_t>, allocator_type<seqan3::gapped<seq_alph_t> >, rest_t ...>) [with container_type = std::vector; allocator_type = std::allocator; seq_alph_t = seqan3::dna4; rest_t = {}]’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:66:52: required by substitution of ‘template<class t> using unaligned_seq_t = typename seqan3::detail::unaligned_seq::type [with t = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:209:25: required from ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<class t> constexpr const bool seqan3::detail::is_gapped_alphabet<seqan3::gapped<t> > [with t = seqan3::dna4]’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:246:22: required from ‘typename aligned_seq_t::iterator seqan3::insert_gap(aligned_seq_t&, typename aligned_seq_t::const_iterator) [with aligned_seq_t = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >; typename aligned_seq_t::iterator = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >::iterator; typename aligned_seq_t::const_iterator = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >::const_iterator]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:212:21: required from ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<class alphabet_t> requires writable_alphabet<alphabet_t> using gapped = seqan3::alphabet_variant<alphabet_t, seqan3::gap> [with alphabet_t = seqan3::rna5]’:
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:71:34: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<template<class ...> class container_type, template<class ...> class allocator_type, class seq_alph_t, class ... rest_t> requires container<container_type<seqan3::gapped<seq_alph_t>, allocator_type<seqan3::gapped<seq_alph_t> >, rest_t ...> > constexpr container_type<seq_alph_t, allocator_type<seq_alph_t>, rest_t ...> seqan3::detail::remove_gap_from_value_type(container_type<seqan3::gapped<seq_alph_t>, allocator_type<seqan3::gapped<seq_alph_t> >, rest_t ...>) [with container_type = std::vector; allocator_type = std::allocator; seq_alph_t = seqan3::rna5; rest_t = {}]’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:66:52: required by substitution of ‘template<class t> using unaligned_seq_t = typename seqan3::detail::unaligned_seq::type [with t = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:209:25: required from ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<template<class ...> class container_type, class seq_alph_t, class ... rest_t> requires container<container_type<seqan3::gapped<seq_alph_t>, rest_t ...> > constexpr container_type<seq_alph_t, rest_t ...> seqan3::detail::remove_gap_from_value_type(container_type<seqan3::gapped<seq_alph_t>, rest_t ...>) [with container_type = std::vector; seq_alph_t = seqan3::rna5; rest_t = {std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >}]’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:66:52: required by substitution of ‘template<class t> using unaligned_seq_t = typename seqan3::detail::unaligned_seq::type [with t = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:209:25: required from ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In substitution of ‘template<class t> constexpr const bool seqan3::detail::is_gapped_alphabet<seqan3::gapped<t> > [with t = seqan3::rna5]’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:246:22: required from ‘typename aligned_seq_t::iterator seqan3::insert_gap(aligned_seq_t&, typename aligned_seq_t::const_iterator) [with aligned_seq_t = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >; typename aligned_seq_t::iterator = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >::iterator; typename aligned_seq_t::const_iterator = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >::const_iterator]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:212:21: required from ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr const bool seqan3::detail::all_satisfy_aligned_seq<meta::list<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:557:22: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
In file included from /usr/include/c++/10/bits/basic_string.h:48,
from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/string_view: In instantiation of ‘class std::basic_string_view<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >, template<class _CharT, class _Traits> class std::basic_string_view>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:61:23: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; long unsigned int ...Is = {0, 1}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:514:45: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; long unsigned int ...idx = {0, 1}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/usr/include/c++/10/string_view:97:42: error: static assertion failed
97 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/string_view:98:21: error: no type named ‘char_type’ in ‘class std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >’
98 | static_assert(is_same_v<_CharT, typename _Traits::char_type>);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/bits/basic_string.h: In instantiation of ‘class std::__cxx11::basic_string<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >, template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:66:28: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; long unsigned int ...Is = {0, 1}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:514:45: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; long unsigned int ...idx = {0, 1}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/usr/include/c++/10/bits/basic_string.h:86:44: error: no type named ‘char_type’ in ‘class std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >’
86 | typedef typename _Traits::char_type value_type;
| ^~~~~~~~~~
In file included from /usr/include/c++/10/bits/basic_string.h:48,
from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/string_view: In instantiation of ‘class std::basic_string_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >, template<class _CharT, class _Traits> class std::basic_string_view>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:61:23: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:521:73: required from ‘seqan3::detail::stream_alignment<char, std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, {0, 1}>::<lambda(const auto:39&, const auto:40&)> [with auto:39 = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >; auto:40 = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:529:18: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; long unsigned int ...idx = {0, 1}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/usr/include/c++/10/string_view:97:42: error: static assertion failed
97 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/string_view:98:21: error: no type named ‘char_type’ in ‘struct ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >’
98 | static_assert(is_same_v<_CharT, typename _Traits::char_type>);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/bits/basic_string.h: In instantiation of ‘class std::__cxx11::basic_string<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >, template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:66:28: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:521:73: required from ‘seqan3::detail::stream_alignment<char, std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >, {0, 1}>::<lambda(const auto:39&, const auto:40&)> [with auto:39 = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >; auto:40 = std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:529:18: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; long unsigned int ...idx = {0, 1}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::tuple<std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >, std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:57:15: required from here
/usr/include/c++/10/bits/basic_string.h:86:44: error: no type named ‘char_type’ in ‘struct ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::dna4, seqan3::gap> > >’
86 | typedef typename _Traits::char_type value_type;
| ^~~~~~~~~~
In file included from /usr/include/c++/10/bits/basic_string.h:48,
from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/string_view: In instantiation of ‘class std::basic_string_view<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, template<class _CharT, class _Traits> class std::basic_string_view>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:61:23: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; long unsigned int ...Is = {0, 1}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:514:45: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; long unsigned int ...idx = {0}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/usr/include/c++/10/string_view:97:42: error: static assertion failed
97 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/string_view:98:21: error: no type named ‘char_type’ in ‘class std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >’
98 | static_assert(is_same_v<_CharT, typename _Traits::char_type>);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/bits/basic_string.h: In instantiation of ‘class std::__cxx11::basic_string<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:66:28: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; long unsigned int ...Is = {0, 1}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >&; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:514:45: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; long unsigned int ...idx = {0}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/usr/include/c++/10/bits/basic_string.h:86:44: error: no type named ‘char_type’ in ‘class std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >’
86 | typedef typename _Traits::char_type value_type;
| ^~~~~~~~~~
In file included from /usr/include/c++/10/bits/basic_string.h:48,
from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/string_view: In instantiation of ‘class std::basic_string_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >, template<class _CharT, class _Traits> class std::basic_string_view>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:61:23: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:521:73: required from ‘seqan3::detail::stream_alignment<char, std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, {0}>::<lambda(const auto:39&, const auto:40&)> [with auto:39 = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >; auto:40 = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:529:18: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; long unsigned int ...idx = {0}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/usr/include/c++/10/string_view:97:42: error: static assertion failed
97 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/string_view:98:21: error: no type named ‘char_type’ in ‘struct ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >’
98 | static_assert(is_same_v<_CharT, typename _Traits::char_type>);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/ostream:38,
from /usr/include/gtest/gtest.h:58,
from /build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:8:
/usr/include/c++/10/bits/basic_string.h: In instantiation of ‘class std::__cxx11::basic_string<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >’:
/build/seqan3-3.0.1+ds/include/seqan3/core/type_traits/template_inspection.hpp:62:59: required from ‘constexpr const bool seqan3::detail::is_type_specialisation_of_v<ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >, template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string>’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/drop.hpp:66:28: required from ‘constexpr auto seqan3::detail::drop_fn::operator()(urng_t&&, size_t) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; size_t = long unsigned int]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:392:19: required from ‘constexpr auto seqan3::detail::adaptor_from_functor<functor_type, stored_args_ts>::impl(urng_t&&, stored_args_ts ...) const [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; functor_type = seqan3::detail::drop_fn; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:100:56: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::pass_args_to_impl(urng_t&&, std::index_sequence<Is ...>&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; long unsigned int ...Is = {0}; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}; std::index_sequence<Is ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::drop_fn, long unsigned int>; stored_args_ts = {long unsigned int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:138:50: required from ‘constexpr auto seqan3::detail::adaptor_base<derived_type, stored_args_ts>::operator()(urng_t&&) && [with urng_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/range/views/detail.hpp:167:33: required from ‘constexpr auto seqan3::detail::operator|(arg_t&&, derived_type&&) [with arg_t = ranges::zip_view<ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > >, ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap>, std::allocator<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > > > >; derived_type = seqan3::detail::adaptor_from_functor<seqan3::detail::slice_fn, long int, long int>; stored_args_ts = {long int, long int}]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:521:73: required from ‘seqan3::detail::stream_alignment<char, std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >, {0}>::<lambda(const auto:39&, const auto:40&)> [with auto:39 = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >; auto:40 = std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:529:18: required from ‘void seqan3::detail::stream_alignment(seqan3::debug_stream_type<char_t>&, const alignment_t&, std::index_sequence<_Idx ...>&) [with char_t = char; alignment_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; long unsigned int ...idx = {0}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0>]’
/build/seqan3-3.0.1+ds/include/seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp:562:29: required from ‘seqan3::debug_stream_type<char_t>& seqan3::operator<<(seqan3::debug_stream_type<char_t>&, const tuple_t&) [with tuple_t = std::pair<std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> >, std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >; char_t = char]’
/build/seqan3-3.0.1+ds/test/unit/alignment/debug_stream_aligned_sequence_test.cpp:79:15: required from here
/usr/include/c++/10/bits/basic_string.h:86:44: error: no type named ‘char_type’ in ‘struct ranges::ref_view<const std::vector<seqan3::alphabet_variant<seqan3::rna5, seqan3::gap> > >’
86 | typedef typename _Traits::char_type value_type;
| ^~~~~~~~~~
cc1plus: all warnings being treated as errors
[25/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/configuration/CMakeFiles/align_config_aligned_ends_test.dir/align_config_aligned_ends_test.cpp.o -MF alignment/configuration/CMakeFiles/align_config_aligned_ends_test.dir/align_config_aligned_ends_test.cpp.o.d -o alignment/configuration/CMakeFiles/align_config_aligned_ends_test.dir/align_config_aligned_ends_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/configuration/align_config_aligned_ends_test.cpp
[26/502] /usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o -MF alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o.d -o alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp
FAILED: alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o
/usr/lib/ccache/c++ -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -Ivendor/googletest/googletest/include -I/build/seqan3-3.0.1+ds/test/include -I/build/seqan3-3.0.1+ds/include -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include -g -O2 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fuse-ld=gold -DNDEBUG -O3 -std=c++17 -fconcepts -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra -Werror -pthread -MD -MT alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o -MF alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o.d -o alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o -c /build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp
In file included from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/alphabet_base.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/nucleotide_base.hpp:15,
from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/dna4.hpp:17,
from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/rna4.hpp:17,
from /build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp:10:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
759 | requires seqan3::alphabet_size<t> >= 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>’:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp:472:48: required from ‘constexpr auto seqan3::get(seqan3::alphabet_tuple_base<derived_type, component_types>&) [with long unsigned int index = 1; derived_type = seqan3::cigar; component_types = {unsigned int, seqan3::cigar_op}]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:45: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr auto seqan3::alphabet_proxy<derived_type, alphabet_type>::to_char() const requires alphabet<alphabet_type> [with derived_type = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>; alphabet_type = seqan3::cigar_op]’:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:259:5: required from ‘static constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::impl(seqan3::detail::priority_tag<0>, t&&, arg_ts&& ...) requires requires(const seqan3::detail::priority_tag<0>&, t&& v, ‘type_pack_expansion’ not supported by simple_type_specifier... args‘type_pack_expansion’ not supported by direct_abstract_declarator) {{v->to_char()};} [with t = const seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>&; arg_ts = {}]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:267:19: required from ‘constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::operator()(alph_t) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:327:66: required by substitution of ‘template<class alph_t> requires requires(const decltype(seqan3::to_char((declval<const alph_t>)()))r, alph_t& a) {{seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r)};requires noexcept (seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r));requires same_as<alph_t&, decltype(seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r))>;} constexpr alph_t seqan3::detail::adl_only::assign_char_to_fn::operator()(seqan3::alphabet_char_t<alph_t>, alph_t&&) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:46: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr auto seqan3::alphabet_proxy<derived_type, alphabet_type>::to_char() const requires alphabet<alphabet_type> [with derived_type = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>; alphabet_type = seqan3::cigar_op]’:
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:259:5: required from ‘static constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::impl(seqan3::detail::priority_tag<0>, t&&, arg_ts&& ...) requires requires(const seqan3::detail::priority_tag<0>&, t&& v, ‘type_pack_expansion’ not supported by simple_type_specifier... args‘type_pack_expansion’ not supported by direct_abstract_declarator) {{v->to_char()};} [with t = const seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>&; arg_ts = {}]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:267:19: required from ‘constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::operator()(alph_t) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:327:66: required by substitution of ‘template<class alph_t> requires requires(const decltype(seqan3::to_char((declval<const alph_t>)()))r, alph_t& a) {{seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r)};requires noexcept (seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r));requires same_as<alph_t&, decltype(seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r))>;} constexpr alph_t seqan3::detail::adl_only::assign_char_to_fn::operator()(seqan3::alphabet_char_t<alph_t>, alph_t&&) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:46: required from here
/build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cct8tUvJ.out file, please attach this to your bugreport.
=== BEGIN GCC DUMP ===
3777166: // Target: x86_64-linux-gnu
3777166: // Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.0-3' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-10-km0ZOU/gcc-10-10.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-km0ZOU/gcc-10-10.2.0/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
3777166: // Thread model: posix
3777166: // Supported LTO compression algorithms: zlib zstd
3777166: // gcc version 10.2.0 (Debian 10.2.0-3)
3777166: //
3777166: // In file included from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/alphabet_base.hpp:15,
3777166: // from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/nucleotide_base.hpp:15,
3777166: // from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/dna4.hpp:17,
3777166: // from /build/seqan3-3.0.1+ds/include/seqan3/alphabet/nucleotide/rna4.hpp:17,
3777166: // from /build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp:10:
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
3777166: // 759 | requires seqan3::alphabet_size<t> >= 0;
3777166: // | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘class seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>’:
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp:472:48: required from ‘constexpr auto seqan3::get(seqan3::alphabet_tuple_base<derived_type, component_types>&) [with long unsigned int index = 1; derived_type = seqan3::cigar; component_types = {unsigned int, seqan3::cigar_op}]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:45: required from here
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr auto seqan3::alphabet_proxy<derived_type, alphabet_type>::to_char() const requires alphabet<alphabet_type> [with derived_type = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>; alphabet_type = seqan3::cigar_op]’:
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:259:5: required from ‘static constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::impl(seqan3::detail::priority_tag<0>, t&&, arg_ts&& ...) requires requires(const seqan3::detail::priority_tag<0>&, t&& v, ‘type_pack_expansion’ not supported by simple_type_specifier... args‘type_pack_expansion’ not supported by direct_abstract_declarator) {{v->to_char()};} [with t = const seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>&; arg_ts = {}]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:267:19: required from ‘constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::operator()(alph_t) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:327:66: required by substitution of ‘template<class alph_t> requires requires(const decltype(seqan3::to_char((declval<const alph_t>)()))r, alph_t& a) {{seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r)};requires noexcept (seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r));requires same_as<alph_t&, decltype(seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r))>;} constexpr alph_t seqan3::detail::adl_only::assign_char_to_fn::operator()(seqan3::alphabet_char_t<alph_t>, alph_t&&) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:46: required from here
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp: In instantiation of ‘constexpr auto seqan3::alphabet_proxy<derived_type, alphabet_type>::to_char() const requires alphabet<alphabet_type> [with derived_type = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>; alphabet_type = seqan3::cigar_op]’:
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:259:5: required from ‘static constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::impl(seqan3::detail::priority_tag<0>, t&&, arg_ts&& ...) requires requires(const seqan3::detail::priority_tag<0>&, t&& v, ‘type_pack_expansion’ not supported by simple_type_specifier... args‘type_pack_expansion’ not supported by direct_abstract_declarator) {{v->to_char()};} [with t = const seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>&; arg_ts = {}]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:267:19: required from ‘constexpr decltype(auto) seqan3::detail::adl_only::to_char_fn::operator()(alph_t) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:327:66: required by substitution of ‘template<class alph_t> requires requires(const decltype(seqan3::to_char((declval<const alph_t>)()))r, alph_t& a) {{seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r)};requires noexcept (seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r));requires same_as<alph_t&, decltype(seqan3::detail::adl_only::assign_char_to_fn::impl({}, a, r))>;} constexpr alph_t seqan3::detail::adl_only::assign_char_to_fn::operator()(seqan3::alphabet_char_t<alph_t>, alph_t&&) const [with alph_t = seqan3::alphabet_tuple_base<seqan3::cigar, unsigned int, seqan3::cigar_op>::component_proxy<seqan3::cigar_op, 1>]’
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/cigar/cigar.hpp:129:46: required from here
3777166: // /build/seqan3-3.0.1+ds/include/seqan3/alphabet/concept.hpp:759:39: error: comparison is always true due to limited range of data type [-Werror=type-limits]
3777166: // ‘
3777166: // Internal compiler error: Error reporting routines re-entered.
3777166: // Please submit a full bug report,
3777166: // with preprocessed source if appropriate.
3777166: // See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
3777166:
3777166: // /usr/lib/gcc/x86_64-linux-gnu/10/cc1plus -quiet -I vendor/googletest/googletest/include -I /build/seqan3-3.0.1+ds/test/include -I /build/seqan3-3.0.1+ds/include -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D_REENTRANT -D SEQAN3_HAS_BZIP2=1 -D SEQAN3_HAS_ZLIB=1 -D NDEBUG -D _FORTIFY_SOURCE=2 -isystem /build/seqan3-3.0.1+ds/submodules/sdsl-lite/include /build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp -quiet -dumpbase aligned_sequence_test.cpp -mtune=generic -march=x86-64 -auxbase-strip alignment/CMakeFiles/aligned_sequence_test.dir/aligned_sequence_test.cpp.o -g -O2 -O3 -Wformat=1 -Werror=format-security -Wdate-time -Wpedantic -Wall -Wextra -Werror -std=c++17 -fdebug-prefix-map=/build/seqan3-3.0.1+ds=. -fstack-protector-strong -fuse-ld=gold -fconcepts -fasynchronous-unwind-tables -o - -frandom-seed=0 -fdump-noaddr
3777166:
3777166: # 1 "/build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp"
3777166: # 1 "/build/seqan3-3.0.1+ds/build_unit//"
3777166: # 1 "<built-in>"
3777166: # 1 "<command-line>"
3777166: # 1 "/usr/include/stdc-predef.h" 1 3 4
3777166: # 1 "<command-line>" 2
3777166: # 1 "/build/seqan3-3.0.1+ds/test/unit/alignment/aligned_sequence_test.cpp"
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/gtest/gtest.h" 1 3 4
3777166: # 55 "/usr/include/gtest/gtest.h" 3 4
3777166: # 1 "/usr/include/c++/10/cstddef" 1 3 4
3777166: # 42 "/usr/include/c++/10/cstddef" 3 4
3777166:
3777166: # 43 "/usr/include/c++/10/cstddef" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 1 3
3777166: # 258 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 3
3777166:
3777166: # 258 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 3
3777166: namespace std
3777166: {
3777166: typedef long unsigned int size_t;
3777166: typedef long int ptrdiff_t;
3777166:
3777166:
3777166: typedef decltype(nullptr) nullptr_t;
3777166:
3777166: }
3777166: # 280 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 3
3777166: namespace std
3777166: {
3777166: inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
3777166: }
3777166: namespace __gnu_cxx
3777166: {
3777166: inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
3777166: }
3777166: # 518 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 3
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/os_defines.h" 1 3
3777166: # 39 "/usr/include/x86_64-linux-gnu/c++/10/bits/os_defines.h" 3
3777166: # 1 "/usr/include/features.h" 1 3 4
3777166: # 461 "/usr/include/features.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
3777166: # 452 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
3777166: # 453 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
3777166: # 454 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
3777166: # 462 "/usr/include/features.h" 2 3 4
3777166: # 485 "/usr/include/features.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
3777166: # 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
3777166: # 11 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
3777166: # 486 "/usr/include/features.h" 2 3 4
3777166: # 40 "/usr/include/x86_64-linux-gnu/c++/10/bits/os_defines.h" 2 3
3777166: # 519 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 2 3
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/cpu_defines.h" 1 3
3777166: # 522 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 2 3
3777166: # 688 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 3
3777166: # 1 "/usr/include/c++/10/pstl/pstl_config.h" 1 3
3777166: # 689 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h" 2 3
3777166: # 50 "/usr/include/c++/10/cstddef" 2 3
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4
3777166: # 143 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 3 4
3777166: typedef long int ptrdiff_t;
3777166: # 209 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 3 4
3777166: typedef long unsigned int size_t;
3777166: # 415 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 3 4
3777166: typedef struct {
3777166: long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
3777166: long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
3777166: # 426 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 3 4
3777166: } max_align_t;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef decltype(nullptr) nullptr_t;
3777166: # 51 "/usr/include/c++/10/cstddef" 2 3
3777166:
3777166: extern "C++"
3777166: {
3777166:
3777166: namespace std
3777166: {
3777166:
3777166: using ::max_align_t;
3777166: }
3777166:
3777166:
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: enum class byte : unsigned char {};
3777166:
3777166: template<typename _IntegerType> struct __byte_operand { };
3777166: template<> struct __byte_operand<bool> { using __type = byte; };
3777166: template<> struct __byte_operand<char> { using __type = byte; };
3777166: template<> struct __byte_operand<signed char> { using __type = byte; };
3777166: template<> struct __byte_operand<unsigned char> { using __type = byte; };
3777166:
3777166: template<> struct __byte_operand<wchar_t> { using __type = byte; };
3777166:
3777166:
3777166:
3777166:
3777166: template<> struct __byte_operand<char16_t> { using __type = byte; };
3777166: template<> struct __byte_operand<char32_t> { using __type = byte; };
3777166: template<> struct __byte_operand<short> { using __type = byte; };
3777166: template<> struct __byte_operand<unsigned short> { using __type = byte; };
3777166: template<> struct __byte_operand<int> { using __type = byte; };
3777166: template<> struct __byte_operand<unsigned int> { using __type = byte; };
3777166: template<> struct __byte_operand<long> { using __type = byte; };
3777166: template<> struct __byte_operand<unsigned long> { using __type = byte; };
3777166: template<> struct __byte_operand<long long> { using __type = byte; };
3777166: template<> struct __byte_operand<unsigned long long> { using __type = byte; };
3777166: # 110 "/usr/include/c++/10/cstddef" 3
3777166: template<typename _IntegerType>
3777166: struct __byte_operand<const _IntegerType>
3777166: : __byte_operand<_IntegerType> { };
3777166: template<typename _IntegerType>
3777166: struct __byte_operand<volatile _IntegerType>
3777166: : __byte_operand<_IntegerType> { };
3777166: template<typename _IntegerType>
3777166: struct __byte_operand<const volatile _IntegerType>
3777166: : __byte_operand<_IntegerType> { };
3777166:
3777166: template<typename _IntegerType>
3777166: using __byte_op_t = typename __byte_operand<_IntegerType>::__type;
3777166:
3777166: template<typename _IntegerType>
3777166: constexpr __byte_op_t<_IntegerType>
3777166: operator<<(byte __b, _IntegerType __shift) noexcept
3777166: { return (byte)(unsigned char)((unsigned)__b << __shift); }
3777166:
3777166: template<typename _IntegerType>
3777166: constexpr __byte_op_t<_IntegerType>
3777166: operator>>(byte __b, _IntegerType __shift) noexcept
3777166: { return (byte)(unsigned char)((unsigned)__b >> __shift); }
3777166:
3777166: constexpr byte
3777166: operator|(byte __l, byte __r) noexcept
3777166: { return (byte)(unsigned char)((unsigned)__l | (unsigned)__r); }
3777166:
3777166: constexpr byte
3777166: operator&(byte __l, byte __r) noexcept
3777166: { return (byte)(unsigned char)((unsigned)__l & (unsigned)__r); }
3777166:
3777166: constexpr byte
3777166: operator^(byte __l, byte __r) noexcept
3777166: { return (byte)(unsigned char)((unsigned)__l ^ (unsigned)__r); }
3777166:
3777166: constexpr byte
3777166: operator~(byte __b) noexcept
3777166: { return (byte)(unsigned char)~(unsigned)__b; }
3777166:
3777166: template<typename _IntegerType>
3777166: constexpr __byte_op_t<_IntegerType>&
3777166: operator<<=(byte& __b, _IntegerType __shift) noexcept
3777166: { return __b = __b << __shift; }
3777166:
3777166: template<typename _IntegerType>
3777166: constexpr __byte_op_t<_IntegerType>&
3777166: operator>>=(byte& __b, _IntegerType __shift) noexcept
3777166: { return __b = __b >> __shift; }
3777166:
3777166: constexpr byte&
3777166: operator|=(byte& __l, byte __r) noexcept
3777166: { return __l = __l | __r; }
3777166:
3777166: constexpr byte&
3777166: operator&=(byte& __l, byte __r) noexcept
3777166: { return __l = __l & __r; }
3777166:
3777166: constexpr byte&
3777166: operator^=(byte& __l, byte __r) noexcept
3777166: { return __l = __l ^ __r; }
3777166:
3777166: template<typename _IntegerType>
3777166: constexpr _IntegerType
3777166: to_integer(__byte_op_t<_IntegerType> __b) noexcept
3777166: { return _IntegerType(__b); }
3777166:
3777166:
3777166: }
3777166:
3777166: }
3777166: # 56 "/usr/include/gtest/gtest.h" 2 3 4
3777166: # 1 "/usr/include/c++/10/limits" 1 3 4
3777166: # 40 "/usr/include/c++/10/limits" 3 4
3777166:
3777166: # 41 "/usr/include/c++/10/limits" 3
3777166: # 158 "/usr/include/c++/10/limits" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: enum float_round_style
3777166: {
3777166: round_indeterminate = -1,
3777166: round_toward_zero = 0,
3777166: round_to_nearest = 1,
3777166: round_toward_infinity = 2,
3777166: round_toward_neg_infinity = 3
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: enum float_denorm_style
3777166: {
3777166:
3777166: denorm_indeterminate = -1,
3777166:
3777166: denorm_absent = 0,
3777166:
3777166: denorm_present = 1
3777166: };
3777166: # 202 "/usr/include/c++/10/limits" 3
3777166: struct __numeric_limits_base
3777166: {
3777166:
3777166:
3777166: static constexpr bool is_specialized = false;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr int digits = 0;
3777166:
3777166:
3777166: static constexpr int digits10 = 0;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166:
3777166:
3777166: static constexpr bool is_signed = false;
3777166:
3777166:
3777166: static constexpr bool is_integer = false;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr bool is_exact = false;
3777166:
3777166:
3777166:
3777166: static constexpr int radix = 0;
3777166:
3777166:
3777166:
3777166: static constexpr int min_exponent = 0;
3777166:
3777166:
3777166:
3777166: static constexpr int min_exponent10 = 0;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr int max_exponent = 0;
3777166:
3777166:
3777166:
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166:
3777166: static constexpr bool has_infinity = false;
3777166:
3777166:
3777166:
3777166: static constexpr bool has_quiet_NaN = false;
3777166:
3777166:
3777166:
3777166: static constexpr bool has_signaling_NaN = false;
3777166:
3777166:
3777166: static constexpr float_denorm_style has_denorm = denorm_absent;
3777166:
3777166:
3777166:
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166:
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr bool is_bounded = false;
3777166: # 288 "/usr/include/c++/10/limits" 3
3777166: static constexpr bool is_modulo = false;
3777166:
3777166:
3777166: static constexpr bool traps = false;
3777166:
3777166:
3777166: static constexpr bool tinyness_before = false;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr float_round_style round_style =
3777166: round_toward_zero;
3777166: };
3777166: # 311 "/usr/include/c++/10/limits" 3
3777166: template<typename _Tp>
3777166: struct numeric_limits : public __numeric_limits_base
3777166: {
3777166:
3777166:
3777166: static constexpr _Tp
3777166: min() noexcept { return _Tp(); }
3777166:
3777166:
3777166: static constexpr _Tp
3777166: max() noexcept { return _Tp(); }
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr _Tp
3777166: lowest() noexcept { return _Tp(); }
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr _Tp
3777166: epsilon() noexcept { return _Tp(); }
3777166:
3777166:
3777166: static constexpr _Tp
3777166: round_error() noexcept { return _Tp(); }
3777166:
3777166:
3777166: static constexpr _Tp
3777166: infinity() noexcept { return _Tp(); }
3777166:
3777166:
3777166:
3777166: static constexpr _Tp
3777166: quiet_NaN() noexcept { return _Tp(); }
3777166:
3777166:
3777166:
3777166: static constexpr _Tp
3777166: signaling_NaN() noexcept { return _Tp(); }
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr _Tp
3777166: denorm_min() noexcept { return _Tp(); }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct numeric_limits<const _Tp>
3777166: : public numeric_limits<_Tp> { };
3777166:
3777166: template<typename _Tp>
3777166: struct numeric_limits<volatile _Tp>
3777166: : public numeric_limits<_Tp> { };
3777166:
3777166: template<typename _Tp>
3777166: struct numeric_limits<const volatile _Tp>
3777166: : public numeric_limits<_Tp> { };
3777166: # 383 "/usr/include/c++/10/limits" 3
3777166: template<>
3777166: struct numeric_limits<bool>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr bool
3777166: min() noexcept { return false; }
3777166:
3777166: static constexpr bool
3777166: max() noexcept { return true; }
3777166:
3777166:
3777166: static constexpr bool
3777166: lowest() noexcept { return min(); }
3777166:
3777166: static constexpr int digits = 1;
3777166: static constexpr int digits10 = 0;
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr bool
3777166: epsilon() noexcept { return false; }
3777166:
3777166: static constexpr bool
3777166: round_error() noexcept { return false; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr bool
3777166: infinity() noexcept { return false; }
3777166:
3777166: static constexpr bool
3777166: quiet_NaN() noexcept { return false; }
3777166:
3777166: static constexpr bool
3777166: signaling_NaN() noexcept { return false; }
3777166:
3777166: static constexpr bool
3777166: denorm_min() noexcept { return false; }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166:
3777166:
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<char>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr char
3777166: min() noexcept { return (((char)(-1) < 0) ? -(((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0) - 1 : (char)0); }
3777166:
3777166: static constexpr char
3777166: max() noexcept { return (((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0); }
3777166:
3777166:
3777166: static constexpr char
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(char) * 8 - ((char)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(char) * 8 - ((char)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = ((char)(-1) < 0);
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr char
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr char
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr
3777166: char infinity() noexcept { return char(); }
3777166:
3777166: static constexpr char
3777166: quiet_NaN() noexcept { return char(); }
3777166:
3777166: static constexpr char
3777166: signaling_NaN() noexcept { return char(); }
3777166:
3777166: static constexpr char
3777166: denorm_min() noexcept { return static_cast<char>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = !is_signed;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<signed char>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr signed char
3777166: min() noexcept { return -0x7f - 1; }
3777166:
3777166: static constexpr signed char
3777166: max() noexcept { return 0x7f; }
3777166:
3777166:
3777166: static constexpr signed char
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(signed char) * 8 - ((signed char)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(signed char) * 8 - ((signed char)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr signed char
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr signed char
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr signed char
3777166: infinity() noexcept { return static_cast<signed char>(0); }
3777166:
3777166: static constexpr signed char
3777166: quiet_NaN() noexcept { return static_cast<signed char>(0); }
3777166:
3777166: static constexpr signed char
3777166: signaling_NaN() noexcept
3777166: { return static_cast<signed char>(0); }
3777166:
3777166: static constexpr signed char
3777166: denorm_min() noexcept
3777166: { return static_cast<signed char>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<unsigned char>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr unsigned char
3777166: min() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned char
3777166: max() noexcept { return 0x7f * 2U + 1; }
3777166:
3777166:
3777166: static constexpr unsigned char
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr unsigned char
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned char
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr unsigned char
3777166: infinity() noexcept
3777166: { return static_cast<unsigned char>(0); }
3777166:
3777166: static constexpr unsigned char
3777166: quiet_NaN() noexcept
3777166: { return static_cast<unsigned char>(0); }
3777166:
3777166: static constexpr unsigned char
3777166: signaling_NaN() noexcept
3777166: { return static_cast<unsigned char>(0); }
3777166:
3777166: static constexpr unsigned char
3777166: denorm_min() noexcept
3777166: { return static_cast<unsigned char>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = true;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<wchar_t>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr wchar_t
3777166: min() noexcept { return (((wchar_t)(-1) < 0) ? -(((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0) - 1 : (wchar_t)0); }
3777166:
3777166: static constexpr wchar_t
3777166: max() noexcept { return (((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0); }
3777166:
3777166:
3777166: static constexpr wchar_t
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = ((wchar_t)(-1) < 0);
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr wchar_t
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr wchar_t
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr wchar_t
3777166: infinity() noexcept { return wchar_t(); }
3777166:
3777166: static constexpr wchar_t
3777166: quiet_NaN() noexcept { return wchar_t(); }
3777166:
3777166: static constexpr wchar_t
3777166: signaling_NaN() noexcept { return wchar_t(); }
3777166:
3777166: static constexpr wchar_t
3777166: denorm_min() noexcept { return wchar_t(); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = !is_signed;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166: # 796 "/usr/include/c++/10/limits" 3
3777166: template<>
3777166: struct numeric_limits<char16_t>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr char16_t
3777166: min() noexcept { return (((char16_t)(-1) < 0) ? -(((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0) - 1 : (char16_t)0); }
3777166:
3777166: static constexpr char16_t
3777166: max() noexcept { return (((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0); }
3777166:
3777166: static constexpr char16_t
3777166: lowest() noexcept { return min(); }
3777166:
3777166: static constexpr int digits = (sizeof(char16_t) * 8 - ((char16_t)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) * 643L / 2136);
3777166: static constexpr int max_digits10 = 0;
3777166: static constexpr bool is_signed = ((char16_t)(-1) < 0);
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr char16_t
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr char16_t
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr char16_t
3777166: infinity() noexcept { return char16_t(); }
3777166:
3777166: static constexpr char16_t
3777166: quiet_NaN() noexcept { return char16_t(); }
3777166:
3777166: static constexpr char16_t
3777166: signaling_NaN() noexcept { return char16_t(); }
3777166:
3777166: static constexpr char16_t
3777166: denorm_min() noexcept { return char16_t(); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = !is_signed;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<char32_t>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr char32_t
3777166: min() noexcept { return (((char32_t)(-1) < 0) ? -(((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0) - 1 : (char32_t)0); }
3777166:
3777166: static constexpr char32_t
3777166: max() noexcept { return (((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0); }
3777166:
3777166: static constexpr char32_t
3777166: lowest() noexcept { return min(); }
3777166:
3777166: static constexpr int digits = (sizeof(char32_t) * 8 - ((char32_t)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) * 643L / 2136);
3777166: static constexpr int max_digits10 = 0;
3777166: static constexpr bool is_signed = ((char32_t)(-1) < 0);
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr char32_t
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr char32_t
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr char32_t
3777166: infinity() noexcept { return char32_t(); }
3777166:
3777166: static constexpr char32_t
3777166: quiet_NaN() noexcept { return char32_t(); }
3777166:
3777166: static constexpr char32_t
3777166: signaling_NaN() noexcept { return char32_t(); }
3777166:
3777166: static constexpr char32_t
3777166: denorm_min() noexcept { return char32_t(); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = !is_signed;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style = round_toward_zero;
3777166: };
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<short>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr short
3777166: min() noexcept { return -0x7fff - 1; }
3777166:
3777166: static constexpr short
3777166: max() noexcept { return 0x7fff; }
3777166:
3777166:
3777166: static constexpr short
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(short) * 8 - ((short)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(short) * 8 - ((short)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr short
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr short
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr short
3777166: infinity() noexcept { return short(); }
3777166:
3777166: static constexpr short
3777166: quiet_NaN() noexcept { return short(); }
3777166:
3777166: static constexpr short
3777166: signaling_NaN() noexcept { return short(); }
3777166:
3777166: static constexpr short
3777166: denorm_min() noexcept { return short(); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<unsigned short>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr unsigned short
3777166: min() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned short
3777166: max() noexcept { return 0x7fff * 2U + 1; }
3777166:
3777166:
3777166: static constexpr unsigned short
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr unsigned short
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned short
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr unsigned short
3777166: infinity() noexcept
3777166: { return static_cast<unsigned short>(0); }
3777166:
3777166: static constexpr unsigned short
3777166: quiet_NaN() noexcept
3777166: { return static_cast<unsigned short>(0); }
3777166:
3777166: static constexpr unsigned short
3777166: signaling_NaN() noexcept
3777166: { return static_cast<unsigned short>(0); }
3777166:
3777166: static constexpr unsigned short
3777166: denorm_min() noexcept
3777166: { return static_cast<unsigned short>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = true;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<int>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr int
3777166: min() noexcept { return -0x7fffffff - 1; }
3777166:
3777166: static constexpr int
3777166: max() noexcept { return 0x7fffffff; }
3777166:
3777166:
3777166: static constexpr int
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(int) * 8 - ((int)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(int) * 8 - ((int)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr int
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr int
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr int
3777166: infinity() noexcept { return static_cast<int>(0); }
3777166:
3777166: static constexpr int
3777166: quiet_NaN() noexcept { return static_cast<int>(0); }
3777166:
3777166: static constexpr int
3777166: signaling_NaN() noexcept { return static_cast<int>(0); }
3777166:
3777166: static constexpr int
3777166: denorm_min() noexcept { return static_cast<int>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<unsigned int>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr unsigned int
3777166: min() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned int
3777166: max() noexcept { return 0x7fffffff * 2U + 1; }
3777166:
3777166:
3777166: static constexpr unsigned int
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr unsigned int
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned int
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr unsigned int
3777166: infinity() noexcept { return static_cast<unsigned int>(0); }
3777166:
3777166: static constexpr unsigned int
3777166: quiet_NaN() noexcept
3777166: { return static_cast<unsigned int>(0); }
3777166:
3777166: static constexpr unsigned int
3777166: signaling_NaN() noexcept
3777166: { return static_cast<unsigned int>(0); }
3777166:
3777166: static constexpr unsigned int
3777166: denorm_min() noexcept
3777166: { return static_cast<unsigned int>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = true;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<long>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr long
3777166: min() noexcept { return -0x7fffffffffffffffL - 1; }
3777166:
3777166: static constexpr long
3777166: max() noexcept { return 0x7fffffffffffffffL; }
3777166:
3777166:
3777166: static constexpr long
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits = (sizeof(long) * 8 - ((long)(-1) < 0));
3777166: static constexpr int digits10 = ((sizeof(long) * 8 - ((long)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr long
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr long
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr long
3777166: infinity() noexcept { return static_cast<long>(0); }
3777166:
3777166: static constexpr long
3777166: quiet_NaN() noexcept { return static_cast<long>(0); }
3777166:
3777166: static constexpr long
3777166: signaling_NaN() noexcept { return static_cast<long>(0); }
3777166:
3777166: static constexpr long
3777166: denorm_min() noexcept { return static_cast<long>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<unsigned long>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr unsigned long
3777166: min() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned long
3777166: max() noexcept { return 0x7fffffffffffffffL * 2UL + 1; }
3777166:
3777166:
3777166: static constexpr unsigned long
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr unsigned long
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned long
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr unsigned long
3777166: infinity() noexcept
3777166: { return static_cast<unsigned long>(0); }
3777166:
3777166: static constexpr unsigned long
3777166: quiet_NaN() noexcept
3777166: { return static_cast<unsigned long>(0); }
3777166:
3777166: static constexpr unsigned long
3777166: signaling_NaN() noexcept
3777166: { return static_cast<unsigned long>(0); }
3777166:
3777166: static constexpr unsigned long
3777166: denorm_min() noexcept
3777166: { return static_cast<unsigned long>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = true;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<long long>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr long long
3777166: min() noexcept { return -0x7fffffffffffffffLL - 1; }
3777166:
3777166: static constexpr long long
3777166: max() noexcept { return 0x7fffffffffffffffLL; }
3777166:
3777166:
3777166: static constexpr long long
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(long long) * 8 - ((long long)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(long long) * 8 - ((long long)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr long long
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr long long
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr long long
3777166: infinity() noexcept { return static_cast<long long>(0); }
3777166:
3777166: static constexpr long long
3777166: quiet_NaN() noexcept { return static_cast<long long>(0); }
3777166:
3777166: static constexpr long long
3777166: signaling_NaN() noexcept
3777166: { return static_cast<long long>(0); }
3777166:
3777166: static constexpr long long
3777166: denorm_min() noexcept { return static_cast<long long>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<unsigned long long>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr unsigned long long
3777166: min() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned long long
3777166: max() noexcept { return 0x7fffffffffffffffLL * 2ULL + 1; }
3777166:
3777166:
3777166: static constexpr unsigned long long
3777166: lowest() noexcept { return min(); }
3777166:
3777166:
3777166: static constexpr int digits
3777166: = (sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0));
3777166: static constexpr int digits10
3777166: = ((sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)) * 643L / 2136);
3777166:
3777166: static constexpr int max_digits10 = 0;
3777166:
3777166: static constexpr bool is_signed = false;
3777166: static constexpr bool is_integer = true;
3777166: static constexpr bool is_exact = true;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr unsigned long long
3777166: epsilon() noexcept { return 0; }
3777166:
3777166: static constexpr unsigned long long
3777166: round_error() noexcept { return 0; }
3777166:
3777166: static constexpr int min_exponent = 0;
3777166: static constexpr int min_exponent10 = 0;
3777166: static constexpr int max_exponent = 0;
3777166: static constexpr int max_exponent10 = 0;
3777166:
3777166: static constexpr bool has_infinity = false;
3777166: static constexpr bool has_quiet_NaN = false;
3777166: static constexpr bool has_signaling_NaN = false;
3777166: static constexpr float_denorm_style has_denorm
3777166: = denorm_absent;
3777166: static constexpr bool has_denorm_loss = false;
3777166:
3777166: static constexpr unsigned long long
3777166: infinity() noexcept
3777166: { return static_cast<unsigned long long>(0); }
3777166:
3777166: static constexpr unsigned long long
3777166: quiet_NaN() noexcept
3777166: { return static_cast<unsigned long long>(0); }
3777166:
3777166: static constexpr unsigned long long
3777166: signaling_NaN() noexcept
3777166: { return static_cast<unsigned long long>(0); }
3777166:
3777166: static constexpr unsigned long long
3777166: denorm_min() noexcept
3777166: { return static_cast<unsigned long long>(0); }
3777166:
3777166: static constexpr bool is_iec559 = false;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = true;
3777166:
3777166: static constexpr bool traps = true;
3777166: static constexpr bool tinyness_before = false;
3777166: static constexpr float_round_style round_style
3777166: = round_toward_zero;
3777166: };
3777166: # 1659 "/usr/include/c++/10/limits" 3
3777166: template<>
3777166: struct numeric_limits<float>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr float
3777166: min() noexcept { return 1.17549435082228750796873653722224568e-38F; }
3777166:
3777166: static constexpr float
3777166: max() noexcept { return 3.40282346638528859811704183484516925e+38F; }
3777166:
3777166:
3777166: static constexpr float
3777166: lowest() noexcept { return -3.40282346638528859811704183484516925e+38F; }
3777166:
3777166:
3777166: static constexpr int digits = 24;
3777166: static constexpr int digits10 = 6;
3777166:
3777166: static constexpr int max_digits10
3777166: = (2 + (24) * 643L / 2136);
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = false;
3777166: static constexpr bool is_exact = false;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr float
3777166: epsilon() noexcept { return 1.19209289550781250000000000000000000e-7F; }
3777166:
3777166: static constexpr float
3777166: round_error() noexcept { return 0.5F; }
3777166:
3777166: static constexpr int min_exponent = (-125);
3777166: static constexpr int min_exponent10 = (-37);
3777166: static constexpr int max_exponent = 128;
3777166: static constexpr int max_exponent10 = 38;
3777166:
3777166: static constexpr bool has_infinity = 1;
3777166: static constexpr bool has_quiet_NaN = 1;
3777166: static constexpr bool has_signaling_NaN = has_quiet_NaN;
3777166: static constexpr float_denorm_style has_denorm
3777166: = bool(1) ? denorm_present : denorm_absent;
3777166: static constexpr bool has_denorm_loss
3777166: = false;
3777166:
3777166: static constexpr float
3777166: infinity() noexcept { return __builtin_huge_valf(); }
3777166:
3777166: static constexpr float
3777166: quiet_NaN() noexcept { return __builtin_nanf(""); }
3777166:
3777166: static constexpr float
3777166: signaling_NaN() noexcept { return __builtin_nansf(""); }
3777166:
3777166: static constexpr float
3777166: denorm_min() noexcept { return 1.40129846432481707092372958328991613e-45F; }
3777166:
3777166: static constexpr bool is_iec559
3777166: = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = false;
3777166: static constexpr bool tinyness_before
3777166: = false;
3777166: static constexpr float_round_style round_style
3777166: = round_to_nearest;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<double>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr double
3777166: min() noexcept { return double(2.22507385850720138309023271733240406e-308L); }
3777166:
3777166: static constexpr double
3777166: max() noexcept { return double(1.79769313486231570814527423731704357e+308L); }
3777166:
3777166:
3777166: static constexpr double
3777166: lowest() noexcept { return -double(1.79769313486231570814527423731704357e+308L); }
3777166:
3777166:
3777166: static constexpr int digits = 53;
3777166: static constexpr int digits10 = 15;
3777166:
3777166: static constexpr int max_digits10
3777166: = (2 + (53) * 643L / 2136);
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = false;
3777166: static constexpr bool is_exact = false;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr double
3777166: epsilon() noexcept { return double(2.22044604925031308084726333618164062e-16L); }
3777166:
3777166: static constexpr double
3777166: round_error() noexcept { return 0.5; }
3777166:
3777166: static constexpr int min_exponent = (-1021);
3777166: static constexpr int min_exponent10 = (-307);
3777166: static constexpr int max_exponent = 1024;
3777166: static constexpr int max_exponent10 = 308;
3777166:
3777166: static constexpr bool has_infinity = 1;
3777166: static constexpr bool has_quiet_NaN = 1;
3777166: static constexpr bool has_signaling_NaN = has_quiet_NaN;
3777166: static constexpr float_denorm_style has_denorm
3777166: = bool(1) ? denorm_present : denorm_absent;
3777166: static constexpr bool has_denorm_loss
3777166: = false;
3777166:
3777166: static constexpr double
3777166: infinity() noexcept { return __builtin_huge_val(); }
3777166:
3777166: static constexpr double
3777166: quiet_NaN() noexcept { return __builtin_nan(""); }
3777166:
3777166: static constexpr double
3777166: signaling_NaN() noexcept { return __builtin_nans(""); }
3777166:
3777166: static constexpr double
3777166: denorm_min() noexcept { return double(4.94065645841246544176568792868221372e-324L); }
3777166:
3777166: static constexpr bool is_iec559
3777166: = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = false;
3777166: static constexpr bool tinyness_before
3777166: = false;
3777166: static constexpr float_round_style round_style
3777166: = round_to_nearest;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct numeric_limits<long double>
3777166: {
3777166: static constexpr bool is_specialized = true;
3777166:
3777166: static constexpr long double
3777166: min() noexcept { return 3.36210314311209350626267781732175260e-4932L; }
3777166:
3777166: static constexpr long double
3777166: max() noexcept { return 1.18973149535723176502126385303097021e+4932L; }
3777166:
3777166:
3777166: static constexpr long double
3777166: lowest() noexcept { return -1.18973149535723176502126385303097021e+4932L; }
3777166:
3777166:
3777166: static constexpr int digits = 64;
3777166: static constexpr int digits10 = 18;
3777166:
3777166: static constexpr int max_digits10
3777166: = (2 + (64) * 643L / 2136);
3777166:
3777166: static constexpr bool is_signed = true;
3777166: static constexpr bool is_integer = false;
3777166: static constexpr bool is_exact = false;
3777166: static constexpr int radix = 2;
3777166:
3777166: static constexpr long double
3777166: epsilon() noexcept { return 1.08420217248550443400745280086994171e-19L; }
3777166:
3777166: static constexpr long double
3777166: round_error() noexcept { return 0.5L; }
3777166:
3777166: static constexpr int min_exponent = (-16381);
3777166: static constexpr int min_exponent10 = (-4931);
3777166: static constexpr int max_exponent = 16384;
3777166: static constexpr int max_exponent10 = 4932;
3777166:
3777166: static constexpr bool has_infinity = 1;
3777166: static constexpr bool has_quiet_NaN = 1;
3777166: static constexpr bool has_signaling_NaN = has_quiet_NaN;
3777166: static constexpr float_denorm_style has_denorm
3777166: = bool(1) ? denorm_present : denorm_absent;
3777166: static constexpr bool has_denorm_loss
3777166: = false;
3777166:
3777166: static constexpr long double
3777166: infinity() noexcept { return __builtin_huge_vall(); }
3777166:
3777166: static constexpr long double
3777166: quiet_NaN() noexcept { return __builtin_nanl(""); }
3777166:
3777166: static constexpr long double
3777166: signaling_NaN() noexcept { return __builtin_nansl(""); }
3777166:
3777166: static constexpr long double
3777166: denorm_min() noexcept { return 3.64519953188247460252840593361941982e-4951L; }
3777166:
3777166: static constexpr bool is_iec559
3777166: = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
3777166: static constexpr bool is_bounded = true;
3777166: static constexpr bool is_modulo = false;
3777166:
3777166: static constexpr bool traps = false;
3777166: static constexpr bool tinyness_before =
3777166: false;
3777166: static constexpr float_round_style round_style =
3777166: round_to_nearest;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 57 "/usr/include/gtest/gtest.h" 2 3 4
3777166: # 1 "/usr/include/c++/10/memory" 1 3 4
3777166: # 47 "/usr/include/c++/10/memory" 3 4
3777166:
3777166: # 48 "/usr/include/c++/10/memory" 3
3777166: # 63 "/usr/include/c++/10/memory" 3
3777166: # 1 "/usr/include/c++/10/bits/stl_algobase.h" 1 3
3777166: # 60 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: # 1 "/usr/include/c++/10/bits/functexcept.h" 1 3
3777166: # 40 "/usr/include/c++/10/bits/functexcept.h" 3
3777166: # 1 "/usr/include/c++/10/bits/exception_defines.h" 1 3
3777166: # 41 "/usr/include/c++/10/bits/functexcept.h" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166: void
3777166: __throw_bad_exception(void) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_bad_alloc(void) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_bad_cast(void) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_bad_typeid(void) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_logic_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_domain_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_invalid_argument(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_length_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_out_of_range(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__))
3777166: __attribute__((__format__(__gnu_printf__, 1, 2)));
3777166:
3777166: void
3777166: __throw_runtime_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_range_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_overflow_error(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_underflow_error(const char*) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_ios_failure(const char*) __attribute__((__noreturn__));
3777166:
3777166: void
3777166: __throw_ios_failure(const char*, int) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_system_error(int) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_future_error(int) __attribute__((__noreturn__));
3777166:
3777166:
3777166: void
3777166: __throw_bad_function_call() __attribute__((__noreturn__));
3777166:
3777166:
3777166: }
3777166: # 61 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/cpp_type_traits.h" 1 3
3777166: # 35 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166:
3777166: # 36 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166: # 67 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166: extern "C++" {
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: struct __true_type { };
3777166: struct __false_type { };
3777166:
3777166: template<bool>
3777166: struct __truth_type
3777166: { typedef __false_type __type; };
3777166:
3777166: template<>
3777166: struct __truth_type<true>
3777166: { typedef __true_type __type; };
3777166:
3777166:
3777166:
3777166: template<class _Sp, class _Tp>
3777166: struct __traitor
3777166: {
3777166: enum { __value = bool(_Sp::__value) || bool(_Tp::__value) };
3777166: typedef typename __truth_type<__value>::__type __type;
3777166: };
3777166:
3777166:
3777166: template<typename, typename>
3777166: struct __are_same
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __are_same<_Tp, _Tp>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_void
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_void<void>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_integer
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct __is_integer<bool>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<signed char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<unsigned char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __is_integer<wchar_t>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166: # 184 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166: template<>
3777166: struct __is_integer<char16_t>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<char32_t>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __is_integer<short>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<unsigned short>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<int>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<unsigned int>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<long>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<unsigned long>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<long long>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_integer<unsigned long long>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166: # 287 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166: template<typename _Tp>
3777166: struct __is_floating
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __is_floating<float>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_floating<double>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_floating<long double>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_pointer
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_pointer<_Tp*>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_arithmetic
3777166: : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_scalar
3777166: : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_char
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_char<char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __is_char<wchar_t>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_byte
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_byte<char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_byte<signed char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __is_byte<unsigned char>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166:
3777166: enum class byte : unsigned char;
3777166:
3777166: template<>
3777166: struct __is_byte<byte>
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166: # 423 "/usr/include/c++/10/bits/cpp_type_traits.h" 3
3777166: template<typename> struct iterator_traits;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nonvolatile_trivially_copyable
3777166: {
3777166: enum { __value = __is_trivially_copyable(_Tp) };
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nonvolatile_trivially_copyable<volatile _Tp>
3777166: {
3777166: enum { __value = 0 };
3777166: };
3777166:
3777166:
3777166: template<typename _OutputIter, typename _InputIter>
3777166: struct __memcpyable
3777166: {
3777166: enum { __value = 0 };
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __memcpyable<_Tp*, _Tp*>
3777166: : __is_nonvolatile_trivially_copyable<_Tp>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __memcpyable<_Tp*, const _Tp*>
3777166: : __is_nonvolatile_trivially_copyable<_Tp>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iter1, typename _Iter2>
3777166: struct __memcmpable
3777166: {
3777166: enum { __value = 0 };
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __memcmpable<_Tp*, _Tp*>
3777166: : __is_nonvolatile_trivially_copyable<_Tp>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __memcmpable<const _Tp*, _Tp*>
3777166: : __is_nonvolatile_trivially_copyable<_Tp>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __memcmpable<_Tp*, const _Tp*>
3777166: : __is_nonvolatile_trivially_copyable<_Tp>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_iterator
3777166: {
3777166: enum { __value = 0 };
3777166: typedef __false_type __type;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: inline _Iterator
3777166: __miter_base(_Iterator __it)
3777166: { return __it; }
3777166:
3777166:
3777166: }
3777166: }
3777166: # 62 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/ext/type_traits.h" 1 3
3777166: # 32 "/usr/include/c++/10/ext/type_traits.h" 3
3777166:
3777166: # 33 "/usr/include/c++/10/ext/type_traits.h" 3
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166: template<bool, typename>
3777166: struct __enable_if
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __enable_if<true, _Tp>
3777166: { typedef _Tp __type; };
3777166:
3777166:
3777166:
3777166: template<bool _Cond, typename _Iftrue, typename _Iffalse>
3777166: struct __conditional_type
3777166: { typedef _Iftrue __type; };
3777166:
3777166: template<typename _Iftrue, typename _Iffalse>
3777166: struct __conditional_type<false, _Iftrue, _Iffalse>
3777166: { typedef _Iffalse __type; };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __add_unsigned
3777166: {
3777166: private:
3777166: typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type;
3777166:
3777166: public:
3777166: typedef typename __if_type::__type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __add_unsigned<char>
3777166: { typedef unsigned char __type; };
3777166:
3777166: template<>
3777166: struct __add_unsigned<signed char>
3777166: { typedef unsigned char __type; };
3777166:
3777166: template<>
3777166: struct __add_unsigned<short>
3777166: { typedef unsigned short __type; };
3777166:
3777166: template<>
3777166: struct __add_unsigned<int>
3777166: { typedef unsigned int __type; };
3777166:
3777166: template<>
3777166: struct __add_unsigned<long>
3777166: { typedef unsigned long __type; };
3777166:
3777166: template<>
3777166: struct __add_unsigned<long long>
3777166: { typedef unsigned long long __type; };
3777166:
3777166:
3777166: template<>
3777166: struct __add_unsigned<bool>;
3777166:
3777166: template<>
3777166: struct __add_unsigned<wchar_t>;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __remove_unsigned
3777166: {
3777166: private:
3777166: typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type;
3777166:
3777166: public:
3777166: typedef typename __if_type::__type __type;
3777166: };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<char>
3777166: { typedef signed char __type; };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<unsigned char>
3777166: { typedef signed char __type; };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<unsigned short>
3777166: { typedef short __type; };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<unsigned int>
3777166: { typedef int __type; };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<unsigned long>
3777166: { typedef long __type; };
3777166:
3777166: template<>
3777166: struct __remove_unsigned<unsigned long long>
3777166: { typedef long long __type; };
3777166:
3777166:
3777166: template<>
3777166: struct __remove_unsigned<bool>;
3777166:
3777166: template<>
3777166: struct __remove_unsigned<wchar_t>;
3777166:
3777166:
3777166:
3777166: template<typename _Type>
3777166: inline bool
3777166: __is_null_pointer(_Type* __ptr)
3777166: { return __ptr == 0; }
3777166:
3777166: template<typename _Type>
3777166: inline bool
3777166: __is_null_pointer(_Type)
3777166: { return false; }
3777166:
3777166:
3777166: inline bool
3777166: __is_null_pointer(std::nullptr_t)
3777166: { return true; }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, bool = std::__is_integer<_Tp>::__value>
3777166: struct __promote
3777166: { typedef double __type; };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __promote<_Tp, false>
3777166: { };
3777166:
3777166: template<>
3777166: struct __promote<long double>
3777166: { typedef long double __type; };
3777166:
3777166: template<>
3777166: struct __promote<double>
3777166: { typedef double __type; };
3777166:
3777166: template<>
3777166: struct __promote<float>
3777166: { typedef float __type; };
3777166:
3777166: template<typename _Tp, typename _Up,
3777166: typename _Tp2 = typename __promote<_Tp>::__type,
3777166: typename _Up2 = typename __promote<_Up>::__type>
3777166: struct __promote_2
3777166: {
3777166: typedef __typeof__(_Tp2() + _Up2()) __type;
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up, typename _Vp,
3777166: typename _Tp2 = typename __promote<_Tp>::__type,
3777166: typename _Up2 = typename __promote<_Up>::__type,
3777166: typename _Vp2 = typename __promote<_Vp>::__type>
3777166: struct __promote_3
3777166: {
3777166: typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type;
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up, typename _Vp, typename _Wp,
3777166: typename _Tp2 = typename __promote<_Tp>::__type,
3777166: typename _Up2 = typename __promote<_Up>::__type,
3777166: typename _Vp2 = typename __promote<_Vp>::__type,
3777166: typename _Wp2 = typename __promote<_Wp>::__type>
3777166: struct __promote_4
3777166: {
3777166: typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type;
3777166: };
3777166:
3777166:
3777166: }
3777166: }
3777166: # 63 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/ext/numeric_traits.h" 1 3
3777166: # 32 "/usr/include/c++/10/ext/numeric_traits.h" 3
3777166:
3777166: # 33 "/usr/include/c++/10/ext/numeric_traits.h" 3
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 54 "/usr/include/c++/10/ext/numeric_traits.h" 3
3777166: template<typename _Value>
3777166: struct __numeric_traits_integer
3777166: {
3777166:
3777166: static const _Value __min = (((_Value)(-1) < 0) ? -(((_Value)(-1) < 0) ? (((((_Value)1 << ((sizeof(_Value) * 8 - ((_Value)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(_Value)0) - 1 : (_Value)0);
3777166: static const _Value __max = (((_Value)(-1) < 0) ? (((((_Value)1 << ((sizeof(_Value) * 8 - ((_Value)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(_Value)0);
3777166:
3777166:
3777166:
3777166: static const bool __is_signed = ((_Value)(-1) < 0);
3777166: static const int __digits = (sizeof(_Value) * 8 - ((_Value)(-1) < 0));
3777166: };
3777166:
3777166: template<typename _Value>
3777166: const _Value __numeric_traits_integer<_Value>::__min;
3777166:
3777166: template<typename _Value>
3777166: const _Value __numeric_traits_integer<_Value>::__max;
3777166:
3777166: template<typename _Value>
3777166: const bool __numeric_traits_integer<_Value>::__is_signed;
3777166:
3777166: template<typename _Value>
3777166: const int __numeric_traits_integer<_Value>::__digits;
3777166: # 99 "/usr/include/c++/10/ext/numeric_traits.h" 3
3777166: template<typename _Value>
3777166: struct __numeric_traits_floating
3777166: {
3777166:
3777166: static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 64) * 643L / 2136);
3777166:
3777166:
3777166: static const bool __is_signed = true;
3777166: static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 18);
3777166: static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 4932);
3777166: };
3777166:
3777166: template<typename _Value>
3777166: const int __numeric_traits_floating<_Value>::__max_digits10;
3777166:
3777166: template<typename _Value>
3777166: const bool __numeric_traits_floating<_Value>::__is_signed;
3777166:
3777166: template<typename _Value>
3777166: const int __numeric_traits_floating<_Value>::__digits10;
3777166:
3777166: template<typename _Value>
3777166: const int __numeric_traits_floating<_Value>::__max_exponent10;
3777166:
3777166: template<typename _Value>
3777166: struct __numeric_traits
3777166: : public __conditional_type<std::__is_integer<_Value>::__value,
3777166: __numeric_traits_integer<_Value>,
3777166: __numeric_traits_floating<_Value> >::__type
3777166: { };
3777166:
3777166:
3777166: }
3777166: # 64 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_pair.h" 1 3
3777166: # 59 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: # 1 "/usr/include/c++/10/bits/move.h" 1 3
3777166: # 38 "/usr/include/c++/10/bits/move.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr _Tp*
3777166: __addressof(_Tp& __r) noexcept
3777166: { return __builtin_addressof(__r); }
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: # 1 "/usr/include/c++/10/type_traits" 1 3
3777166: # 32 "/usr/include/c++/10/type_traits" 3
3777166:
3777166: # 33 "/usr/include/c++/10/type_traits" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 56 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp, _Tp __v>
3777166: struct integral_constant
3777166: {
3777166: static constexpr _Tp value = __v;
3777166: typedef _Tp value_type;
3777166: typedef integral_constant<_Tp, __v> type;
3777166: constexpr operator value_type() const noexcept { return value; }
3777166:
3777166:
3777166:
3777166:
3777166: constexpr value_type operator()() const noexcept { return value; }
3777166:
3777166: };
3777166:
3777166: template<typename _Tp, _Tp __v>
3777166: constexpr _Tp integral_constant<_Tp, __v>::value;
3777166:
3777166:
3777166: typedef integral_constant<bool, true> true_type;
3777166:
3777166:
3777166: typedef integral_constant<bool, false> false_type;
3777166:
3777166: template<bool __v>
3777166: using __bool_constant = integral_constant<bool, __v>;
3777166:
3777166:
3777166:
3777166: template<bool __v>
3777166: using bool_constant = integral_constant<bool, __v>;
3777166:
3777166:
3777166:
3777166:
3777166: template<bool, typename, typename>
3777166: struct conditional;
3777166:
3777166: template <typename _Type>
3777166: struct __type_identity
3777166: { using type = _Type; };
3777166:
3777166: template<typename _Tp>
3777166: using __type_identity_t = typename __type_identity<_Tp>::type;
3777166:
3777166: template<typename...>
3777166: struct __or_;
3777166:
3777166: template<>
3777166: struct __or_<>
3777166: : public false_type
3777166: { };
3777166:
3777166: template<typename _B1>
3777166: struct __or_<_B1>
3777166: : public _B1
3777166: { };
3777166:
3777166: template<typename _B1, typename _B2>
3777166: struct __or_<_B1, _B2>
3777166: : public conditional<_B1::value, _B1, _B2>::type
3777166: { };
3777166:
3777166: template<typename _B1, typename _B2, typename _B3, typename... _Bn>
3777166: struct __or_<_B1, _B2, _B3, _Bn...>
3777166: : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type
3777166: { };
3777166:
3777166: template<typename...>
3777166: struct __and_;
3777166:
3777166: template<>
3777166: struct __and_<>
3777166: : public true_type
3777166: { };
3777166:
3777166: template<typename _B1>
3777166: struct __and_<_B1>
3777166: : public _B1
3777166: { };
3777166:
3777166: template<typename _B1, typename _B2>
3777166: struct __and_<_B1, _B2>
3777166: : public conditional<_B1::value, _B2, _B1>::type
3777166: { };
3777166:
3777166: template<typename _B1, typename _B2, typename _B3, typename... _Bn>
3777166: struct __and_<_B1, _B2, _B3, _Bn...>
3777166: : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
3777166: { };
3777166:
3777166: template<typename _Pp>
3777166: struct __not_
3777166: : public __bool_constant<!bool(_Pp::value)>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename... _Bn>
3777166: inline constexpr bool __or_v = __or_<_Bn...>::value;
3777166: template<typename... _Bn>
3777166: inline constexpr bool __and_v = __and_<_Bn...>::value;
3777166:
3777166:
3777166:
3777166: template<typename... _Bn>
3777166: struct conjunction
3777166: : __and_<_Bn...>
3777166: { };
3777166:
3777166: template<typename... _Bn>
3777166: struct disjunction
3777166: : __or_<_Bn...>
3777166: { };
3777166:
3777166: template<typename _Pp>
3777166: struct negation
3777166: : __not_<_Pp>
3777166: { };
3777166:
3777166: template<typename... _Bn>
3777166: inline constexpr bool conjunction_v = conjunction<_Bn...>::value;
3777166:
3777166: template<typename... _Bn>
3777166: inline constexpr bool disjunction_v = disjunction<_Bn...>::value;
3777166:
3777166: template<typename _Pp>
3777166: inline constexpr bool negation_v = negation<_Pp>::value;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename>
3777166: struct is_reference;
3777166: template<typename>
3777166: struct is_function;
3777166: template<typename>
3777166: struct is_void;
3777166: template<typename>
3777166: struct __is_array_unknown_bounds;
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, size_t = sizeof(_Tp)>
3777166: constexpr true_type __is_complete_or_unbounded(__type_identity<_Tp>)
3777166: { return {}; }
3777166:
3777166: template <typename _TypeIdentity,
3777166: typename _NestedType = typename _TypeIdentity::type>
3777166: constexpr typename __or_<
3777166: is_reference<_NestedType>,
3777166: is_function<_NestedType>,
3777166: is_void<_NestedType>,
3777166: __is_array_unknown_bounds<_NestedType>
3777166: >::type __is_complete_or_unbounded(_TypeIdentity)
3777166: { return {}; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __success_type
3777166: { typedef _Tp type; };
3777166:
3777166: struct __failure_type
3777166: { };
3777166:
3777166: template<typename>
3777166: struct remove_cv;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __remove_cv_t = typename remove_cv<_Tp>::type;
3777166:
3777166: template<typename>
3777166: struct is_const;
3777166:
3777166:
3777166:
3777166: template<typename>
3777166: struct __is_void_helper
3777166: : public false_type { };
3777166:
3777166: template<>
3777166: struct __is_void_helper<void>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_void
3777166: : public __is_void_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166: template<typename>
3777166: struct __is_integral_helper
3777166: : public false_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<bool>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<char>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<signed char>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<unsigned char>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<>
3777166: struct __is_integral_helper<wchar_t>
3777166: : public true_type { };
3777166: # 284 "/usr/include/c++/10/type_traits" 3
3777166: template<>
3777166: struct __is_integral_helper<char16_t>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<char32_t>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<short>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<unsigned short>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<int>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<unsigned int>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<long>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<unsigned long>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<long long>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_integral_helper<unsigned long long>
3777166: : public true_type { };
3777166: # 364 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp>
3777166: struct is_integral
3777166: : public __is_integral_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166: template<typename>
3777166: struct __is_floating_point_helper
3777166: : public false_type { };
3777166:
3777166: template<>
3777166: struct __is_floating_point_helper<float>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_floating_point_helper<double>
3777166: : public true_type { };
3777166:
3777166: template<>
3777166: struct __is_floating_point_helper<long double>
3777166: : public true_type { };
3777166: # 392 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp>
3777166: struct is_floating_point
3777166: : public __is_floating_point_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename>
3777166: struct is_array
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp, std::size_t _Size>
3777166: struct is_array<_Tp[_Size]>
3777166: : public true_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_array<_Tp[]>
3777166: : public true_type { };
3777166:
3777166: template<typename>
3777166: struct __is_pointer_helper
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_pointer_helper<_Tp*>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_pointer
3777166: : public __is_pointer_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename>
3777166: struct is_lvalue_reference
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_lvalue_reference<_Tp&>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename>
3777166: struct is_rvalue_reference
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_rvalue_reference<_Tp&&>
3777166: : public true_type { };
3777166:
3777166: template<typename>
3777166: struct __is_member_object_pointer_helper
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp, typename _Cp>
3777166: struct __is_member_object_pointer_helper<_Tp _Cp::*>
3777166: : public __not_<is_function<_Tp>>::type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_member_object_pointer
3777166: : public __is_member_object_pointer_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166: template<typename>
3777166: struct __is_member_function_pointer_helper
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp, typename _Cp>
3777166: struct __is_member_function_pointer_helper<_Tp _Cp::*>
3777166: : public is_function<_Tp>::type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_member_function_pointer
3777166: : public __is_member_function_pointer_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_enum
3777166: : public integral_constant<bool, __is_enum(_Tp)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_union
3777166: : public integral_constant<bool, __is_union(_Tp)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_class
3777166: : public integral_constant<bool, __is_class(_Tp)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_function
3777166: : public __bool_constant<!is_const<const _Tp>::value> { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_function<_Tp&>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_function<_Tp&&>
3777166: : public false_type { };
3777166:
3777166:
3777166:
3777166: template<typename>
3777166: struct __is_null_pointer_helper
3777166: : public false_type { };
3777166:
3777166: template<>
3777166: struct __is_null_pointer_helper<std::nullptr_t>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_null_pointer
3777166: : public __is_null_pointer_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nullptr_t
3777166: : public is_null_pointer<_Tp>
3777166: { } __attribute__ ((__deprecated__));
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_reference
3777166: : public __or_<is_lvalue_reference<_Tp>,
3777166: is_rvalue_reference<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_arithmetic
3777166: : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_fundamental
3777166: : public __or_<is_arithmetic<_Tp>, is_void<_Tp>,
3777166: is_null_pointer<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_object
3777166: : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
3777166: is_void<_Tp>>>::type
3777166: { };
3777166:
3777166: template<typename>
3777166: struct is_member_pointer;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_scalar
3777166: : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
3777166: is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_compound
3777166: : public __not_<is_fundamental<_Tp>>::type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_member_pointer_helper
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp, typename _Cp>
3777166: struct __is_member_pointer_helper<_Tp _Cp::*>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_member_pointer
3777166: : public __is_member_pointer_helper<__remove_cv_t<_Tp>>::type
3777166: { };
3777166:
3777166: template<typename, typename>
3777166: struct is_same;
3777166:
3777166: template<typename _Tp, typename... _Types>
3777166: using __is_one_of = __or_<is_same<_Tp, _Types>...>;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __is_signed_integer = __is_one_of<__remove_cv_t<_Tp>,
3777166: signed char, signed short, signed int, signed long,
3777166: signed long long
3777166: # 604 "/usr/include/c++/10/type_traits" 3
3777166: >;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __is_unsigned_integer = __is_one_of<__remove_cv_t<_Tp>,
3777166: unsigned char, unsigned short, unsigned int, unsigned long,
3777166: unsigned long long
3777166: # 623 "/usr/include/c++/10/type_traits" 3
3777166: >;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __is_standard_integer
3777166: = __or_<__is_signed_integer<_Tp>, __is_unsigned_integer<_Tp>>;
3777166:
3777166:
3777166: template<typename...> using __void_t = void;
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename = void>
3777166: struct __is_referenceable
3777166: : public false_type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_referenceable<_Tp, __void_t<_Tp&>>
3777166: : public true_type
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename>
3777166: struct is_const
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_const<_Tp const>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename>
3777166: struct is_volatile
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct is_volatile<_Tp volatile>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivial
3777166: : public integral_constant<bool, __is_trivial(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_copyable
3777166: : public integral_constant<bool, __is_trivially_copyable(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_standard_layout
3777166: : public integral_constant<bool, __is_standard_layout(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct
3777166:
3777166: is_pod
3777166: : public integral_constant<bool, __is_pod(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_literal_type
3777166: : public integral_constant<bool, __is_literal_type(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_empty
3777166: : public integral_constant<bool, __is_empty(_Tp)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_polymorphic
3777166: : public integral_constant<bool, __is_polymorphic(_Tp)>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_final
3777166: : public integral_constant<bool, __is_final(_Tp)>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_abstract
3777166: : public integral_constant<bool, __is_abstract(_Tp)>
3777166: { };
3777166:
3777166: template<typename _Tp,
3777166: bool = is_arithmetic<_Tp>::value>
3777166: struct __is_signed_helper
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_signed_helper<_Tp, true>
3777166: : public integral_constant<bool, _Tp(-1) < _Tp(0)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_signed
3777166: : public __is_signed_helper<_Tp>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_unsigned
3777166: : public __and_<is_arithmetic<_Tp>, __not_<is_signed<_Tp>>>
3777166: { };
3777166: # 770 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp, typename _Up = _Tp&&>
3777166: _Up
3777166: __declval(int);
3777166:
3777166: template<typename _Tp>
3777166: _Tp
3777166: __declval(long);
3777166:
3777166: template<typename _Tp>
3777166: auto declval() noexcept -> decltype(__declval<_Tp>(0));
3777166:
3777166: template<typename, unsigned = 0>
3777166: struct extent;
3777166:
3777166: template<typename>
3777166: struct remove_all_extents;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_array_known_bounds
3777166: : public integral_constant<bool, (extent<_Tp>::value > 0)>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_array_unknown_bounds
3777166: : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct __do_is_destructible_impl
3777166: {
3777166: template<typename _Tp, typename = decltype(declval<_Tp&>().~_Tp())>
3777166: static true_type __test(int);
3777166:
3777166: template<typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_destructible_impl
3777166: : public __do_is_destructible_impl
3777166: {
3777166: typedef decltype(__test<_Tp>(0)) type;
3777166: };
3777166:
3777166: template<typename _Tp,
3777166: bool = __or_<is_void<_Tp>,
3777166: __is_array_unknown_bounds<_Tp>,
3777166: is_function<_Tp>>::value,
3777166: bool = __or_<is_reference<_Tp>, is_scalar<_Tp>>::value>
3777166: struct __is_destructible_safe;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_destructible_safe<_Tp, false, false>
3777166: : public __is_destructible_impl<typename
3777166: remove_all_extents<_Tp>::type>::type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_destructible_safe<_Tp, true, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_destructible_safe<_Tp, false, true>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_destructible
3777166: : public __is_destructible_safe<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct __do_is_nt_destructible_impl
3777166: {
3777166: template<typename _Tp>
3777166: static __bool_constant<noexcept(declval<_Tp&>().~_Tp())>
3777166: __test(int);
3777166:
3777166: template<typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_destructible_impl
3777166: : public __do_is_nt_destructible_impl
3777166: {
3777166: typedef decltype(__test<_Tp>(0)) type;
3777166: };
3777166:
3777166: template<typename _Tp,
3777166: bool = __or_<is_void<_Tp>,
3777166: __is_array_unknown_bounds<_Tp>,
3777166: is_function<_Tp>>::value,
3777166: bool = __or_<is_reference<_Tp>, is_scalar<_Tp>>::value>
3777166: struct __is_nt_destructible_safe;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_destructible_safe<_Tp, false, false>
3777166: : public __is_nt_destructible_impl<typename
3777166: remove_all_extents<_Tp>::type>::type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_destructible_safe<_Tp, true, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_destructible_safe<_Tp, false, true>
3777166: : public true_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_destructible
3777166: : public __is_nt_destructible_safe<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct __is_constructible_impl
3777166: : public __bool_constant<__is_constructible(_Tp, _Args...)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct is_constructible
3777166: : public __is_constructible_impl<_Tp, _Args...>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_default_constructible
3777166: : public __is_constructible_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_copy_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_copy_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_copy_constructible_impl<_Tp, true>
3777166: : public __is_constructible_impl<_Tp, const _Tp&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_copy_constructible
3777166: : public __is_copy_constructible_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_move_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_constructible_impl<_Tp, true>
3777166: : public __is_constructible_impl<_Tp, _Tp&&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_move_constructible
3777166: : public __is_move_constructible_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<bool, typename _Tp, typename... _Args>
3777166: struct __is_nt_constructible_impl
3777166: : public false_type
3777166: { };
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct __is_nt_constructible_impl<true, _Tp, _Args...>
3777166: : public __bool_constant<noexcept(_Tp(std::declval<_Args>()...))>
3777166: { };
3777166:
3777166: template<typename _Tp, typename _Arg>
3777166: struct __is_nt_constructible_impl<true, _Tp, _Arg>
3777166: : public __bool_constant<noexcept(static_cast<_Tp>(std::declval<_Arg>()))>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_constructible_impl<true, _Tp>
3777166: : public __bool_constant<noexcept(_Tp())>
3777166: { };
3777166:
3777166: template<typename _Tp, size_t _Num>
3777166: struct __is_nt_constructible_impl<true, _Tp[_Num]>
3777166: : public __bool_constant<noexcept(typename remove_all_extents<_Tp>::type())>
3777166: { };
3777166: # 1001 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp, typename... _Args>
3777166: using __is_nothrow_constructible_impl
3777166: = __is_nt_constructible_impl<__is_constructible(_Tp, _Args...),
3777166: _Tp, _Args...>;
3777166:
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct is_nothrow_constructible
3777166: : public __is_nothrow_constructible_impl<_Tp, _Args...>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_default_constructible
3777166: : public __is_nothrow_constructible_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_nothrow_copy_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_copy_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_copy_constructible_impl<_Tp, true>
3777166: : public __is_nothrow_constructible_impl<_Tp, const _Tp&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_copy_constructible
3777166: : public __is_nothrow_copy_constructible_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_nothrow_move_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_move_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_move_constructible_impl<_Tp, true>
3777166: : public __is_nothrow_constructible_impl<_Tp, _Tp&&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_move_constructible
3777166: : public __is_nothrow_move_constructible_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_assignable
3777166: : public __bool_constant<__is_assignable(_Tp, _Up)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_copy_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_copy_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_copy_assignable_impl<_Tp, true>
3777166: : public __bool_constant<__is_assignable(_Tp&, const _Tp&)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_copy_assignable
3777166: : public __is_copy_assignable_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_move_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_assignable_impl<_Tp, true>
3777166: : public __bool_constant<__is_assignable(_Tp&, _Tp&&)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_move_assignable
3777166: : public __is_move_assignable_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __is_nt_assignable_impl
3777166: : public integral_constant<bool, noexcept(declval<_Tp>() = declval<_Up>())>
3777166: { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __is_nothrow_assignable_impl
3777166: : public __and_<__bool_constant<__is_assignable(_Tp, _Up)>,
3777166: __is_nt_assignable_impl<_Tp, _Up>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_nothrow_assignable
3777166: : public __is_nothrow_assignable_impl<_Tp, _Up>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_nt_copy_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_copy_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_copy_assignable_impl<_Tp, true>
3777166: : public __is_nothrow_assignable_impl<_Tp&, const _Tp&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_copy_assignable
3777166: : public __is_nt_copy_assignable_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_nt_move_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_move_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nt_move_assignable_impl<_Tp, true>
3777166: : public __is_nothrow_assignable_impl<_Tp&, _Tp&&>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_move_assignable
3777166: : public __is_nt_move_assignable_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct is_trivially_constructible
3777166: : public __bool_constant<__is_trivially_constructible(_Tp, _Args...)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_default_constructible
3777166: : public __bool_constant<__is_trivially_constructible(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: struct __do_is_implicitly_default_constructible_impl
3777166: {
3777166: template <typename _Tp>
3777166: static void __helper(const _Tp&);
3777166:
3777166: template <typename _Tp>
3777166: static true_type __test(const _Tp&,
3777166: decltype(__helper<const _Tp&>({}))* = 0);
3777166:
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_implicitly_default_constructible_impl
3777166: : public __do_is_implicitly_default_constructible_impl
3777166: {
3777166: typedef decltype(__test(declval<_Tp>())) type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_implicitly_default_constructible_safe
3777166: : public __is_implicitly_default_constructible_impl<_Tp>::type
3777166: { };
3777166:
3777166: template <typename _Tp>
3777166: struct __is_implicitly_default_constructible
3777166: : public __and_<__is_constructible_impl<_Tp>,
3777166: __is_implicitly_default_constructible_safe<_Tp>>
3777166: { };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_trivially_copy_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_copy_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_copy_constructible_impl<_Tp, true>
3777166: : public __and_<__is_copy_constructible_impl<_Tp>,
3777166: integral_constant<bool,
3777166: __is_trivially_constructible(_Tp, const _Tp&)>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_copy_constructible
3777166: : public __is_trivially_copy_constructible_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_trivially_move_constructible_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_move_constructible_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_move_constructible_impl<_Tp, true>
3777166: : public __and_<__is_move_constructible_impl<_Tp>,
3777166: integral_constant<bool,
3777166: __is_trivially_constructible(_Tp, _Tp&&)>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_move_constructible
3777166: : public __is_trivially_move_constructible_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_trivially_assignable
3777166: : public __bool_constant<__is_trivially_assignable(_Tp, _Up)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_trivially_copy_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_copy_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_copy_assignable_impl<_Tp, true>
3777166: : public __bool_constant<__is_trivially_assignable(_Tp&, const _Tp&)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_copy_assignable
3777166: : public __is_trivially_copy_assignable_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __is_trivially_move_assignable_impl;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_move_assignable_impl<_Tp, false>
3777166: : public false_type { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_trivially_move_assignable_impl<_Tp, true>
3777166: : public __bool_constant<__is_trivially_assignable(_Tp&, _Tp&&)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_move_assignable
3777166: : public __is_trivially_move_assignable_impl<_Tp>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_trivially_destructible
3777166: : public __and_<__is_destructible_safe<_Tp>,
3777166: __bool_constant<__has_trivial_destructor(_Tp)>>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct has_virtual_destructor
3777166: : public integral_constant<bool, __has_virtual_destructor(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct alignment_of
3777166: : public integral_constant<std::size_t, alignof(_Tp)>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename>
3777166: struct rank
3777166: : public integral_constant<std::size_t, 0> { };
3777166:
3777166: template<typename _Tp, std::size_t _Size>
3777166: struct rank<_Tp[_Size]>
3777166: : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
3777166:
3777166: template<typename _Tp>
3777166: struct rank<_Tp[]>
3777166: : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
3777166:
3777166:
3777166: template<typename, unsigned _Uint>
3777166: struct extent
3777166: : public integral_constant<std::size_t, 0> { };
3777166:
3777166: template<typename _Tp, unsigned _Uint, std::size_t _Size>
3777166: struct extent<_Tp[_Size], _Uint>
3777166: : public integral_constant<std::size_t,
3777166: _Uint == 0 ? _Size : extent<_Tp,
3777166: _Uint - 1>::value>
3777166: { };
3777166:
3777166: template<typename _Tp, unsigned _Uint>
3777166: struct extent<_Tp[], _Uint>
3777166: : public integral_constant<std::size_t,
3777166: _Uint == 0 ? 0 : extent<_Tp,
3777166: _Uint - 1>::value>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_same
3777166:
3777166: : public integral_constant<bool, __is_same_as(_Tp, _Up)>
3777166:
3777166:
3777166:
3777166: { };
3777166: # 1410 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Base, typename _Derived>
3777166: struct is_base_of
3777166: : public integral_constant<bool, __is_base_of(_Base, _Derived)>
3777166: { };
3777166:
3777166: template<typename _From, typename _To,
3777166: bool = __or_<is_void<_From>, is_function<_To>,
3777166: is_array<_To>>::value>
3777166: struct __is_convertible_helper
3777166: {
3777166: typedef typename is_void<_To>::type type;
3777166: };
3777166:
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
3777166: template<typename _From, typename _To>
3777166: class __is_convertible_helper<_From, _To, false>
3777166: {
3777166: template<typename _To1>
3777166: static void __test_aux(_To1) noexcept;
3777166:
3777166: template<typename _From1, typename _To1,
3777166: typename = decltype(__test_aux<_To1>(std::declval<_From1>()))>
3777166: static true_type
3777166: __test(int);
3777166:
3777166: template<typename, typename>
3777166: static false_type
3777166: __test(...);
3777166:
3777166: public:
3777166: typedef decltype(__test<_From, _To>(0)) type;
3777166: };
3777166: #pragma GCC diagnostic pop
3777166:
3777166:
3777166: template<typename _From, typename _To>
3777166: struct is_convertible
3777166: : public __is_convertible_helper<_From, _To>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _ToElementType, typename _FromElementType>
3777166: using __is_array_convertible
3777166: = is_convertible<_FromElementType(*)[], _ToElementType(*)[]>;
3777166:
3777166: template<typename _From, typename _To,
3777166: bool = __or_<is_void<_From>, is_function<_To>,
3777166: is_array<_To>>::value>
3777166: struct __is_nt_convertible_helper
3777166: : is_void<_To>
3777166: { };
3777166:
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
3777166: template<typename _From, typename _To>
3777166: class __is_nt_convertible_helper<_From, _To, false>
3777166: {
3777166: template<typename _To1>
3777166: static void __test_aux(_To1) noexcept;
3777166:
3777166: template<typename _From1, typename _To1>
3777166: static
3777166: __bool_constant<noexcept(__test_aux<_To1>(std::declval<_From1>()))>
3777166: __test(int);
3777166:
3777166: template<typename, typename>
3777166: static false_type
3777166: __test(...);
3777166:
3777166: public:
3777166: using type = decltype(__test<_From, _To>(0));
3777166: };
3777166: #pragma GCC diagnostic pop
3777166:
3777166:
3777166: template<typename _From, typename _To>
3777166: struct __is_nothrow_convertible
3777166: : public __is_nt_convertible_helper<_From, _To>::type
3777166: { };
3777166: # 1508 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp>
3777166: struct remove_const
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_const<_Tp const>
3777166: { typedef _Tp type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_volatile
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_volatile<_Tp volatile>
3777166: { typedef _Tp type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_cv
3777166: { using type = _Tp; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_cv<const _Tp>
3777166: { using type = _Tp; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_cv<volatile _Tp>
3777166: { using type = _Tp; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_cv<const volatile _Tp>
3777166: { using type = _Tp; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct add_const
3777166: { typedef _Tp const type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct add_volatile
3777166: { typedef _Tp volatile type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct add_cv
3777166: {
3777166: typedef typename
3777166: add_const<typename add_volatile<_Tp>::type>::type type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_const_t = typename remove_const<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_volatile_t = typename remove_volatile<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_cv_t = typename remove_cv<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_const_t = typename add_const<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_volatile_t = typename add_volatile<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_cv_t = typename add_cv<_Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_reference
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_reference<_Tp&>
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_reference<_Tp&&>
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __add_lvalue_reference_helper
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct __add_lvalue_reference_helper<_Tp, true>
3777166: { typedef _Tp& type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct add_lvalue_reference
3777166: : public __add_lvalue_reference_helper<_Tp>
3777166: { };
3777166:
3777166: template<typename _Tp, bool = __is_referenceable<_Tp>::value>
3777166: struct __add_rvalue_reference_helper
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct __add_rvalue_reference_helper<_Tp, true>
3777166: { typedef _Tp&& type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct add_rvalue_reference
3777166: : public __add_rvalue_reference_helper<_Tp>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_reference_t = typename remove_reference<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_lvalue_reference_t = typename add_lvalue_reference<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_rvalue_reference_t = typename add_rvalue_reference<_Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Unqualified, bool _IsConst, bool _IsVol>
3777166: struct __cv_selector;
3777166:
3777166: template<typename _Unqualified>
3777166: struct __cv_selector<_Unqualified, false, false>
3777166: { typedef _Unqualified __type; };
3777166:
3777166: template<typename _Unqualified>
3777166: struct __cv_selector<_Unqualified, false, true>
3777166: { typedef volatile _Unqualified __type; };
3777166:
3777166: template<typename _Unqualified>
3777166: struct __cv_selector<_Unqualified, true, false>
3777166: { typedef const _Unqualified __type; };
3777166:
3777166: template<typename _Unqualified>
3777166: struct __cv_selector<_Unqualified, true, true>
3777166: { typedef const volatile _Unqualified __type; };
3777166:
3777166: template<typename _Qualified, typename _Unqualified,
3777166: bool _IsConst = is_const<_Qualified>::value,
3777166: bool _IsVol = is_volatile<_Qualified>::value>
3777166: class __match_cv_qualifiers
3777166: {
3777166: typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match;
3777166:
3777166: public:
3777166: typedef typename __match::__type __type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __make_unsigned
3777166: { typedef _Tp __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<char>
3777166: { typedef unsigned char __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<signed char>
3777166: { typedef unsigned char __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<short>
3777166: { typedef unsigned short __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<int>
3777166: { typedef unsigned int __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<long>
3777166: { typedef unsigned long __type; };
3777166:
3777166: template<>
3777166: struct __make_unsigned<long long>
3777166: { typedef unsigned long long __type; };
3777166: # 1730 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp,
3777166: bool _IsInt = is_integral<_Tp>::value,
3777166: bool _IsEnum = is_enum<_Tp>::value>
3777166: class __make_unsigned_selector;
3777166:
3777166: template<typename _Tp>
3777166: class __make_unsigned_selector<_Tp, true, false>
3777166: {
3777166: using __unsigned_type
3777166: = typename __make_unsigned<__remove_cv_t<_Tp>>::__type;
3777166:
3777166: public:
3777166: using __type
3777166: = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type;
3777166: };
3777166:
3777166: class __make_unsigned_selector_base
3777166: {
3777166: protected:
3777166: template<typename...> struct _List { };
3777166:
3777166: template<typename _Tp, typename... _Up>
3777166: struct _List<_Tp, _Up...> : _List<_Up...>
3777166: { static constexpr size_t __size = sizeof(_Tp); };
3777166:
3777166: template<size_t _Sz, typename _Tp, bool = (_Sz <= _Tp::__size)>
3777166: struct __select;
3777166:
3777166: template<size_t _Sz, typename _Uint, typename... _UInts>
3777166: struct __select<_Sz, _List<_Uint, _UInts...>, true>
3777166: { using __type = _Uint; };
3777166:
3777166: template<size_t _Sz, typename _Uint, typename... _UInts>
3777166: struct __select<_Sz, _List<_Uint, _UInts...>, false>
3777166: : __select<_Sz, _List<_UInts...>>
3777166: { };
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: class __make_unsigned_selector<_Tp, false, true>
3777166: : __make_unsigned_selector_base
3777166: {
3777166:
3777166: using _UInts = _List<unsigned char, unsigned short, unsigned int,
3777166: unsigned long, unsigned long long>;
3777166:
3777166: using __unsigned_type = typename __select<sizeof(_Tp), _UInts>::__type;
3777166:
3777166: public:
3777166: using __type
3777166: = typename __match_cv_qualifiers<_Tp, __unsigned_type>::__type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct __make_unsigned<wchar_t>
3777166: {
3777166: using __type
3777166: = typename __make_unsigned_selector<wchar_t, false, true>::__type;
3777166: };
3777166: # 1806 "/usr/include/c++/10/type_traits" 3
3777166: template<>
3777166: struct __make_unsigned<char16_t>
3777166: {
3777166: using __type
3777166: = typename __make_unsigned_selector<char16_t, false, true>::__type;
3777166: };
3777166:
3777166: template<>
3777166: struct __make_unsigned<char32_t>
3777166: {
3777166: using __type
3777166: = typename __make_unsigned_selector<char32_t, false, true>::__type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct make_unsigned
3777166: { typedef typename __make_unsigned_selector<_Tp>::__type type; };
3777166:
3777166:
3777166: template<>
3777166: struct make_unsigned<bool>;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __make_signed
3777166: { typedef _Tp __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<char>
3777166: { typedef signed char __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<unsigned char>
3777166: { typedef signed char __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<unsigned short>
3777166: { typedef signed short __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<unsigned int>
3777166: { typedef signed int __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<unsigned long>
3777166: { typedef signed long __type; };
3777166:
3777166: template<>
3777166: struct __make_signed<unsigned long long>
3777166: { typedef signed long long __type; };
3777166: # 1884 "/usr/include/c++/10/type_traits" 3
3777166: template<typename _Tp,
3777166: bool _IsInt = is_integral<_Tp>::value,
3777166: bool _IsEnum = is_enum<_Tp>::value>
3777166: class __make_signed_selector;
3777166:
3777166: template<typename _Tp>
3777166: class __make_signed_selector<_Tp, true, false>
3777166: {
3777166: using __signed_type
3777166: = typename __make_signed<__remove_cv_t<_Tp>>::__type;
3777166:
3777166: public:
3777166: using __type
3777166: = typename __match_cv_qualifiers<_Tp, __signed_type>::__type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: class __make_signed_selector<_Tp, false, true>
3777166: {
3777166: typedef typename __make_unsigned_selector<_Tp>::__type __unsigned_type;
3777166:
3777166: public:
3777166: typedef typename __make_signed_selector<__unsigned_type>::__type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct __make_signed<wchar_t>
3777166: {
3777166: using __type
3777166: = typename __make_signed_selector<wchar_t, false, true>::__type;
3777166: };
3777166: # 1932 "/usr/include/c++/10/type_traits" 3
3777166: template<>
3777166: struct __make_signed<char16_t>
3777166: {
3777166: using __type
3777166: = typename __make_signed_selector<char16_t, false, true>::__type;
3777166: };
3777166:
3777166: template<>
3777166: struct __make_signed<char32_t>
3777166: {
3777166: using __type
3777166: = typename __make_signed_selector<char32_t, false, true>::__type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct make_signed
3777166: { typedef typename __make_signed_selector<_Tp>::__type type; };
3777166:
3777166:
3777166: template<>
3777166: struct make_signed<bool>;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using make_signed_t = typename make_signed<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using make_unsigned_t = typename make_unsigned<_Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_extent
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp, std::size_t _Size>
3777166: struct remove_extent<_Tp[_Size]>
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_extent<_Tp[]>
3777166: { typedef _Tp type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_all_extents
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp, std::size_t _Size>
3777166: struct remove_all_extents<_Tp[_Size]>
3777166: { typedef typename remove_all_extents<_Tp>::type type; };
3777166:
3777166: template<typename _Tp>
3777166: struct remove_all_extents<_Tp[]>
3777166: { typedef typename remove_all_extents<_Tp>::type type; };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_extent_t = typename remove_extent<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_all_extents_t = typename remove_all_extents<_Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename>
3777166: struct __remove_pointer_helper
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __remove_pointer_helper<_Tp, _Up*>
3777166: { typedef _Up type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct remove_pointer
3777166: : public __remove_pointer_helper<_Tp, __remove_cv_t<_Tp>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, bool = __or_<__is_referenceable<_Tp>,
3777166: is_void<_Tp>>::value>
3777166: struct __add_pointer_helper
3777166: { typedef _Tp type; };
3777166:
3777166: template<typename _Tp>
3777166: struct __add_pointer_helper<_Tp, true>
3777166: { typedef typename remove_reference<_Tp>::type* type; };
3777166:
3777166: template<typename _Tp>
3777166: struct add_pointer
3777166: : public __add_pointer_helper<_Tp>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using remove_pointer_t = typename remove_pointer<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using add_pointer_t = typename add_pointer<_Tp>::type;
3777166:
3777166:
3777166: template<std::size_t _Len>
3777166: struct __aligned_storage_msa
3777166: {
3777166: union __type
3777166: {
3777166: unsigned char __data[_Len];
3777166: struct __attribute__((__aligned__)) { } __align;
3777166: };
3777166: };
3777166: # 2067 "/usr/include/c++/10/type_traits" 3
3777166: template<std::size_t _Len, std::size_t _Align =
3777166: __alignof__(typename __aligned_storage_msa<_Len>::__type)>
3777166: struct aligned_storage
3777166: {
3777166: union type
3777166: {
3777166: unsigned char __data[_Len];
3777166: struct __attribute__((__aligned__((_Align)))) { } __align;
3777166: };
3777166: };
3777166:
3777166: template <typename... _Types>
3777166: struct __strictest_alignment
3777166: {
3777166: static const size_t _S_alignment = 0;
3777166: static const size_t _S_size = 0;
3777166: };
3777166:
3777166: template <typename _Tp, typename... _Types>
3777166: struct __strictest_alignment<_Tp, _Types...>
3777166: {
3777166: static const size_t _S_alignment =
3777166: alignof(_Tp) > __strictest_alignment<_Types...>::_S_alignment
3777166: ? alignof(_Tp) : __strictest_alignment<_Types...>::_S_alignment;
3777166: static const size_t _S_size =
3777166: sizeof(_Tp) > __strictest_alignment<_Types...>::_S_size
3777166: ? sizeof(_Tp) : __strictest_alignment<_Types...>::_S_size;
3777166: };
3777166: # 2106 "/usr/include/c++/10/type_traits" 3
3777166: template <size_t _Len, typename... _Types>
3777166: struct aligned_union
3777166: {
3777166: private:
3777166: static_assert(sizeof...(_Types) != 0, "At least one type is required");
3777166:
3777166: using __strictest = __strictest_alignment<_Types...>;
3777166: static const size_t _S_len = _Len > __strictest::_S_size
3777166: ? _Len : __strictest::_S_size;
3777166: public:
3777166:
3777166: static const size_t alignment_value = __strictest::_S_alignment;
3777166:
3777166: typedef typename aligned_storage<_S_len, alignment_value>::type type;
3777166: };
3777166:
3777166: template <size_t _Len, typename... _Types>
3777166: const size_t aligned_union<_Len, _Types...>::alignment_value;
3777166:
3777166:
3777166:
3777166: template<typename _Up,
3777166: bool _IsArray = is_array<_Up>::value,
3777166: bool _IsFunction = is_function<_Up>::value>
3777166: struct __decay_selector;
3777166:
3777166:
3777166: template<typename _Up>
3777166: struct __decay_selector<_Up, false, false>
3777166: { typedef __remove_cv_t<_Up> __type; };
3777166:
3777166: template<typename _Up>
3777166: struct __decay_selector<_Up, true, false>
3777166: { typedef typename remove_extent<_Up>::type* __type; };
3777166:
3777166: template<typename _Up>
3777166: struct __decay_selector<_Up, false, true>
3777166: { typedef typename add_pointer<_Up>::type __type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: class decay
3777166: {
3777166: typedef typename remove_reference<_Tp>::type __remove_type;
3777166:
3777166: public:
3777166: typedef typename __decay_selector<__remove_type>::__type type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __decay_t = typename decay<_Tp>::type;
3777166:
3777166: template<typename _Tp>
3777166: class reference_wrapper;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __strip_reference_wrapper
3777166: {
3777166: typedef _Tp __type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __strip_reference_wrapper<reference_wrapper<_Tp> >
3777166: {
3777166: typedef _Tp& __type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: using __decay_and_strip = __strip_reference_wrapper<__decay_t<_Tp>>;
3777166:
3777166:
3777166:
3777166:
3777166: template<bool, typename _Tp = void>
3777166: struct enable_if
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct enable_if<true, _Tp>
3777166: { typedef _Tp type; };
3777166:
3777166:
3777166: template<bool _Cond, typename _Tp = void>
3777166: using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
3777166:
3777166: template<typename... _Cond>
3777166: using _Require = __enable_if_t<__and_<_Cond...>::value>;
3777166:
3777166:
3777166:
3777166: template<bool _Cond, typename _Iftrue, typename _Iffalse>
3777166: struct conditional
3777166: { typedef _Iftrue type; };
3777166:
3777166:
3777166: template<typename _Iftrue, typename _Iffalse>
3777166: struct conditional<false, _Iftrue, _Iffalse>
3777166: { typedef _Iffalse type; };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __remove_cvref_t
3777166: = typename remove_cv<typename remove_reference<_Tp>::type>::type;
3777166:
3777166:
3777166: template<typename... _Tp>
3777166: struct common_type;
3777166:
3777166:
3777166:
3777166: struct __do_common_type_impl
3777166: {
3777166: template<typename _Tp, typename _Up>
3777166: using __cond_t
3777166: = decltype(true ? std::declval<_Tp>() : std::declval<_Up>());
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: static __success_type<__decay_t<__cond_t<_Tp, _Up>>>
3777166: _S_test(int);
3777166: # 2239 "/usr/include/c++/10/type_traits" 3
3777166: template<typename, typename>
3777166: static __failure_type
3777166: _S_test_2(...);
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: static decltype(_S_test_2<_Tp, _Up>(0))
3777166: _S_test(...);
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct common_type<>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp0>
3777166: struct common_type<_Tp0>
3777166: : public common_type<_Tp0, _Tp0>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp1, typename _Tp2,
3777166: typename _Dp1 = __decay_t<_Tp1>, typename _Dp2 = __decay_t<_Tp2>>
3777166: struct __common_type_impl
3777166: {
3777166:
3777166:
3777166: using type = common_type<_Dp1, _Dp2>;
3777166: };
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: struct __common_type_impl<_Tp1, _Tp2, _Tp1, _Tp2>
3777166: : private __do_common_type_impl
3777166: {
3777166:
3777166:
3777166: using type = decltype(_S_test<_Tp1, _Tp2>(0));
3777166: };
3777166:
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: struct common_type<_Tp1, _Tp2>
3777166: : public __common_type_impl<_Tp1, _Tp2>::type
3777166: { };
3777166:
3777166: template<typename...>
3777166: struct __common_type_pack
3777166: { };
3777166:
3777166: template<typename, typename, typename = void>
3777166: struct __common_type_fold;
3777166:
3777166:
3777166: template<typename _Tp1, typename _Tp2, typename... _Rp>
3777166: struct common_type<_Tp1, _Tp2, _Rp...>
3777166: : public __common_type_fold<common_type<_Tp1, _Tp2>,
3777166: __common_type_pack<_Rp...>>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _CTp, typename... _Rp>
3777166: struct __common_type_fold<_CTp, __common_type_pack<_Rp...>,
3777166: __void_t<typename _CTp::type>>
3777166: : public common_type<typename _CTp::type, _Rp...>
3777166: { };
3777166:
3777166:
3777166: template<typename _CTp, typename _Rp>
3777166: struct __common_type_fold<_CTp, _Rp, void>
3777166: { };
3777166:
3777166: template<typename _Tp, bool = is_enum<_Tp>::value>
3777166: struct __underlying_type_impl
3777166: {
3777166: using type = __underlying_type(_Tp);
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __underlying_type_impl<_Tp, false>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct underlying_type
3777166: : public __underlying_type_impl<_Tp>
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __declval_protector
3777166: {
3777166: static const bool __stop = false;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: auto declval() noexcept -> decltype(__declval<_Tp>(0))
3777166: {
3777166: static_assert(__declval_protector<_Tp>::__stop,
3777166: "declval() must not be used!");
3777166: return __declval<_Tp>(0);
3777166: }
3777166:
3777166:
3777166: template<typename _Signature>
3777166: class result_of;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct __invoke_memfun_ref { };
3777166: struct __invoke_memfun_deref { };
3777166: struct __invoke_memobj_ref { };
3777166: struct __invoke_memobj_deref { };
3777166: struct __invoke_other { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Tag>
3777166: struct __result_of_success : __success_type<_Tp>
3777166: { using __invoke_type = _Tag; };
3777166:
3777166:
3777166: struct __result_of_memfun_ref_impl
3777166: {
3777166: template<typename _Fp, typename _Tp1, typename... _Args>
3777166: static __result_of_success<decltype(
3777166: (std::declval<_Tp1>().*std::declval<_Fp>())(std::declval<_Args>()...)
3777166: ), __invoke_memfun_ref> _S_test(int);
3777166:
3777166: template<typename...>
3777166: static __failure_type _S_test(...);
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg, typename... _Args>
3777166: struct __result_of_memfun_ref
3777166: : private __result_of_memfun_ref_impl
3777166: {
3777166: typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type;
3777166: };
3777166:
3777166:
3777166: struct __result_of_memfun_deref_impl
3777166: {
3777166: template<typename _Fp, typename _Tp1, typename... _Args>
3777166: static __result_of_success<decltype(
3777166: ((*std::declval<_Tp1>()).*std::declval<_Fp>())(std::declval<_Args>()...)
3777166: ), __invoke_memfun_deref> _S_test(int);
3777166:
3777166: template<typename...>
3777166: static __failure_type _S_test(...);
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg, typename... _Args>
3777166: struct __result_of_memfun_deref
3777166: : private __result_of_memfun_deref_impl
3777166: {
3777166: typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type;
3777166: };
3777166:
3777166:
3777166: struct __result_of_memobj_ref_impl
3777166: {
3777166: template<typename _Fp, typename _Tp1>
3777166: static __result_of_success<decltype(
3777166: std::declval<_Tp1>().*std::declval<_Fp>()
3777166: ), __invoke_memobj_ref> _S_test(int);
3777166:
3777166: template<typename, typename>
3777166: static __failure_type _S_test(...);
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg>
3777166: struct __result_of_memobj_ref
3777166: : private __result_of_memobj_ref_impl
3777166: {
3777166: typedef decltype(_S_test<_MemPtr, _Arg>(0)) type;
3777166: };
3777166:
3777166:
3777166: struct __result_of_memobj_deref_impl
3777166: {
3777166: template<typename _Fp, typename _Tp1>
3777166: static __result_of_success<decltype(
3777166: (*std::declval<_Tp1>()).*std::declval<_Fp>()
3777166: ), __invoke_memobj_deref> _S_test(int);
3777166:
3777166: template<typename, typename>
3777166: static __failure_type _S_test(...);
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg>
3777166: struct __result_of_memobj_deref
3777166: : private __result_of_memobj_deref_impl
3777166: {
3777166: typedef decltype(_S_test<_MemPtr, _Arg>(0)) type;
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg>
3777166: struct __result_of_memobj;
3777166:
3777166: template<typename _Res, typename _Class, typename _Arg>
3777166: struct __result_of_memobj<_Res _Class::*, _Arg>
3777166: {
3777166: typedef __remove_cvref_t<_Arg> _Argval;
3777166: typedef _Res _Class::* _MemPtr;
3777166: typedef typename conditional<__or_<is_same<_Argval, _Class>,
3777166: is_base_of<_Class, _Argval>>::value,
3777166: __result_of_memobj_ref<_MemPtr, _Arg>,
3777166: __result_of_memobj_deref<_MemPtr, _Arg>
3777166: >::type::type type;
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg, typename... _Args>
3777166: struct __result_of_memfun;
3777166:
3777166: template<typename _Res, typename _Class, typename _Arg, typename... _Args>
3777166: struct __result_of_memfun<_Res _Class::*, _Arg, _Args...>
3777166: {
3777166: typedef typename remove_reference<_Arg>::type _Argval;
3777166: typedef _Res _Class::* _MemPtr;
3777166: typedef typename conditional<is_base_of<_Class, _Argval>::value,
3777166: __result_of_memfun_ref<_MemPtr, _Arg, _Args...>,
3777166: __result_of_memfun_deref<_MemPtr, _Arg, _Args...>
3777166: >::type::type type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up = __remove_cvref_t<_Tp>>
3777166: struct __inv_unwrap
3777166: {
3777166: using type = _Tp;
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __inv_unwrap<_Tp, reference_wrapper<_Up>>
3777166: {
3777166: using type = _Up&;
3777166: };
3777166:
3777166: template<bool, bool, typename _Functor, typename... _ArgTypes>
3777166: struct __result_of_impl
3777166: {
3777166: typedef __failure_type type;
3777166: };
3777166:
3777166: template<typename _MemPtr, typename _Arg>
3777166: struct __result_of_impl<true, false, _MemPtr, _Arg>
3777166: : public __result_of_memobj<__decay_t<_MemPtr>,
3777166: typename __inv_unwrap<_Arg>::type>
3777166: { };
3777166:
3777166: template<typename _MemPtr, typename _Arg, typename... _Args>
3777166: struct __result_of_impl<false, true, _MemPtr, _Arg, _Args...>
3777166: : public __result_of_memfun<__decay_t<_MemPtr>,
3777166: typename __inv_unwrap<_Arg>::type, _Args...>
3777166: { };
3777166:
3777166:
3777166: struct __result_of_other_impl
3777166: {
3777166: template<typename _Fn, typename... _Args>
3777166: static __result_of_success<decltype(
3777166: std::declval<_Fn>()(std::declval<_Args>()...)
3777166: ), __invoke_other> _S_test(int);
3777166:
3777166: template<typename...>
3777166: static __failure_type _S_test(...);
3777166: };
3777166:
3777166: template<typename _Functor, typename... _ArgTypes>
3777166: struct __result_of_impl<false, false, _Functor, _ArgTypes...>
3777166: : private __result_of_other_impl
3777166: {
3777166: typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type;
3777166: };
3777166:
3777166:
3777166: template<typename _Functor, typename... _ArgTypes>
3777166: struct __invoke_result
3777166: : public __result_of_impl<
3777166: is_member_object_pointer<
3777166: typename remove_reference<_Functor>::type
3777166: >::value,
3777166: is_member_function_pointer<
3777166: typename remove_reference<_Functor>::type
3777166: >::value,
3777166: _Functor, _ArgTypes...
3777166: >::type
3777166: { };
3777166:
3777166: template<typename _Functor, typename... _ArgTypes>
3777166: struct result_of<_Functor(_ArgTypes...)>
3777166: : public __invoke_result<_Functor, _ArgTypes...>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<size_t _Len, size_t _Align =
3777166: __alignof__(typename __aligned_storage_msa<_Len>::__type)>
3777166: using aligned_storage_t = typename aligned_storage<_Len, _Align>::type;
3777166:
3777166: template <size_t _Len, typename... _Types>
3777166: using aligned_union_t = typename aligned_union<_Len, _Types...>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using decay_t = typename decay<_Tp>::type;
3777166:
3777166:
3777166: template<bool _Cond, typename _Tp = void>
3777166: using enable_if_t = typename enable_if<_Cond, _Tp>::type;
3777166:
3777166:
3777166: template<bool _Cond, typename _Iftrue, typename _Iffalse>
3777166: using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type;
3777166:
3777166:
3777166: template<typename... _Tp>
3777166: using common_type_t = typename common_type<_Tp...>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using underlying_type_t = typename underlying_type<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using result_of_t = typename result_of<_Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename...> using void_t = void;
3777166:
3777166:
3777166:
3777166: template<typename _Default, typename _AlwaysVoid,
3777166: template<typename...> class _Op, typename... _Args>
3777166: struct __detector
3777166: {
3777166: using value_t = false_type;
3777166: using type = _Default;
3777166: };
3777166:
3777166:
3777166: template<typename _Default, template<typename...> class _Op,
3777166: typename... _Args>
3777166: struct __detector<_Default, __void_t<_Op<_Args...>>, _Op, _Args...>
3777166: {
3777166: using value_t = true_type;
3777166: using type = _Op<_Args...>;
3777166: };
3777166:
3777166:
3777166: template<typename _Default, template<typename...> class _Op,
3777166: typename... _Args>
3777166: using __detected_or = __detector<_Default, void, _Op, _Args...>;
3777166:
3777166:
3777166: template<typename _Default, template<typename...> class _Op,
3777166: typename... _Args>
3777166: using __detected_or_t
3777166: = typename __detected_or<_Default, _Op, _Args...>::type;
3777166: # 2624 "/usr/include/c++/10/type_traits" 3
3777166: template <typename _Tp>
3777166: struct __is_swappable;
3777166:
3777166: template <typename _Tp>
3777166: struct __is_nothrow_swappable;
3777166:
3777166: template<typename... _Elements>
3777166: class tuple;
3777166:
3777166: template<typename>
3777166: struct __is_tuple_like_impl : false_type
3777166: { };
3777166:
3777166: template<typename... _Tps>
3777166: struct __is_tuple_like_impl<tuple<_Tps...>> : true_type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_tuple_like
3777166: : public __is_tuple_like_impl<__remove_cvref_t<_Tp>>::type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166:
3777166: inline
3777166: _Require<__not_<__is_tuple_like<_Tp>>,
3777166: is_move_constructible<_Tp>,
3777166: is_move_assignable<_Tp>>
3777166: swap(_Tp&, _Tp&)
3777166: noexcept(__and_<is_nothrow_move_constructible<_Tp>,
3777166: is_nothrow_move_assignable<_Tp>>::value);
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166:
3777166: inline
3777166: __enable_if_t<__is_swappable<_Tp>::value>
3777166: swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
3777166: noexcept(__is_nothrow_swappable<_Tp>::value);
3777166:
3777166: namespace __swappable_details {
3777166: using std::swap;
3777166:
3777166: struct __do_is_swappable_impl
3777166: {
3777166: template<typename _Tp, typename
3777166: = decltype(swap(std::declval<_Tp&>(), std::declval<_Tp&>()))>
3777166: static true_type __test(int);
3777166:
3777166: template<typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: struct __do_is_nothrow_swappable_impl
3777166: {
3777166: template<typename _Tp>
3777166: static __bool_constant<
3777166: noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>()))
3777166: > __test(int);
3777166:
3777166: template<typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: }
3777166:
3777166: template<typename _Tp>
3777166: struct __is_swappable_impl
3777166: : public __swappable_details::__do_is_swappable_impl
3777166: {
3777166: typedef decltype(__test<_Tp>(0)) type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_swappable_impl
3777166: : public __swappable_details::__do_is_nothrow_swappable_impl
3777166: {
3777166: typedef decltype(__test<_Tp>(0)) type;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_swappable
3777166: : public __is_swappable_impl<_Tp>::type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_swappable
3777166: : public __is_nothrow_swappable_impl<_Tp>::type
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_swappable
3777166: : public __is_swappable_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_nothrow_swappable
3777166: : public __is_nothrow_swappable_impl<_Tp>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr bool is_swappable_v =
3777166: is_swappable<_Tp>::value;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr bool is_nothrow_swappable_v =
3777166: is_nothrow_swappable<_Tp>::value;
3777166:
3777166:
3777166: namespace __swappable_with_details {
3777166: using std::swap;
3777166:
3777166: struct __do_is_swappable_with_impl
3777166: {
3777166: template<typename _Tp, typename _Up, typename
3777166: = decltype(swap(std::declval<_Tp>(), std::declval<_Up>())),
3777166: typename
3777166: = decltype(swap(std::declval<_Up>(), std::declval<_Tp>()))>
3777166: static true_type __test(int);
3777166:
3777166: template<typename, typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: struct __do_is_nothrow_swappable_with_impl
3777166: {
3777166: template<typename _Tp, typename _Up>
3777166: static __bool_constant<
3777166: noexcept(swap(std::declval<_Tp>(), std::declval<_Up>()))
3777166: &&
3777166: noexcept(swap(std::declval<_Up>(), std::declval<_Tp>()))
3777166: > __test(int);
3777166:
3777166: template<typename, typename>
3777166: static false_type __test(...);
3777166: };
3777166:
3777166: }
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __is_swappable_with_impl
3777166: : public __swappable_with_details::__do_is_swappable_with_impl
3777166: {
3777166: typedef decltype(__test<_Tp, _Up>(0)) type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_swappable_with_impl<_Tp&, _Tp&>
3777166: : public __swappable_details::__do_is_swappable_impl
3777166: {
3777166: typedef decltype(__test<_Tp&>(0)) type;
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __is_nothrow_swappable_with_impl
3777166: : public __swappable_with_details::__do_is_nothrow_swappable_with_impl
3777166: {
3777166: typedef decltype(__test<_Tp, _Up>(0)) type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_nothrow_swappable_with_impl<_Tp&, _Tp&>
3777166: : public __swappable_details::__do_is_nothrow_swappable_impl
3777166: {
3777166: typedef decltype(__test<_Tp&>(0)) type;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_swappable_with
3777166: : public __is_swappable_with_impl<_Tp, _Up>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct is_nothrow_swappable_with
3777166: : public __is_nothrow_swappable_with_impl<_Tp, _Up>::type
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: inline constexpr bool is_swappable_with_v =
3777166: is_swappable_with<_Tp, _Up>::value;
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: inline constexpr bool is_nothrow_swappable_with_v =
3777166: is_nothrow_swappable_with<_Tp, _Up>::value;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Result, typename _Ret,
3777166: bool = is_void<_Ret>::value, typename = void>
3777166: struct __is_invocable_impl : false_type { };
3777166:
3777166:
3777166: template<typename _Result, typename _Ret>
3777166: struct __is_invocable_impl<_Result, _Ret,
3777166: true,
3777166: __void_t<typename _Result::type>>
3777166: : true_type
3777166: { };
3777166:
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
3777166:
3777166: template<typename _Result, typename _Ret>
3777166: struct __is_invocable_impl<_Result, _Ret,
3777166: false,
3777166: __void_t<typename _Result::type>>
3777166: {
3777166: private:
3777166:
3777166:
3777166: static typename _Result::type _S_get();
3777166:
3777166: template<typename _Tp>
3777166: static void _S_conv(_Tp);
3777166:
3777166:
3777166: template<typename _Tp, typename = decltype(_S_conv<_Tp>(_S_get()))>
3777166: static true_type
3777166: _S_test(int);
3777166:
3777166: template<typename _Tp>
3777166: static false_type
3777166: _S_test(...);
3777166:
3777166: public:
3777166: using type = decltype(_S_test<_Ret>(1));
3777166: };
3777166: #pragma GCC diagnostic pop
3777166:
3777166: template<typename _Fn, typename... _ArgTypes>
3777166: struct __is_invocable
3777166: : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type
3777166: { };
3777166:
3777166: template<typename _Fn, typename _Tp, typename... _Args>
3777166: constexpr bool __call_is_nt(__invoke_memfun_ref)
3777166: {
3777166: using _Up = typename __inv_unwrap<_Tp>::type;
3777166: return noexcept((std::declval<_Up>().*std::declval<_Fn>())(
3777166: std::declval<_Args>()...));
3777166: }
3777166:
3777166: template<typename _Fn, typename _Tp, typename... _Args>
3777166: constexpr bool __call_is_nt(__invoke_memfun_deref)
3777166: {
3777166: return noexcept(((*std::declval<_Tp>()).*std::declval<_Fn>())(
3777166: std::declval<_Args>()...));
3777166: }
3777166:
3777166: template<typename _Fn, typename _Tp>
3777166: constexpr bool __call_is_nt(__invoke_memobj_ref)
3777166: {
3777166: using _Up = typename __inv_unwrap<_Tp>::type;
3777166: return noexcept(std::declval<_Up>().*std::declval<_Fn>());
3777166: }
3777166:
3777166: template<typename _Fn, typename _Tp>
3777166: constexpr bool __call_is_nt(__invoke_memobj_deref)
3777166: {
3777166: return noexcept((*std::declval<_Tp>()).*std::declval<_Fn>());
3777166: }
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: constexpr bool __call_is_nt(__invoke_other)
3777166: {
3777166: return noexcept(std::declval<_Fn>()(std::declval<_Args>()...));
3777166: }
3777166:
3777166: template<typename _Result, typename _Fn, typename... _Args>
3777166: struct __call_is_nothrow
3777166: : __bool_constant<
3777166: std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{})
3777166: >
3777166: { };
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: using __call_is_nothrow_
3777166: = __call_is_nothrow<__invoke_result<_Fn, _Args...>, _Fn, _Args...>;
3777166:
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: struct __is_nothrow_invocable
3777166: : __and_<__is_invocable<_Fn, _Args...>,
3777166: __call_is_nothrow_<_Fn, _Args...>>::type
3777166: { };
3777166:
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
3777166: struct __nonesuchbase {};
3777166: struct __nonesuch : private __nonesuchbase {
3777166: ~__nonesuch() = delete;
3777166: __nonesuch(__nonesuch const&) = delete;
3777166: void operator=(__nonesuch const&) = delete;
3777166: };
3777166: #pragma GCC diagnostic pop
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Functor, typename... _ArgTypes>
3777166: struct invoke_result
3777166: : public __invoke_result<_Functor, _ArgTypes...>
3777166: { };
3777166:
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
3777166:
3777166:
3777166: template<typename _Fn, typename... _ArgTypes>
3777166: struct is_invocable
3777166: : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Fn>{}),
3777166: "_Fn must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Ret, typename _Fn, typename... _ArgTypes>
3777166: struct is_invocable_r
3777166: : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, _Ret>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Fn>{}),
3777166: "_Fn must be a complete class or an unbounded array");
3777166: };
3777166:
3777166:
3777166: template<typename _Fn, typename... _ArgTypes>
3777166: struct is_nothrow_invocable
3777166: : __and_<__is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>,
3777166: __call_is_nothrow_<_Fn, _ArgTypes...>>::type
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Fn>{}),
3777166: "_Fn must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Result, typename _Ret, typename = void>
3777166: struct __is_nt_invocable_impl : false_type { };
3777166:
3777166: template<typename _Result, typename _Ret>
3777166: struct __is_nt_invocable_impl<_Result, _Ret,
3777166: __void_t<typename _Result::type>>
3777166: : __or_<is_void<_Ret>,
3777166: __is_nothrow_convertible<typename _Result::type, _Ret>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Ret, typename _Fn, typename... _ArgTypes>
3777166: struct is_nothrow_invocable_r
3777166: : __and_<__is_nt_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, _Ret>,
3777166: __call_is_nothrow_<_Fn, _ArgTypes...>>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: inline constexpr bool is_invocable_v = is_invocable<_Fn, _Args...>::value;
3777166:
3777166:
3777166: template<typename _Fn, typename... _Args>
3777166: inline constexpr bool is_nothrow_invocable_v
3777166: = is_nothrow_invocable<_Fn, _Args...>::value;
3777166:
3777166:
3777166: template<typename _Ret, typename _Fn, typename... _Args>
3777166: inline constexpr bool is_invocable_r_v
3777166: = is_invocable_r<_Ret, _Fn, _Args...>::value;
3777166:
3777166:
3777166: template<typename _Ret, typename _Fn, typename... _Args>
3777166: inline constexpr bool is_nothrow_invocable_r_v
3777166: = is_nothrow_invocable_r<_Ret, _Fn, _Args...>::value;
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp>
3777166: inline constexpr bool is_void_v = is_void<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_null_pointer_v = is_null_pointer<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_integral_v = is_integral<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_floating_point_v = is_floating_point<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_array_v = is_array<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_pointer_v = is_pointer<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_lvalue_reference_v =
3777166: is_lvalue_reference<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_rvalue_reference_v =
3777166: is_rvalue_reference<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_member_object_pointer_v =
3777166: is_member_object_pointer<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_member_function_pointer_v =
3777166: is_member_function_pointer<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_enum_v = is_enum<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_union_v = is_union<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_class_v = is_class<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_function_v = is_function<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_reference_v = is_reference<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_arithmetic_v = is_arithmetic<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_fundamental_v = is_fundamental<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_object_v = is_object<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_scalar_v = is_scalar<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_compound_v = is_compound<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_member_pointer_v = is_member_pointer<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_const_v = is_const<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_volatile_v = is_volatile<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivial_v = is_trivial<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_copyable_v =
3777166: is_trivially_copyable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_standard_layout_v = is_standard_layout<_Tp>::value;
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
3777166: template <typename _Tp>
3777166:
3777166: inline constexpr bool is_pod_v = is_pod<_Tp>::value;
3777166: #pragma GCC diagnostic pop
3777166: template <typename _Tp>
3777166: inline constexpr bool is_literal_type_v = is_literal_type<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_empty_v = is_empty<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_polymorphic_v = is_polymorphic<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_abstract_v = is_abstract<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_final_v = is_final<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_signed_v = is_signed<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_unsigned_v = is_unsigned<_Tp>::value;
3777166: template <typename _Tp, typename... _Args>
3777166: inline constexpr bool is_constructible_v =
3777166: is_constructible<_Tp, _Args...>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_default_constructible_v =
3777166: is_default_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_copy_constructible_v =
3777166: is_copy_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_move_constructible_v =
3777166: is_move_constructible<_Tp>::value;
3777166: template <typename _Tp, typename _Up>
3777166: inline constexpr bool is_assignable_v = is_assignable<_Tp, _Up>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_copy_assignable_v = is_copy_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_move_assignable_v = is_move_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_destructible_v = is_destructible<_Tp>::value;
3777166: template <typename _Tp, typename... _Args>
3777166: inline constexpr bool is_trivially_constructible_v =
3777166: is_trivially_constructible<_Tp, _Args...>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_default_constructible_v =
3777166: is_trivially_default_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_copy_constructible_v =
3777166: is_trivially_copy_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_move_constructible_v =
3777166: is_trivially_move_constructible<_Tp>::value;
3777166: template <typename _Tp, typename _Up>
3777166: inline constexpr bool is_trivially_assignable_v =
3777166: is_trivially_assignable<_Tp, _Up>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_copy_assignable_v =
3777166: is_trivially_copy_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_move_assignable_v =
3777166: is_trivially_move_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_trivially_destructible_v =
3777166: is_trivially_destructible<_Tp>::value;
3777166: template <typename _Tp, typename... _Args>
3777166: inline constexpr bool is_nothrow_constructible_v =
3777166: is_nothrow_constructible<_Tp, _Args...>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_default_constructible_v =
3777166: is_nothrow_default_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_copy_constructible_v =
3777166: is_nothrow_copy_constructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_move_constructible_v =
3777166: is_nothrow_move_constructible<_Tp>::value;
3777166: template <typename _Tp, typename _Up>
3777166: inline constexpr bool is_nothrow_assignable_v =
3777166: is_nothrow_assignable<_Tp, _Up>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_copy_assignable_v =
3777166: is_nothrow_copy_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_move_assignable_v =
3777166: is_nothrow_move_assignable<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool is_nothrow_destructible_v =
3777166: is_nothrow_destructible<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr bool has_virtual_destructor_v =
3777166: has_virtual_destructor<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr size_t alignment_of_v = alignment_of<_Tp>::value;
3777166: template <typename _Tp>
3777166: inline constexpr size_t rank_v = rank<_Tp>::value;
3777166: template <typename _Tp, unsigned _Idx = 0>
3777166: inline constexpr size_t extent_v = extent<_Tp, _Idx>::value;
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: inline constexpr bool is_same_v = __is_same_as(_Tp, _Up);
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Base, typename _Derived>
3777166: inline constexpr bool is_base_of_v = is_base_of<_Base, _Derived>::value;
3777166: template <typename _From, typename _To>
3777166: inline constexpr bool is_convertible_v = is_convertible<_From, _To>::value;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct has_unique_object_representations
3777166: : bool_constant<__has_unique_object_representations(
3777166: remove_cv_t<remove_all_extents_t<_Tp>>
3777166: )>
3777166: {
3777166: static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
3777166: "template argument must be a complete class or an unbounded array");
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr bool has_unique_object_representations_v
3777166: = has_unique_object_representations<_Tp>::value;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct is_aggregate
3777166: : bool_constant<__is_aggregate(remove_cv_t<_Tp>)>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr bool is_aggregate_v = is_aggregate<_Tp>::value;
3777166: # 3455 "/usr/include/c++/10/type_traits" 3
3777166:
3777166: }
3777166: # 58 "/usr/include/c++/10/bits/move.h" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 74 "/usr/include/c++/10/bits/move.h" 3
3777166: template<typename _Tp>
3777166: constexpr _Tp&&
3777166: forward(typename std::remove_reference<_Tp>::type& __t) noexcept
3777166: { return static_cast<_Tp&&>(__t); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: constexpr _Tp&&
3777166: forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
3777166: {
3777166: static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument"
3777166: " substituting _Tp is an lvalue reference type");
3777166: return static_cast<_Tp&&>(__t);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: constexpr typename std::remove_reference<_Tp>::type&&
3777166: move(_Tp&& __t) noexcept
3777166: { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __move_if_noexcept_cond
3777166: : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
3777166: is_copy_constructible<_Tp>>::type { };
3777166: # 118 "/usr/include/c++/10/bits/move.h" 3
3777166: template<typename _Tp>
3777166: constexpr typename
3777166: conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type
3777166: move_if_noexcept(_Tp& __x) noexcept
3777166: { return std::move(__x); }
3777166: # 138 "/usr/include/c++/10/bits/move.h" 3
3777166: template<typename _Tp>
3777166: inline constexpr _Tp*
3777166: addressof(_Tp& __r) noexcept
3777166: { return std::__addressof(__r); }
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: const _Tp* addressof(const _Tp&&) = delete;
3777166:
3777166:
3777166: template <typename _Tp, typename _Up = _Tp>
3777166:
3777166: inline _Tp
3777166: __exchange(_Tp& __obj, _Up&& __new_val)
3777166: {
3777166: _Tp __old_val = std::move(__obj);
3777166: __obj = std::forward<_Up>(__new_val);
3777166: return __old_val;
3777166: }
3777166: # 179 "/usr/include/c++/10/bits/move.h" 3
3777166: template<typename _Tp>
3777166:
3777166: inline
3777166:
3777166: typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>,
3777166: is_move_constructible<_Tp>,
3777166: is_move_assignable<_Tp>>::value>::type
3777166:
3777166:
3777166:
3777166: swap(_Tp& __a, _Tp& __b)
3777166: noexcept(__and_<is_nothrow_move_constructible<_Tp>, is_nothrow_move_assignable<_Tp>>::value)
3777166:
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: _Tp __tmp = std::move(__a);
3777166: __a = std::move(__b);
3777166: __b = std::move(__tmp);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166:
3777166: inline
3777166:
3777166: typename enable_if<__is_swappable<_Tp>::value>::type
3777166:
3777166:
3777166:
3777166: swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
3777166: noexcept(__is_nothrow_swappable<_Tp>::value)
3777166: {
3777166: for (size_t __n = 0; __n < _Nm; ++__n)
3777166: swap(__a[__n], __b[__n]);
3777166: }
3777166:
3777166:
3777166:
3777166: }
3777166: # 60 "/usr/include/c++/10/bits/stl_pair.h" 2 3
3777166: # 69 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 80 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: struct piecewise_construct_t { explicit piecewise_construct_t() = default; };
3777166:
3777166:
3777166: inline constexpr piecewise_construct_t piecewise_construct =
3777166: piecewise_construct_t();
3777166:
3777166:
3777166:
3777166:
3777166: template<typename...>
3777166: class tuple;
3777166:
3777166: template<std::size_t...>
3777166: struct _Index_tuple;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <bool, typename _T1, typename _T2>
3777166: struct _PCC
3777166: {
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ConstructiblePair()
3777166: {
3777166: return __and_<is_constructible<_T1, const _U1&>,
3777166: is_constructible<_T2, const _U2&>>::value;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ImplicitlyConvertiblePair()
3777166: {
3777166: return __and_<is_convertible<const _U1&, _T1>,
3777166: is_convertible<const _U2&, _T2>>::value;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _MoveConstructiblePair()
3777166: {
3777166: return __and_<is_constructible<_T1, _U1&&>,
3777166: is_constructible<_T2, _U2&&>>::value;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ImplicitlyMoveConvertiblePair()
3777166: {
3777166: return __and_<is_convertible<_U1&&, _T1>,
3777166: is_convertible<_U2&&, _T2>>::value;
3777166: }
3777166:
3777166: template <bool __implicit, typename _U1, typename _U2>
3777166: static constexpr bool _CopyMovePair()
3777166: {
3777166: using __do_converts = __and_<is_convertible<const _U1&, _T1>,
3777166: is_convertible<_U2&&, _T2>>;
3777166: using __converts = typename conditional<__implicit,
3777166: __do_converts,
3777166: __not_<__do_converts>>::type;
3777166: return __and_<is_constructible<_T1, const _U1&>,
3777166: is_constructible<_T2, _U2&&>,
3777166: __converts
3777166: >::value;
3777166: }
3777166:
3777166: template <bool __implicit, typename _U1, typename _U2>
3777166: static constexpr bool _MoveCopyPair()
3777166: {
3777166: using __do_converts = __and_<is_convertible<_U1&&, _T1>,
3777166: is_convertible<const _U2&, _T2>>;
3777166: using __converts = typename conditional<__implicit,
3777166: __do_converts,
3777166: __not_<__do_converts>>::type;
3777166: return __and_<is_constructible<_T1, _U1&&>,
3777166: is_constructible<_T2, const _U2&&>,
3777166: __converts
3777166: >::value;
3777166: }
3777166: };
3777166:
3777166: template <typename _T1, typename _T2>
3777166: struct _PCC<false, _T1, _T2>
3777166: {
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ConstructiblePair()
3777166: {
3777166: return false;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ImplicitlyConvertiblePair()
3777166: {
3777166: return false;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _MoveConstructiblePair()
3777166: {
3777166: return false;
3777166: }
3777166:
3777166: template <typename _U1, typename _U2>
3777166: static constexpr bool _ImplicitlyMoveConvertiblePair()
3777166: {
3777166: return false;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _U1, typename _U2> class __pair_base
3777166: {
3777166:
3777166: template<typename _T1, typename _T2> friend struct pair;
3777166: __pair_base() = default;
3777166: ~__pair_base() = default;
3777166: __pair_base(const __pair_base&) = default;
3777166: __pair_base& operator=(const __pair_base&) = delete;
3777166:
3777166: };
3777166: # 210 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: template<typename _T1, typename _T2>
3777166: struct pair
3777166: : private __pair_base<_T1, _T2>
3777166: {
3777166: typedef _T1 first_type;
3777166: typedef _T2 second_type;
3777166:
3777166: _T1 first;
3777166: _T2 second;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _U1 = _T1,
3777166: typename _U2 = _T2,
3777166: typename enable_if<__and_<
3777166: __is_implicitly_default_constructible<_U1>,
3777166: __is_implicitly_default_constructible<_U2>>
3777166: ::value, bool>::type = true>
3777166:
3777166: constexpr pair()
3777166: : first(), second() { }
3777166:
3777166:
3777166: template <typename _U1 = _T1,
3777166: typename _U2 = _T2,
3777166: typename enable_if<__and_<
3777166: is_default_constructible<_U1>,
3777166: is_default_constructible<_U2>,
3777166: __not_<
3777166: __and_<__is_implicitly_default_constructible<_U1>,
3777166: __is_implicitly_default_constructible<_U2>>>>
3777166: ::value, bool>::type = false>
3777166: explicit constexpr pair()
3777166: : first(), second() { }
3777166: # 256 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: using _PCCP = _PCC<true, _T1, _T2>;
3777166:
3777166:
3777166:
3777166: template<typename _U1 = _T1, typename _U2=_T2, typename
3777166: enable_if<_PCCP::template
3777166: _ConstructiblePair<_U1, _U2>()
3777166: && _PCCP::template
3777166: _ImplicitlyConvertiblePair<_U1, _U2>(),
3777166: bool>::type=true>
3777166: constexpr pair(const _T1& __a, const _T2& __b)
3777166: : first(__a), second(__b) { }
3777166:
3777166:
3777166: template<typename _U1 = _T1, typename _U2=_T2, typename
3777166: enable_if<_PCCP::template
3777166: _ConstructiblePair<_U1, _U2>()
3777166: && !_PCCP::template
3777166: _ImplicitlyConvertiblePair<_U1, _U2>(),
3777166: bool>::type=false>
3777166: explicit constexpr pair(const _T1& __a, const _T2& __b)
3777166: : first(__a), second(__b) { }
3777166: # 288 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: template <typename _U1, typename _U2>
3777166: using _PCCFP = _PCC<!is_same<_T1, _U1>::value
3777166: || !is_same<_T2, _U2>::value,
3777166: _T1, _T2>;
3777166:
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCFP<_U1, _U2>::template
3777166: _ConstructiblePair<_U1, _U2>()
3777166: && _PCCFP<_U1, _U2>::template
3777166: _ImplicitlyConvertiblePair<_U1, _U2>(),
3777166: bool>::type=true>
3777166: constexpr pair(const pair<_U1, _U2>& __p)
3777166: : first(__p.first), second(__p.second) { }
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCFP<_U1, _U2>::template
3777166: _ConstructiblePair<_U1, _U2>()
3777166: && !_PCCFP<_U1, _U2>::template
3777166: _ImplicitlyConvertiblePair<_U1, _U2>(),
3777166: bool>::type=false>
3777166: explicit constexpr pair(const pair<_U1, _U2>& __p)
3777166: : first(__p.first), second(__p.second) { }
3777166:
3777166:
3777166:
3777166: constexpr pair(const pair&) = default;
3777166: constexpr pair(pair&&) = default;
3777166:
3777166:
3777166: template<typename _U1, typename
3777166: enable_if<_PCCP::template
3777166: _MoveCopyPair<true, _U1, _T2>(),
3777166: bool>::type=true>
3777166: constexpr pair(_U1&& __x, const _T2& __y)
3777166: : first(std::forward<_U1>(__x)), second(__y) { }
3777166:
3777166: template<typename _U1, typename
3777166: enable_if<_PCCP::template
3777166: _MoveCopyPair<false, _U1, _T2>(),
3777166: bool>::type=false>
3777166: explicit constexpr pair(_U1&& __x, const _T2& __y)
3777166: : first(std::forward<_U1>(__x)), second(__y) { }
3777166:
3777166: template<typename _U2, typename
3777166: enable_if<_PCCP::template
3777166: _CopyMovePair<true, _T1, _U2>(),
3777166: bool>::type=true>
3777166: constexpr pair(const _T1& __x, _U2&& __y)
3777166: : first(__x), second(std::forward<_U2>(__y)) { }
3777166:
3777166: template<typename _U2, typename
3777166: enable_if<_PCCP::template
3777166: _CopyMovePair<false, _T1, _U2>(),
3777166: bool>::type=false>
3777166: explicit pair(const _T1& __x, _U2&& __y)
3777166: : first(__x), second(std::forward<_U2>(__y)) { }
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCP::template
3777166: _MoveConstructiblePair<_U1, _U2>()
3777166: && _PCCP::template
3777166: _ImplicitlyMoveConvertiblePair<_U1, _U2>(),
3777166: bool>::type=true>
3777166: constexpr pair(_U1&& __x, _U2&& __y)
3777166: : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCP::template
3777166: _MoveConstructiblePair<_U1, _U2>()
3777166: && !_PCCP::template
3777166: _ImplicitlyMoveConvertiblePair<_U1, _U2>(),
3777166: bool>::type=false>
3777166: explicit constexpr pair(_U1&& __x, _U2&& __y)
3777166: : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
3777166:
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCFP<_U1, _U2>::template
3777166: _MoveConstructiblePair<_U1, _U2>()
3777166: && _PCCFP<_U1, _U2>::template
3777166: _ImplicitlyMoveConvertiblePair<_U1, _U2>(),
3777166: bool>::type=true>
3777166: constexpr pair(pair<_U1, _U2>&& __p)
3777166: : first(std::forward<_U1>(__p.first)),
3777166: second(std::forward<_U2>(__p.second)) { }
3777166:
3777166: template<typename _U1, typename _U2, typename
3777166: enable_if<_PCCFP<_U1, _U2>::template
3777166: _MoveConstructiblePair<_U1, _U2>()
3777166: && !_PCCFP<_U1, _U2>::template
3777166: _ImplicitlyMoveConvertiblePair<_U1, _U2>(),
3777166: bool>::type=false>
3777166: explicit constexpr pair(pair<_U1, _U2>&& __p)
3777166: : first(std::forward<_U1>(__p.first)),
3777166: second(std::forward<_U2>(__p.second)) { }
3777166:
3777166: template<typename... _Args1, typename... _Args2>
3777166:
3777166: pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>);
3777166:
3777166: pair&
3777166: operator=(typename conditional<
3777166: __and_<is_copy_assignable<_T1>,
3777166: is_copy_assignable<_T2>>::value,
3777166: const pair&, const __nonesuch&>::type __p)
3777166: {
3777166: first = __p.first;
3777166: second = __p.second;
3777166: return *this;
3777166: }
3777166:
3777166: pair&
3777166: operator=(typename conditional<
3777166: __and_<is_move_assignable<_T1>,
3777166: is_move_assignable<_T2>>::value,
3777166: pair&&, __nonesuch&&>::type __p)
3777166: noexcept(__and_<is_nothrow_move_assignable<_T1>,
3777166: is_nothrow_move_assignable<_T2>>::value)
3777166: {
3777166: first = std::forward<first_type>(__p.first);
3777166: second = std::forward<second_type>(__p.second);
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
3777166: is_assignable<_T2&, const _U2&>>::value,
3777166: pair&>::type
3777166: operator=(const pair<_U1, _U2>& __p)
3777166: {
3777166: first = __p.first;
3777166: second = __p.second;
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
3777166: is_assignable<_T2&, _U2&&>>::value,
3777166: pair&>::type
3777166: operator=(pair<_U1, _U2>&& __p)
3777166: {
3777166: first = std::forward<_U1>(__p.first);
3777166: second = std::forward<_U2>(__p.second);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: void
3777166: swap(pair& __p)
3777166: noexcept(__and_<__is_nothrow_swappable<_T1>,
3777166: __is_nothrow_swappable<_T2>>::value)
3777166: {
3777166: using std::swap;
3777166: swap(first, __p.first);
3777166: swap(second, __p.second);
3777166: }
3777166:
3777166: private:
3777166: template<typename... _Args1, std::size_t... _Indexes1,
3777166: typename... _Args2, std::size_t... _Indexes2>
3777166:
3777166: pair(tuple<_Args1...>&, tuple<_Args2...>&,
3777166: _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _T1, typename _T2> pair(_T1, _T2) -> pair<_T1, _T2>;
3777166:
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return __x.first == __y.first && __x.second == __y.second; }
3777166: # 487 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return __x.first < __y.first
3777166: || (!(__y.first < __x.first) && __x.second < __y.second); }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return !(__x == __y); }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return __y < __x; }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return !(__y < __x); }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline constexpr bool
3777166: operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
3777166: { return !(__x < __y); }
3777166: # 524 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: template<typename _T1, typename _T2>
3777166: inline
3777166:
3777166:
3777166: typename enable_if<__and_<__is_swappable<_T1>,
3777166: __is_swappable<_T2>>::value>::type
3777166:
3777166:
3777166:
3777166: swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y)
3777166: noexcept(noexcept(__x.swap(__y)))
3777166: { __x.swap(__y); }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: typename enable_if<!__and_<__is_swappable<_T1>,
3777166: __is_swappable<_T2>>::value>::type
3777166: swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete;
3777166: # 564 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166: template<typename _T1, typename _T2>
3777166: constexpr pair<typename __decay_and_strip<_T1>::__type,
3777166: typename __decay_and_strip<_T2>::__type>
3777166: make_pair(_T1&& __x, _T2&& __y)
3777166: {
3777166: typedef typename __decay_and_strip<_T1>::__type __ds_type1;
3777166: typedef typename __decay_and_strip<_T2>::__type __ds_type2;
3777166: typedef pair<__ds_type1, __ds_type2> __pair_type;
3777166: return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y));
3777166: }
3777166: # 583 "/usr/include/c++/10/bits/stl_pair.h" 3
3777166:
3777166: }
3777166: # 65 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 1 3
3777166: # 62 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166:
3777166: # 63 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: # 74 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 93 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: struct input_iterator_tag { };
3777166:
3777166:
3777166: struct output_iterator_tag { };
3777166:
3777166:
3777166: struct forward_iterator_tag : public input_iterator_tag { };
3777166:
3777166:
3777166:
3777166: struct bidirectional_iterator_tag : public forward_iterator_tag { };
3777166:
3777166:
3777166:
3777166: struct random_access_iterator_tag : public bidirectional_iterator_tag { };
3777166: # 125 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
3777166: typename _Pointer = _Tp*, typename _Reference = _Tp&>
3777166: struct iterator
3777166: {
3777166:
3777166: typedef _Category iterator_category;
3777166:
3777166: typedef _Tp value_type;
3777166:
3777166: typedef _Distance difference_type;
3777166:
3777166: typedef _Pointer pointer;
3777166:
3777166: typedef _Reference reference;
3777166: };
3777166: # 149 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: template<typename _Iterator>
3777166: struct iterator_traits;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iterator, typename = __void_t<>>
3777166: struct __iterator_traits { };
3777166:
3777166:
3777166:
3777166: template<typename _Iterator>
3777166: struct __iterator_traits<_Iterator,
3777166: __void_t<typename _Iterator::iterator_category,
3777166: typename _Iterator::value_type,
3777166: typename _Iterator::difference_type,
3777166: typename _Iterator::pointer,
3777166: typename _Iterator::reference>>
3777166: {
3777166: typedef typename _Iterator::iterator_category iterator_category;
3777166: typedef typename _Iterator::value_type value_type;
3777166: typedef typename _Iterator::difference_type difference_type;
3777166: typedef typename _Iterator::pointer pointer;
3777166: typedef typename _Iterator::reference reference;
3777166: };
3777166:
3777166:
3777166: template<typename _Iterator>
3777166: struct iterator_traits
3777166: : public __iterator_traits<_Iterator> { };
3777166: # 209 "/usr/include/c++/10/bits/stl_iterator_base_types.h" 3
3777166: template<typename _Tp>
3777166: struct iterator_traits<_Tp*>
3777166: {
3777166: typedef random_access_iterator_tag iterator_category;
3777166: typedef _Tp value_type;
3777166: typedef ptrdiff_t difference_type;
3777166: typedef _Tp* pointer;
3777166: typedef _Tp& reference;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct iterator_traits<const _Tp*>
3777166: {
3777166: typedef random_access_iterator_tag iterator_category;
3777166: typedef _Tp value_type;
3777166: typedef ptrdiff_t difference_type;
3777166: typedef const _Tp* pointer;
3777166: typedef const _Tp& reference;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iter>
3777166: inline constexpr
3777166: typename iterator_traits<_Iter>::iterator_category
3777166: __iterator_category(const _Iter&)
3777166: { return typename iterator_traits<_Iter>::iterator_category(); }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iter>
3777166: using __iterator_category_t
3777166: = typename iterator_traits<_Iter>::iterator_category;
3777166:
3777166: template<typename _InIter>
3777166: using _RequireInputIter =
3777166: __enable_if_t<is_convertible<__iterator_category_t<_InIter>,
3777166: input_iterator_tag>::value>;
3777166:
3777166: template<typename _It,
3777166: typename _Cat = __iterator_category_t<_It>>
3777166: struct __is_random_access_iter
3777166: : is_base_of<random_access_iterator_tag, _Cat>
3777166: {
3777166: typedef is_base_of<random_access_iterator_tag, _Cat> _Base;
3777166: enum { __value = _Base::value };
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 66 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 1 3
3777166: # 62 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 3
3777166:
3777166: # 63 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/concept_check.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/concept_check.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/concept_check.h" 3
3777166: # 65 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 2 3
3777166: # 1 "/usr/include/c++/10/debug/assertions.h" 1 3
3777166: # 66 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: template <typename> struct _List_iterator;
3777166: template <typename> struct _List_const_iterator;
3777166:
3777166:
3777166: template<typename _InputIterator>
3777166: inline constexpr
3777166: typename iterator_traits<_InputIterator>::difference_type
3777166: __distance(_InputIterator __first, _InputIterator __last,
3777166: input_iterator_tag)
3777166: {
3777166:
3777166:
3777166:
3777166: typename iterator_traits<_InputIterator>::difference_type __n = 0;
3777166: while (__first != __last)
3777166: {
3777166: ++__first;
3777166: ++__n;
3777166: }
3777166: return __n;
3777166: }
3777166:
3777166: template<typename _RandomAccessIterator>
3777166: inline constexpr
3777166: typename iterator_traits<_RandomAccessIterator>::difference_type
3777166: __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
3777166: random_access_iterator_tag)
3777166: {
3777166:
3777166:
3777166:
3777166: return __last - __first;
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: ptrdiff_t
3777166: __distance(std::_List_iterator<_Tp>,
3777166: std::_List_iterator<_Tp>,
3777166: input_iterator_tag);
3777166:
3777166: template<typename _Tp>
3777166: ptrdiff_t
3777166: __distance(std::_List_const_iterator<_Tp>,
3777166: std::_List_const_iterator<_Tp>,
3777166: input_iterator_tag);
3777166: # 135 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 3
3777166: template<typename _InputIterator>
3777166: inline constexpr
3777166: typename iterator_traits<_InputIterator>::difference_type
3777166: distance(_InputIterator __first, _InputIterator __last)
3777166: {
3777166:
3777166: return std::__distance(__first, __last,
3777166: std::__iterator_category(__first));
3777166: }
3777166:
3777166: template<typename _InputIterator, typename _Distance>
3777166: inline constexpr void
3777166: __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
3777166: {
3777166:
3777166:
3777166: ;
3777166: while (__n--)
3777166: ++__i;
3777166: }
3777166:
3777166: template<typename _BidirectionalIterator, typename _Distance>
3777166: inline constexpr void
3777166: __advance(_BidirectionalIterator& __i, _Distance __n,
3777166: bidirectional_iterator_tag)
3777166: {
3777166:
3777166:
3777166:
3777166: if (__n > 0)
3777166: while (__n--)
3777166: ++__i;
3777166: else
3777166: while (__n++)
3777166: --__i;
3777166: }
3777166:
3777166: template<typename _RandomAccessIterator, typename _Distance>
3777166: inline constexpr void
3777166: __advance(_RandomAccessIterator& __i, _Distance __n,
3777166: random_access_iterator_tag)
3777166: {
3777166:
3777166:
3777166:
3777166: if (__builtin_constant_p(__n) && __n == 1)
3777166: ++__i;
3777166: else if (__builtin_constant_p(__n) && __n == -1)
3777166: --__i;
3777166: else
3777166: __i += __n;
3777166: }
3777166: # 200 "/usr/include/c++/10/bits/stl_iterator_base_funcs.h" 3
3777166: template<typename _InputIterator, typename _Distance>
3777166: inline constexpr void
3777166: advance(_InputIterator& __i, _Distance __n)
3777166: {
3777166:
3777166: typename iterator_traits<_InputIterator>::difference_type __d = __n;
3777166: std::__advance(__i, __d, std::__iterator_category(__i));
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _InputIterator>
3777166: inline constexpr _InputIterator
3777166: next(_InputIterator __x, typename
3777166: iterator_traits<_InputIterator>::difference_type __n = 1)
3777166: {
3777166:
3777166:
3777166: std::advance(__x, __n);
3777166: return __x;
3777166: }
3777166:
3777166: template<typename _BidirectionalIterator>
3777166: inline constexpr _BidirectionalIterator
3777166: prev(_BidirectionalIterator __x, typename
3777166: iterator_traits<_BidirectionalIterator>::difference_type __n = 1)
3777166: {
3777166:
3777166:
3777166:
3777166: std::advance(__x, -__n);
3777166: return __x;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 67 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_iterator.h" 1 3
3777166: # 66 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: # 1 "/usr/include/c++/10/bits/ptr_traits.h" 1 3
3777166: # 42 "/usr/include/c++/10/bits/ptr_traits.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: class __undefined;
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __get_first_arg
3777166: { using type = __undefined; };
3777166:
3777166: template<template<typename, typename...> class _Template, typename _Tp,
3777166: typename... _Types>
3777166: struct __get_first_arg<_Template<_Tp, _Types...>>
3777166: { using type = _Tp; };
3777166:
3777166: template<typename _Tp>
3777166: using __get_first_arg_t = typename __get_first_arg<_Tp>::type;
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __replace_first_arg
3777166: { };
3777166:
3777166: template<template<typename, typename...> class _Template, typename _Up,
3777166: typename _Tp, typename... _Types>
3777166: struct __replace_first_arg<_Template<_Tp, _Types...>, _Up>
3777166: { using type = _Template<_Up, _Types...>; };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: using __replace_first_arg_t = typename __replace_first_arg<_Tp, _Up>::type;
3777166:
3777166: template<typename _Tp>
3777166: using __make_not_void
3777166: = typename conditional<is_void<_Tp>::value, __undefined, _Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Ptr>
3777166: struct pointer_traits
3777166: {
3777166: private:
3777166: template<typename _Tp>
3777166: using __element_type = typename _Tp::element_type;
3777166:
3777166: template<typename _Tp>
3777166: using __difference_type = typename _Tp::difference_type;
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __rebind : __replace_first_arg<_Tp, _Up> { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __rebind<_Tp, _Up, __void_t<typename _Tp::template rebind<_Up>>>
3777166: { using type = typename _Tp::template rebind<_Up>; };
3777166:
3777166: public:
3777166:
3777166: using pointer = _Ptr;
3777166:
3777166:
3777166: using element_type
3777166: = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>;
3777166:
3777166:
3777166: using difference_type
3777166: = __detected_or_t<ptrdiff_t, __difference_type, _Ptr>;
3777166:
3777166:
3777166: template<typename _Up>
3777166: using rebind = typename __rebind<_Ptr, _Up>::type;
3777166:
3777166: static _Ptr
3777166: pointer_to(__make_not_void<element_type>& __e)
3777166: { return _Ptr::pointer_to(__e); }
3777166:
3777166: static_assert(!is_same<element_type, __undefined>::value,
3777166: "pointer type defines element_type or is like SomePointer<T, Args>");
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct pointer_traits<_Tp*>
3777166: {
3777166:
3777166: typedef _Tp* pointer;
3777166:
3777166: typedef _Tp element_type;
3777166:
3777166: typedef ptrdiff_t difference_type;
3777166:
3777166: template<typename _Up>
3777166: using rebind = _Up*;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static pointer
3777166: pointer_to(__make_not_void<element_type>& __r) noexcept
3777166: { return std::addressof(__r); }
3777166: };
3777166:
3777166:
3777166: template<typename _Ptr, typename _Tp>
3777166: using __ptr_rebind = typename pointer_traits<_Ptr>::template rebind<_Tp>;
3777166:
3777166: template<typename _Tp>
3777166: constexpr _Tp*
3777166: __to_address(_Tp* __ptr) noexcept
3777166: {
3777166: static_assert(!std::is_function<_Tp>::value, "not a function pointer");
3777166: return __ptr;
3777166: }
3777166:
3777166:
3777166: template<typename _Ptr>
3777166: constexpr typename std::pointer_traits<_Ptr>::element_type*
3777166: __to_address(const _Ptr& __ptr)
3777166: { return std::__to_address(__ptr.operator->()); }
3777166: # 210 "/usr/include/c++/10/bits/ptr_traits.h" 3
3777166:
3777166: }
3777166: # 67 "/usr/include/c++/10/bits/stl_iterator.h" 2 3
3777166: # 85 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 124 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166: class reverse_iterator
3777166: : public iterator<typename iterator_traits<_Iterator>::iterator_category,
3777166: typename iterator_traits<_Iterator>::value_type,
3777166: typename iterator_traits<_Iterator>::difference_type,
3777166: typename iterator_traits<_Iterator>::pointer,
3777166: typename iterator_traits<_Iterator>::reference>
3777166: {
3777166: protected:
3777166: _Iterator current;
3777166:
3777166: typedef iterator_traits<_Iterator> __traits_type;
3777166:
3777166: public:
3777166: typedef _Iterator iterator_type;
3777166: typedef typename __traits_type::difference_type difference_type;
3777166: typedef typename __traits_type::pointer pointer;
3777166: typedef typename __traits_type::reference reference;
3777166: # 160 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: constexpr
3777166: reverse_iterator() : current() { }
3777166:
3777166:
3777166:
3777166:
3777166: explicit constexpr
3777166: reverse_iterator(iterator_type __x) : current(__x) { }
3777166:
3777166:
3777166:
3777166:
3777166: constexpr
3777166: reverse_iterator(const reverse_iterator& __x)
3777166: : current(__x.current) { }
3777166:
3777166:
3777166: reverse_iterator& operator=(const reverse_iterator&) = default;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iter>
3777166: constexpr
3777166: reverse_iterator(const reverse_iterator<_Iter>& __x)
3777166: : current(__x.base()) { }
3777166:
3777166:
3777166:
3777166:
3777166: constexpr iterator_type
3777166: base() const
3777166: { return current; }
3777166: # 206 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: constexpr reference
3777166: operator*() const
3777166: {
3777166: _Iterator __tmp = current;
3777166: return *--__tmp;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr pointer
3777166: operator->() const
3777166:
3777166:
3777166:
3777166:
3777166: {
3777166:
3777166:
3777166: _Iterator __tmp = current;
3777166: --__tmp;
3777166: return _S_to_pointer(__tmp);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator&
3777166: operator++()
3777166: {
3777166: --current;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator
3777166: operator++(int)
3777166: {
3777166: reverse_iterator __tmp = *this;
3777166: --current;
3777166: return __tmp;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator&
3777166: operator--()
3777166: {
3777166: ++current;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator
3777166: operator--(int)
3777166: {
3777166: reverse_iterator __tmp = *this;
3777166: ++current;
3777166: return __tmp;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator
3777166: operator+(difference_type __n) const
3777166: { return reverse_iterator(current - __n); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator&
3777166: operator+=(difference_type __n)
3777166: {
3777166: current -= __n;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator
3777166: operator-(difference_type __n) const
3777166: { return reverse_iterator(current + __n); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reverse_iterator&
3777166: operator-=(difference_type __n)
3777166: {
3777166: current += __n;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr reference
3777166: operator[](difference_type __n) const
3777166: { return *(*this + __n); }
3777166:
3777166: private:
3777166: template<typename _Tp>
3777166: static constexpr _Tp*
3777166: _S_to_pointer(_Tp* __p)
3777166: { return __p; }
3777166:
3777166: template<typename _Tp>
3777166: static constexpr pointer
3777166: _S_to_pointer(_Tp __t)
3777166: { return __t.operator->(); }
3777166: };
3777166: # 358 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator==(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return __x.base() == __y.base(); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator<(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return __y.base() < __x.base(); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator!=(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return !(__x == __y); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator>(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return __y < __x; }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator<=(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return !(__y < __x); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator>=(const reverse_iterator<_Iterator>& __x,
3777166: const reverse_iterator<_Iterator>& __y)
3777166: { return !(__x < __y); }
3777166:
3777166:
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator==(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return __x.base() == __y.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator<(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return __y.base() < __x.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator!=(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return !(__x == __y); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator>(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return __y < __x; }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator<=(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return !(__y < __x); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator>=(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: { return !(__x < __y); }
3777166: # 498 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr auto
3777166: operator-(const reverse_iterator<_IteratorL>& __x,
3777166: const reverse_iterator<_IteratorR>& __y)
3777166: -> decltype(__y.base() - __x.base())
3777166: { return __y.base() - __x.base(); }
3777166:
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr reverse_iterator<_Iterator>
3777166: operator+(typename reverse_iterator<_Iterator>::difference_type __n,
3777166: const reverse_iterator<_Iterator>& __x)
3777166: { return reverse_iterator<_Iterator>(__x.base() - __n); }
3777166:
3777166:
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr reverse_iterator<_Iterator>
3777166: __make_reverse_iterator(_Iterator __i)
3777166: { return reverse_iterator<_Iterator>(__i); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr reverse_iterator<_Iterator>
3777166: make_reverse_iterator(_Iterator __i)
3777166: { return reverse_iterator<_Iterator>(__i); }
3777166: # 539 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166:
3777166: auto
3777166: __niter_base(reverse_iterator<_Iterator> __it)
3777166: -> decltype(__make_reverse_iterator(__niter_base(__it.base())))
3777166: { return __make_reverse_iterator(__niter_base(__it.base())); }
3777166:
3777166: template<typename _Iterator>
3777166: struct __is_move_iterator<reverse_iterator<_Iterator> >
3777166: : __is_move_iterator<_Iterator>
3777166: { };
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: auto
3777166: __miter_base(reverse_iterator<_Iterator> __it)
3777166: -> decltype(__make_reverse_iterator(__miter_base(__it.base())))
3777166: { return __make_reverse_iterator(__miter_base(__it.base())); }
3777166: # 570 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container>
3777166: class back_insert_iterator
3777166: : public iterator<output_iterator_tag, void, void, void, void>
3777166: {
3777166: protected:
3777166: _Container* container;
3777166:
3777166: public:
3777166:
3777166: typedef _Container container_type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: explicit
3777166: back_insert_iterator(_Container& __x)
3777166: : container(std::__addressof(__x)) { }
3777166: # 610 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166:
3777166: back_insert_iterator&
3777166: operator=(const typename _Container::value_type& __value)
3777166: {
3777166: container->push_back(__value);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: back_insert_iterator&
3777166: operator=(typename _Container::value_type&& __value)
3777166: {
3777166: container->push_back(std::move(__value));
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: back_insert_iterator&
3777166: operator*()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: back_insert_iterator&
3777166: operator++()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: back_insert_iterator
3777166: operator++(int)
3777166: { return *this; }
3777166: };
3777166: # 657 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container>
3777166:
3777166: inline back_insert_iterator<_Container>
3777166: back_inserter(_Container& __x)
3777166: { return back_insert_iterator<_Container>(__x); }
3777166: # 673 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container>
3777166: class front_insert_iterator
3777166: : public iterator<output_iterator_tag, void, void, void, void>
3777166: {
3777166: protected:
3777166: _Container* container;
3777166:
3777166: public:
3777166:
3777166: typedef _Container container_type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: explicit
3777166: front_insert_iterator(_Container& __x)
3777166: : container(std::__addressof(__x)) { }
3777166: # 713 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166:
3777166: front_insert_iterator&
3777166: operator=(const typename _Container::value_type& __value)
3777166: {
3777166: container->push_front(__value);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: front_insert_iterator&
3777166: operator=(typename _Container::value_type&& __value)
3777166: {
3777166: container->push_front(std::move(__value));
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: front_insert_iterator&
3777166: operator*()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: front_insert_iterator&
3777166: operator++()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: front_insert_iterator
3777166: operator++(int)
3777166: { return *this; }
3777166: };
3777166: # 760 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container>
3777166:
3777166: inline front_insert_iterator<_Container>
3777166: front_inserter(_Container& __x)
3777166: { return front_insert_iterator<_Container>(__x); }
3777166: # 780 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container>
3777166: class insert_iterator
3777166: : public iterator<output_iterator_tag, void, void, void, void>
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef typename _Container::iterator _Iter;
3777166:
3777166: protected:
3777166: _Container* container;
3777166: _Iter iter;
3777166:
3777166:
3777166: public:
3777166:
3777166: typedef _Container container_type;
3777166: # 812 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166:
3777166: insert_iterator(_Container& __x, _Iter __i)
3777166: : container(std::__addressof(__x)), iter(__i) {}
3777166: # 848 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166:
3777166: insert_iterator&
3777166: operator=(const typename _Container::value_type& __value)
3777166: {
3777166: iter = container->insert(iter, __value);
3777166: ++iter;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: insert_iterator&
3777166: operator=(typename _Container::value_type&& __value)
3777166: {
3777166: iter = container->insert(iter, std::move(__value));
3777166: ++iter;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: insert_iterator&
3777166: operator*()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: insert_iterator&
3777166: operator++()
3777166: { return *this; }
3777166:
3777166:
3777166:
3777166: insert_iterator&
3777166: operator++(int)
3777166: { return *this; }
3777166: };
3777166: # 904 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Container, typename _Iterator>
3777166: inline insert_iterator<_Container>
3777166: inserter(_Container& __x, _Iterator __i)
3777166: {
3777166: return insert_iterator<_Container>(__x,
3777166: typename _Container::iterator(__i));
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 929 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator, typename _Container>
3777166: class __normal_iterator
3777166: {
3777166: protected:
3777166: _Iterator _M_current;
3777166:
3777166: typedef std::iterator_traits<_Iterator> __traits_type;
3777166:
3777166: public:
3777166: typedef _Iterator iterator_type;
3777166: typedef typename __traits_type::iterator_category iterator_category;
3777166: typedef typename __traits_type::value_type value_type;
3777166: typedef typename __traits_type::difference_type difference_type;
3777166: typedef typename __traits_type::reference reference;
3777166: typedef typename __traits_type::pointer pointer;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr __normal_iterator() noexcept
3777166: : _M_current(_Iterator()) { }
3777166:
3777166: explicit
3777166: __normal_iterator(const _Iterator& __i) noexcept
3777166: : _M_current(__i) { }
3777166:
3777166:
3777166: template<typename _Iter>
3777166:
3777166: __normal_iterator(const __normal_iterator<_Iter,
3777166: typename __enable_if<
3777166: (std::__are_same<_Iter, typename _Container::pointer>::__value),
3777166: _Container>::__type>& __i) noexcept
3777166: : _M_current(__i.base()) { }
3777166:
3777166:
3777166:
3777166: reference
3777166: operator*() const noexcept
3777166: { return *_M_current; }
3777166:
3777166:
3777166: pointer
3777166: operator->() const noexcept
3777166: { return _M_current; }
3777166:
3777166:
3777166: __normal_iterator&
3777166: operator++() noexcept
3777166: {
3777166: ++_M_current;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: __normal_iterator
3777166: operator++(int) noexcept
3777166: { return __normal_iterator(_M_current++); }
3777166:
3777166:
3777166:
3777166: __normal_iterator&
3777166: operator--() noexcept
3777166: {
3777166: --_M_current;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: __normal_iterator
3777166: operator--(int) noexcept
3777166: { return __normal_iterator(_M_current--); }
3777166:
3777166:
3777166:
3777166: reference
3777166: operator[](difference_type __n) const noexcept
3777166: { return _M_current[__n]; }
3777166:
3777166:
3777166: __normal_iterator&
3777166: operator+=(difference_type __n) noexcept
3777166: { _M_current += __n; return *this; }
3777166:
3777166:
3777166: __normal_iterator
3777166: operator+(difference_type __n) const noexcept
3777166: { return __normal_iterator(_M_current + __n); }
3777166:
3777166:
3777166: __normal_iterator&
3777166: operator-=(difference_type __n) noexcept
3777166: { _M_current -= __n; return *this; }
3777166:
3777166:
3777166: __normal_iterator
3777166: operator-(difference_type __n) const noexcept
3777166: { return __normal_iterator(_M_current - __n); }
3777166:
3777166:
3777166: const _Iterator&
3777166: base() const noexcept
3777166: { return _M_current; }
3777166: };
3777166: # 1061 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166:
3777166: inline bool
3777166: operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() == __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() == __rhs.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166:
3777166: inline bool
3777166: operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() != __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator!=(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() != __rhs.base(); }
3777166:
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166: inline bool
3777166: operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() < __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() < __rhs.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166: inline bool
3777166: operator>(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() > __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator>(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() > __rhs.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166: inline bool
3777166: operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() <= __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator<=(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() <= __rhs.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166: inline bool
3777166: operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() >= __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline bool
3777166: operator>=(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() >= __rhs.base(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _IteratorL, typename _IteratorR, typename _Container>
3777166:
3777166:
3777166:
3777166: inline auto
3777166: operator-(const __normal_iterator<_IteratorL, _Container>& __lhs,
3777166: const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept
3777166: -> decltype(__lhs.base() - __rhs.base())
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: { return __lhs.base() - __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline typename __normal_iterator<_Iterator, _Container>::difference_type
3777166: operator-(const __normal_iterator<_Iterator, _Container>& __lhs,
3777166: const __normal_iterator<_Iterator, _Container>& __rhs)
3777166: noexcept
3777166: { return __lhs.base() - __rhs.base(); }
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: inline __normal_iterator<_Iterator, _Container>
3777166: operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
3777166: __n, const __normal_iterator<_Iterator, _Container>& __i)
3777166: noexcept
3777166: { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); }
3777166:
3777166:
3777166: }
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: template<typename _Iterator, typename _Container>
3777166:
3777166: _Iterator
3777166: __niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container> __it)
3777166: noexcept(std::is_nothrow_copy_constructible<_Iterator>::value)
3777166: { return __it.base(); }
3777166: # 1260 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166: class move_iterator
3777166: {
3777166: _Iterator _M_current;
3777166:
3777166: using __traits_type = iterator_traits<_Iterator>;
3777166:
3777166:
3777166:
3777166: using __base_ref = typename __traits_type::reference;
3777166:
3777166:
3777166: public:
3777166: using iterator_type = _Iterator;
3777166: # 1284 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: typedef typename __traits_type::iterator_category iterator_category;
3777166: typedef typename __traits_type::value_type value_type;
3777166: typedef typename __traits_type::difference_type difference_type;
3777166:
3777166: typedef _Iterator pointer;
3777166:
3777166:
3777166: typedef typename conditional<is_reference<__base_ref>::value,
3777166: typename remove_reference<__base_ref>::type&&,
3777166: __base_ref>::type reference;
3777166:
3777166:
3777166: constexpr
3777166: move_iterator()
3777166: : _M_current() { }
3777166:
3777166: explicit constexpr
3777166: move_iterator(iterator_type __i)
3777166: : _M_current(std::move(__i)) { }
3777166:
3777166: template<typename _Iter>
3777166: constexpr
3777166: move_iterator(const move_iterator<_Iter>& __i)
3777166: : _M_current(__i.base()) { }
3777166:
3777166:
3777166: constexpr iterator_type
3777166: base() const
3777166: { return _M_current; }
3777166: # 1326 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: constexpr reference
3777166: operator*() const
3777166: { return static_cast<reference>(*_M_current); }
3777166:
3777166: constexpr pointer
3777166: operator->() const
3777166: { return _M_current; }
3777166:
3777166: constexpr move_iterator&
3777166: operator++()
3777166: {
3777166: ++_M_current;
3777166: return *this;
3777166: }
3777166:
3777166: constexpr move_iterator
3777166: operator++(int)
3777166: {
3777166: move_iterator __tmp = *this;
3777166: ++_M_current;
3777166: return __tmp;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: constexpr move_iterator&
3777166: operator--()
3777166: {
3777166: --_M_current;
3777166: return *this;
3777166: }
3777166:
3777166: constexpr move_iterator
3777166: operator--(int)
3777166: {
3777166: move_iterator __tmp = *this;
3777166: --_M_current;
3777166: return __tmp;
3777166: }
3777166:
3777166: constexpr move_iterator
3777166: operator+(difference_type __n) const
3777166: { return move_iterator(_M_current + __n); }
3777166:
3777166: constexpr move_iterator&
3777166: operator+=(difference_type __n)
3777166: {
3777166: _M_current += __n;
3777166: return *this;
3777166: }
3777166:
3777166: constexpr move_iterator
3777166: operator-(difference_type __n) const
3777166: { return move_iterator(_M_current - __n); }
3777166:
3777166: constexpr move_iterator&
3777166: operator-=(difference_type __n)
3777166: {
3777166: _M_current -= __n;
3777166: return *this;
3777166: }
3777166:
3777166: constexpr reference
3777166: operator[](difference_type __n) const
3777166: { return std::move(_M_current[__n]); }
3777166: # 1423 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: };
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator==(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166:
3777166:
3777166:
3777166: { return __x.base() == __y.base(); }
3777166: # 1442 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator!=(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166: { return !(__x == __y); }
3777166:
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator<(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166:
3777166:
3777166:
3777166: { return __x.base() < __y.base(); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator<=(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166:
3777166:
3777166:
3777166: { return !(__y < __x); }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator>(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166:
3777166:
3777166:
3777166: { return __y < __x; }
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr bool
3777166: operator>=(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166:
3777166:
3777166:
3777166: { return !(__x < __y); }
3777166: # 1493 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator==(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return __x.base() == __y.base(); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator!=(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return !(__x == __y); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator<(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return __x.base() < __y.base(); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator<=(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return !(__y < __x); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator>(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return __y < __x; }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr bool
3777166: operator>=(const move_iterator<_Iterator>& __x,
3777166: const move_iterator<_Iterator>& __y)
3777166: { return !(__x < __y); }
3777166:
3777166:
3777166:
3777166: template<typename _IteratorL, typename _IteratorR>
3777166: inline constexpr auto
3777166: operator-(const move_iterator<_IteratorL>& __x,
3777166: const move_iterator<_IteratorR>& __y)
3777166: -> decltype(__x.base() - __y.base())
3777166: { return __x.base() - __y.base(); }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr move_iterator<_Iterator>
3777166: operator+(typename move_iterator<_Iterator>::difference_type __n,
3777166: const move_iterator<_Iterator>& __x)
3777166: { return __x + __n; }
3777166:
3777166: template<typename _Iterator>
3777166: inline constexpr move_iterator<_Iterator>
3777166: make_move_iterator(_Iterator __i)
3777166: { return move_iterator<_Iterator>(std::move(__i)); }
3777166:
3777166: template<typename _Iterator, typename _ReturnType
3777166: = typename conditional<__move_if_noexcept_cond
3777166: <typename iterator_traits<_Iterator>::value_type>::value,
3777166: _Iterator, move_iterator<_Iterator>>::type>
3777166: inline constexpr _ReturnType
3777166: __make_move_if_noexcept_iterator(_Iterator __i)
3777166: { return _ReturnType(__i); }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _ReturnType
3777166: = typename conditional<__move_if_noexcept_cond<_Tp>::value,
3777166: const _Tp*, move_iterator<_Tp*>>::type>
3777166: inline constexpr _ReturnType
3777166: __make_move_if_noexcept_iterator(_Tp* __i)
3777166: { return _ReturnType(__i); }
3777166: # 2154 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _Iterator>
3777166: auto
3777166: __niter_base(move_iterator<_Iterator> __it)
3777166: -> decltype(make_move_iterator(__niter_base(__it.base())))
3777166: { return make_move_iterator(__niter_base(__it.base())); }
3777166:
3777166: template<typename _Iterator>
3777166: struct __is_move_iterator<move_iterator<_Iterator> >
3777166: {
3777166: enum { __value = 1 };
3777166: typedef __true_type __type;
3777166: };
3777166:
3777166: template<typename _Iterator>
3777166: auto
3777166: __miter_base(move_iterator<_Iterator> __it)
3777166: -> decltype(__miter_base(__it.base()))
3777166: { return __miter_base(__it.base()); }
3777166: # 2184 "/usr/include/c++/10/bits/stl_iterator.h" 3
3777166: template<typename _InputIterator>
3777166: using __iter_key_t = remove_const_t<
3777166: typename iterator_traits<_InputIterator>::value_type::first_type>;
3777166:
3777166: template<typename _InputIterator>
3777166: using __iter_val_t =
3777166: typename iterator_traits<_InputIterator>::value_type::second_type;
3777166:
3777166: template<typename _T1, typename _T2>
3777166: struct pair;
3777166:
3777166: template<typename _InputIterator>
3777166: using __iter_to_alloc_t =
3777166: pair<add_const_t<__iter_key_t<_InputIterator>>,
3777166: __iter_val_t<_InputIterator>>;
3777166:
3777166:
3777166:
3777166: }
3777166: # 68 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/debug/debug.h" 1 3
3777166: # 48 "/usr/include/c++/10/debug/debug.h" 3
3777166: namespace std
3777166: {
3777166: namespace __debug { }
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_debug
3777166: {
3777166: using namespace std::__debug;
3777166:
3777166: template<typename _Ite, typename _Seq, typename _Cat>
3777166: struct _Safe_iterator;
3777166: }
3777166: # 70 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/predefined_ops.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/predefined_ops.h" 3
3777166: namespace __gnu_cxx
3777166: {
3777166: namespace __ops
3777166: {
3777166: struct _Iter_less_iter
3777166: {
3777166: template<typename _Iterator1, typename _Iterator2>
3777166: constexpr
3777166: bool
3777166: operator()(_Iterator1 __it1, _Iterator2 __it2) const
3777166: { return *__it1 < *__it2; }
3777166: };
3777166:
3777166: constexpr
3777166: inline _Iter_less_iter
3777166: __iter_less_iter()
3777166: { return _Iter_less_iter(); }
3777166:
3777166: struct _Iter_less_val
3777166: {
3777166:
3777166: constexpr _Iter_less_val() = default;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: explicit
3777166: _Iter_less_val(_Iter_less_iter) { }
3777166:
3777166: template<typename _Iterator, typename _Value>
3777166:
3777166: bool
3777166: operator()(_Iterator __it, _Value& __val) const
3777166: { return *__it < __val; }
3777166: };
3777166:
3777166:
3777166: inline _Iter_less_val
3777166: __iter_less_val()
3777166: { return _Iter_less_val(); }
3777166:
3777166:
3777166: inline _Iter_less_val
3777166: __iter_comp_val(_Iter_less_iter)
3777166: { return _Iter_less_val(); }
3777166:
3777166: struct _Val_less_iter
3777166: {
3777166:
3777166: constexpr _Val_less_iter() = default;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: explicit
3777166: _Val_less_iter(_Iter_less_iter) { }
3777166:
3777166: template<typename _Value, typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Value& __val, _Iterator __it) const
3777166: { return __val < *__it; }
3777166: };
3777166:
3777166:
3777166: inline _Val_less_iter
3777166: __val_less_iter()
3777166: { return _Val_less_iter(); }
3777166:
3777166:
3777166: inline _Val_less_iter
3777166: __val_comp_iter(_Iter_less_iter)
3777166: { return _Val_less_iter(); }
3777166:
3777166: struct _Iter_equal_to_iter
3777166: {
3777166: template<typename _Iterator1, typename _Iterator2>
3777166:
3777166: bool
3777166: operator()(_Iterator1 __it1, _Iterator2 __it2) const
3777166: { return *__it1 == *__it2; }
3777166: };
3777166:
3777166:
3777166: inline _Iter_equal_to_iter
3777166: __iter_equal_to_iter()
3777166: { return _Iter_equal_to_iter(); }
3777166:
3777166: struct _Iter_equal_to_val
3777166: {
3777166: template<typename _Iterator, typename _Value>
3777166:
3777166: bool
3777166: operator()(_Iterator __it, _Value& __val) const
3777166: { return *__it == __val; }
3777166: };
3777166:
3777166:
3777166: inline _Iter_equal_to_val
3777166: __iter_equal_to_val()
3777166: { return _Iter_equal_to_val(); }
3777166:
3777166:
3777166: inline _Iter_equal_to_val
3777166: __iter_comp_val(_Iter_equal_to_iter)
3777166: { return _Iter_equal_to_val(); }
3777166:
3777166: template<typename _Compare>
3777166: struct _Iter_comp_iter
3777166: {
3777166: _Compare _M_comp;
3777166:
3777166: explicit constexpr
3777166: _Iter_comp_iter(_Compare __comp)
3777166: : _M_comp(std::move(__comp))
3777166: { }
3777166:
3777166: template<typename _Iterator1, typename _Iterator2>
3777166: constexpr
3777166: bool
3777166: operator()(_Iterator1 __it1, _Iterator2 __it2)
3777166: { return bool(_M_comp(*__it1, *__it2)); }
3777166: };
3777166:
3777166: template<typename _Compare>
3777166: constexpr
3777166: inline _Iter_comp_iter<_Compare>
3777166: __iter_comp_iter(_Compare __comp)
3777166: { return _Iter_comp_iter<_Compare>(std::move(__comp)); }
3777166:
3777166: template<typename _Compare>
3777166: struct _Iter_comp_val
3777166: {
3777166: _Compare _M_comp;
3777166:
3777166:
3777166: explicit
3777166: _Iter_comp_val(_Compare __comp)
3777166: : _M_comp(std::move(__comp))
3777166: { }
3777166:
3777166:
3777166: explicit
3777166: _Iter_comp_val(const _Iter_comp_iter<_Compare>& __comp)
3777166: : _M_comp(__comp._M_comp)
3777166: { }
3777166:
3777166:
3777166:
3777166: explicit
3777166: _Iter_comp_val(_Iter_comp_iter<_Compare>&& __comp)
3777166: : _M_comp(std::move(__comp._M_comp))
3777166: { }
3777166:
3777166:
3777166: template<typename _Iterator, typename _Value>
3777166:
3777166: bool
3777166: operator()(_Iterator __it, _Value& __val)
3777166: { return bool(_M_comp(*__it, __val)); }
3777166: };
3777166:
3777166: template<typename _Compare>
3777166:
3777166: inline _Iter_comp_val<_Compare>
3777166: __iter_comp_val(_Compare __comp)
3777166: { return _Iter_comp_val<_Compare>(std::move(__comp)); }
3777166:
3777166: template<typename _Compare>
3777166:
3777166: inline _Iter_comp_val<_Compare>
3777166: __iter_comp_val(_Iter_comp_iter<_Compare> __comp)
3777166: { return _Iter_comp_val<_Compare>(std::move(__comp)); }
3777166:
3777166: template<typename _Compare>
3777166: struct _Val_comp_iter
3777166: {
3777166: _Compare _M_comp;
3777166:
3777166:
3777166: explicit
3777166: _Val_comp_iter(_Compare __comp)
3777166: : _M_comp(std::move(__comp))
3777166: { }
3777166:
3777166:
3777166: explicit
3777166: _Val_comp_iter(const _Iter_comp_iter<_Compare>& __comp)
3777166: : _M_comp(__comp._M_comp)
3777166: { }
3777166:
3777166:
3777166:
3777166: explicit
3777166: _Val_comp_iter(_Iter_comp_iter<_Compare>&& __comp)
3777166: : _M_comp(std::move(__comp._M_comp))
3777166: { }
3777166:
3777166:
3777166: template<typename _Value, typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Value& __val, _Iterator __it)
3777166: { return bool(_M_comp(__val, *__it)); }
3777166: };
3777166:
3777166: template<typename _Compare>
3777166:
3777166: inline _Val_comp_iter<_Compare>
3777166: __val_comp_iter(_Compare __comp)
3777166: { return _Val_comp_iter<_Compare>(std::move(__comp)); }
3777166:
3777166: template<typename _Compare>
3777166:
3777166: inline _Val_comp_iter<_Compare>
3777166: __val_comp_iter(_Iter_comp_iter<_Compare> __comp)
3777166: { return _Val_comp_iter<_Compare>(std::move(__comp)); }
3777166:
3777166: template<typename _Value>
3777166: struct _Iter_equals_val
3777166: {
3777166: _Value& _M_value;
3777166:
3777166:
3777166: explicit
3777166: _Iter_equals_val(_Value& __value)
3777166: : _M_value(__value)
3777166: { }
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Iterator __it)
3777166: { return *__it == _M_value; }
3777166: };
3777166:
3777166: template<typename _Value>
3777166:
3777166: inline _Iter_equals_val<_Value>
3777166: __iter_equals_val(_Value& __val)
3777166: { return _Iter_equals_val<_Value>(__val); }
3777166:
3777166: template<typename _Iterator1>
3777166: struct _Iter_equals_iter
3777166: {
3777166: _Iterator1 _M_it1;
3777166:
3777166:
3777166: explicit
3777166: _Iter_equals_iter(_Iterator1 __it1)
3777166: : _M_it1(__it1)
3777166: { }
3777166:
3777166: template<typename _Iterator2>
3777166:
3777166: bool
3777166: operator()(_Iterator2 __it2)
3777166: { return *__it2 == *_M_it1; }
3777166: };
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: inline _Iter_equals_iter<_Iterator>
3777166: __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it)
3777166: { return _Iter_equals_iter<_Iterator>(__it); }
3777166:
3777166: template<typename _Predicate>
3777166: struct _Iter_pred
3777166: {
3777166: _Predicate _M_pred;
3777166:
3777166:
3777166: explicit
3777166: _Iter_pred(_Predicate __pred)
3777166: : _M_pred(std::move(__pred))
3777166: { }
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Iterator __it)
3777166: { return bool(_M_pred(*__it)); }
3777166: };
3777166:
3777166: template<typename _Predicate>
3777166:
3777166: inline _Iter_pred<_Predicate>
3777166: __pred_iter(_Predicate __pred)
3777166: { return _Iter_pred<_Predicate>(std::move(__pred)); }
3777166:
3777166: template<typename _Compare, typename _Value>
3777166: struct _Iter_comp_to_val
3777166: {
3777166: _Compare _M_comp;
3777166: _Value& _M_value;
3777166:
3777166:
3777166: _Iter_comp_to_val(_Compare __comp, _Value& __value)
3777166: : _M_comp(std::move(__comp)), _M_value(__value)
3777166: { }
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Iterator __it)
3777166: { return bool(_M_comp(*__it, _M_value)); }
3777166: };
3777166:
3777166: template<typename _Compare, typename _Value>
3777166: _Iter_comp_to_val<_Compare, _Value>
3777166:
3777166: __iter_comp_val(_Compare __comp, _Value &__val)
3777166: {
3777166: return _Iter_comp_to_val<_Compare, _Value>(std::move(__comp), __val);
3777166: }
3777166:
3777166: template<typename _Compare, typename _Iterator1>
3777166: struct _Iter_comp_to_iter
3777166: {
3777166: _Compare _M_comp;
3777166: _Iterator1 _M_it1;
3777166:
3777166:
3777166: _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1)
3777166: : _M_comp(std::move(__comp)), _M_it1(__it1)
3777166: { }
3777166:
3777166: template<typename _Iterator2>
3777166:
3777166: bool
3777166: operator()(_Iterator2 __it2)
3777166: { return bool(_M_comp(*__it2, *_M_it1)); }
3777166: };
3777166:
3777166: template<typename _Compare, typename _Iterator>
3777166:
3777166: inline _Iter_comp_to_iter<_Compare, _Iterator>
3777166: __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it)
3777166: {
3777166: return _Iter_comp_to_iter<_Compare, _Iterator>(
3777166: std::move(__comp._M_comp), __it);
3777166: }
3777166:
3777166: template<typename _Predicate>
3777166: struct _Iter_negate
3777166: {
3777166: _Predicate _M_pred;
3777166:
3777166:
3777166: explicit
3777166: _Iter_negate(_Predicate __pred)
3777166: : _M_pred(std::move(__pred))
3777166: { }
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: bool
3777166: operator()(_Iterator __it)
3777166: { return !bool(_M_pred(*__it)); }
3777166: };
3777166:
3777166: template<typename _Predicate>
3777166:
3777166: inline _Iter_negate<_Predicate>
3777166: __negate(_Iter_pred<_Predicate> __pred)
3777166: { return _Iter_negate<_Predicate>(std::move(__pred._M_pred)); }
3777166:
3777166: }
3777166: }
3777166: # 72 "/usr/include/c++/10/bits/stl_algobase.h" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: constexpr
3777166: inline int
3777166: __memcmp(const _Tp* __first1, const _Up* __first2, size_t __num)
3777166: {
3777166:
3777166: static_assert(sizeof(_Tp) == sizeof(_Up), "can be compared with memcmp");
3777166: # 105 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: return __builtin_memcmp(__first1, __first2, sizeof(_Tp) * __num);
3777166: }
3777166: # 149 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _ForwardIterator1, typename _ForwardIterator2>
3777166:
3777166: inline void
3777166: iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: # 182 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: swap(*__a, *__b);
3777166:
3777166: }
3777166: # 198 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _ForwardIterator1, typename _ForwardIterator2>
3777166:
3777166: _ForwardIterator2
3777166: swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
3777166: _ForwardIterator2 __first2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: for (; __first1 != __last1; ++__first1, (void)++__first2)
3777166: std::iter_swap(__first1, __first2);
3777166: return __first2;
3777166: }
3777166: # 227 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _Tp>
3777166: constexpr
3777166: inline const _Tp&
3777166: min(const _Tp& __a, const _Tp& __b)
3777166: {
3777166:
3777166:
3777166:
3777166: if (__b < __a)
3777166: return __b;
3777166: return __a;
3777166: }
3777166: # 251 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _Tp>
3777166: constexpr
3777166: inline const _Tp&
3777166: max(const _Tp& __a, const _Tp& __b)
3777166: {
3777166:
3777166:
3777166:
3777166: if (__a < __b)
3777166: return __b;
3777166: return __a;
3777166: }
3777166: # 275 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _Tp, typename _Compare>
3777166: constexpr
3777166: inline const _Tp&
3777166: min(const _Tp& __a, const _Tp& __b, _Compare __comp)
3777166: {
3777166:
3777166: if (__comp(__b, __a))
3777166: return __b;
3777166: return __a;
3777166: }
3777166: # 297 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _Tp, typename _Compare>
3777166: constexpr
3777166: inline const _Tp&
3777166: max(const _Tp& __a, const _Tp& __b, _Compare __comp)
3777166: {
3777166:
3777166: if (__comp(__a, __b))
3777166: return __b;
3777166: return __a;
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: inline _Iterator
3777166: __niter_base(_Iterator __it)
3777166: noexcept(std::is_nothrow_copy_constructible<_Iterator>::value)
3777166: { return __it; }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _From, typename _To>
3777166:
3777166: inline _From
3777166: __niter_wrap(_From __from, _To __res)
3777166: { return __from + (__res - std::__niter_base(__from)); }
3777166:
3777166:
3777166: template<typename _Iterator>
3777166:
3777166: inline _Iterator
3777166: __niter_wrap(const _Iterator&, _Iterator __res)
3777166: { return __res; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<bool _IsMove, bool _IsSimple, typename _Category>
3777166: struct __copy_move
3777166: {
3777166: template<typename _II, typename _OI>
3777166:
3777166: static _OI
3777166: __copy_m(_II __first, _II __last, _OI __result)
3777166: {
3777166: for (; __first != __last; ++__result, (void)++__first)
3777166: *__result = *__first;
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Category>
3777166: struct __copy_move<true, false, _Category>
3777166: {
3777166: template<typename _II, typename _OI>
3777166:
3777166: static _OI
3777166: __copy_m(_II __first, _II __last, _OI __result)
3777166: {
3777166: for (; __first != __last; ++__result, (void)++__first)
3777166: *__result = std::move(*__first);
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __copy_move<false, false, random_access_iterator_tag>
3777166: {
3777166: template<typename _II, typename _OI>
3777166:
3777166: static _OI
3777166: __copy_m(_II __first, _II __last, _OI __result)
3777166: {
3777166: typedef typename iterator_traits<_II>::difference_type _Distance;
3777166: for(_Distance __n = __last - __first; __n > 0; --__n)
3777166: {
3777166: *__result = *__first;
3777166: ++__first;
3777166: ++__result;
3777166: }
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __copy_move<true, false, random_access_iterator_tag>
3777166: {
3777166: template<typename _II, typename _OI>
3777166:
3777166: static _OI
3777166: __copy_m(_II __first, _II __last, _OI __result)
3777166: {
3777166: typedef typename iterator_traits<_II>::difference_type _Distance;
3777166: for(_Distance __n = __last - __first; __n > 0; --__n)
3777166: {
3777166: *__result = std::move(*__first);
3777166: ++__first;
3777166: ++__result;
3777166: }
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<bool _IsMove>
3777166: struct __copy_move<_IsMove, true, random_access_iterator_tag>
3777166: {
3777166: template<typename _Tp>
3777166:
3777166: static _Tp*
3777166: __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
3777166: {
3777166:
3777166: using __assignable = conditional<_IsMove,
3777166: is_move_assignable<_Tp>,
3777166: is_copy_assignable<_Tp>>;
3777166:
3777166: static_assert( __assignable::type::value, "type is not assignable" );
3777166:
3777166: const ptrdiff_t _Num = __last - __first;
3777166: if (_Num)
3777166: __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
3777166: return __result + _Num;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _CharT>
3777166: struct char_traits;
3777166:
3777166: template<typename _CharT, typename _Traits>
3777166: class istreambuf_iterator;
3777166:
3777166: template<typename _CharT, typename _Traits>
3777166: class ostreambuf_iterator;
3777166:
3777166: template<bool _IsMove, typename _CharT>
3777166: typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
3777166: ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type
3777166: __copy_move_a2(_CharT*, _CharT*,
3777166: ostreambuf_iterator<_CharT, char_traits<_CharT> >);
3777166:
3777166: template<bool _IsMove, typename _CharT>
3777166: typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
3777166: ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type
3777166: __copy_move_a2(const _CharT*, const _CharT*,
3777166: ostreambuf_iterator<_CharT, char_traits<_CharT> >);
3777166:
3777166: template<bool _IsMove, typename _CharT>
3777166: typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
3777166: _CharT*>::__type
3777166: __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >,
3777166: istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*);
3777166:
3777166: template<bool _IsMove, typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: __copy_move_a2(_II __first, _II __last, _OI __result)
3777166: {
3777166: typedef typename iterator_traits<_II>::iterator_category _Category;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
3777166: _Category>::__copy_m(__first, __last, __result);
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Ref, typename _Ptr>
3777166: struct _Deque_iterator;
3777166:
3777166:
3777166:
3777166: template<bool _IsMove,
3777166: typename _Tp, typename _Ref, typename _Ptr, typename _OI>
3777166: _OI
3777166: __copy_move_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: _OI);
3777166:
3777166: template<bool _IsMove,
3777166: typename _ITp, typename _IRef, typename _IPtr, typename _OTp>
3777166: std::_Deque_iterator<_OTp, _OTp&, _OTp*>
3777166: __copy_move_a1(std::_Deque_iterator<_ITp, _IRef, _IPtr>,
3777166: std::_Deque_iterator<_ITp, _IRef, _IPtr>,
3777166: std::_Deque_iterator<_OTp, _OTp&, _OTp*>);
3777166:
3777166: template<bool _IsMove, typename _II, typename _Tp>
3777166: typename __gnu_cxx::__enable_if<
3777166: __is_random_access_iter<_II>::__value,
3777166: std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type
3777166: __copy_move_a1(_II, _II, std::_Deque_iterator<_Tp, _Tp&, _Tp*>);
3777166:
3777166: template<bool _IsMove, typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: __copy_move_a1(_II __first, _II __last, _OI __result)
3777166: { return std::__copy_move_a2<_IsMove>(__first, __last, __result); }
3777166:
3777166: template<bool _IsMove, typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: __copy_move_a(_II __first, _II __last, _OI __result)
3777166: {
3777166: return std::__niter_wrap(__result,
3777166: std::__copy_move_a1<_IsMove>(std::__niter_base(__first),
3777166: std::__niter_base(__last),
3777166: std::__niter_base(__result)));
3777166: }
3777166:
3777166: template<bool _IsMove,
3777166: typename _Ite, typename _Seq, typename _Cat, typename _OI>
3777166: _OI
3777166: __copy_move_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: _OI);
3777166:
3777166: template<bool _IsMove,
3777166: typename _II, typename _Ite, typename _Seq, typename _Cat>
3777166: __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>
3777166: __copy_move_a(_II, _II,
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&);
3777166:
3777166: template<bool _IsMove,
3777166: typename _IIte, typename _ISeq, typename _ICat,
3777166: typename _OIte, typename _OSeq, typename _OCat>
3777166: ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>
3777166: __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&);
3777166: # 557 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: copy(_II __first, _II __last, _OI __result)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__copy_move_a<__is_move_iterator<_II>::__value>
3777166: (std::__miter_base(__first), std::__miter_base(__last), __result);
3777166: }
3777166: # 590 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: move(_II __first, _II __last, _OI __result)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__copy_move_a<true>(std::__miter_base(__first),
3777166: std::__miter_base(__last), __result);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<bool _IsMove, bool _IsSimple, typename _Category>
3777166: struct __copy_move_backward
3777166: {
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: static _BI2
3777166: __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166: while (__first != __last)
3777166: *--__result = *--__last;
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Category>
3777166: struct __copy_move_backward<true, false, _Category>
3777166: {
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: static _BI2
3777166: __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166: while (__first != __last)
3777166: *--__result = std::move(*--__last);
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __copy_move_backward<false, false, random_access_iterator_tag>
3777166: {
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: static _BI2
3777166: __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166: typename iterator_traits<_BI1>::difference_type
3777166: __n = __last - __first;
3777166: for (; __n > 0; --__n)
3777166: *--__result = *--__last;
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct __copy_move_backward<true, false, random_access_iterator_tag>
3777166: {
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: static _BI2
3777166: __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166: typename iterator_traits<_BI1>::difference_type
3777166: __n = __last - __first;
3777166: for (; __n > 0; --__n)
3777166: *--__result = std::move(*--__last);
3777166: return __result;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<bool _IsMove>
3777166: struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
3777166: {
3777166: template<typename _Tp>
3777166:
3777166: static _Tp*
3777166: __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
3777166: {
3777166:
3777166: using __assignable = conditional<_IsMove,
3777166: is_move_assignable<_Tp>,
3777166: is_copy_assignable<_Tp>>;
3777166:
3777166: static_assert( __assignable::type::value, "type is not assignable" );
3777166:
3777166: const ptrdiff_t _Num = __last - __first;
3777166: if (_Num)
3777166: __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num);
3777166: return __result - _Num;
3777166: }
3777166: };
3777166:
3777166: template<bool _IsMove, typename _BI1, typename _BI2>
3777166:
3777166: inline _BI2
3777166: __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166: typedef typename iterator_traits<_BI1>::iterator_category _Category;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: return std::__copy_move_backward<_IsMove,
3777166: __memcpyable<_BI2, _BI1>::__value,
3777166: _Category>::__copy_move_b(__first,
3777166: __last,
3777166: __result);
3777166: }
3777166:
3777166: template<bool _IsMove, typename _BI1, typename _BI2>
3777166:
3777166: inline _BI2
3777166: __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: { return std::__copy_move_backward_a2<_IsMove>(__first, __last, __result); }
3777166:
3777166: template<bool _IsMove,
3777166: typename _Tp, typename _Ref, typename _Ptr, typename _OI>
3777166: _OI
3777166: __copy_move_backward_a1(std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: _OI);
3777166:
3777166: template<bool _IsMove,
3777166: typename _ITp, typename _IRef, typename _IPtr, typename _OTp>
3777166: std::_Deque_iterator<_OTp, _OTp&, _OTp*>
3777166: __copy_move_backward_a1(
3777166: std::_Deque_iterator<_ITp, _IRef, _IPtr>,
3777166: std::_Deque_iterator<_ITp, _IRef, _IPtr>,
3777166: std::_Deque_iterator<_OTp, _OTp&, _OTp*>);
3777166:
3777166: template<bool _IsMove, typename _II, typename _Tp>
3777166: typename __gnu_cxx::__enable_if<
3777166: __is_random_access_iter<_II>::__value,
3777166: std::_Deque_iterator<_Tp, _Tp&, _Tp*> >::__type
3777166: __copy_move_backward_a1(_II, _II,
3777166: std::_Deque_iterator<_Tp, _Tp&, _Tp*>);
3777166:
3777166: template<bool _IsMove, typename _II, typename _OI>
3777166:
3777166: inline _OI
3777166: __copy_move_backward_a(_II __first, _II __last, _OI __result)
3777166: {
3777166: return std::__niter_wrap(__result,
3777166: std::__copy_move_backward_a1<_IsMove>
3777166: (std::__niter_base(__first), std::__niter_base(__last),
3777166: std::__niter_base(__result)));
3777166: }
3777166:
3777166: template<bool _IsMove,
3777166: typename _Ite, typename _Seq, typename _Cat, typename _OI>
3777166: _OI
3777166: __copy_move_backward_a(
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: _OI);
3777166:
3777166: template<bool _IsMove,
3777166: typename _II, typename _Ite, typename _Seq, typename _Cat>
3777166: __gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>
3777166: __copy_move_backward_a(_II, _II,
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&);
3777166:
3777166: template<bool _IsMove,
3777166: typename _IIte, typename _ISeq, typename _ICat,
3777166: typename _OIte, typename _OSeq, typename _OCat>
3777166: ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>
3777166: __copy_move_backward_a(
3777166: const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_OIte, _OSeq, _OCat>&);
3777166: # 794 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: inline _BI2
3777166: copy_backward(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
3777166: (std::__miter_base(__first), std::__miter_base(__last), __result);
3777166: }
3777166: # 830 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _BI1, typename _BI2>
3777166:
3777166: inline _BI2
3777166: move_backward(_BI1 __first, _BI1 __last, _BI2 __result)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__copy_move_backward_a<true>(std::__miter_base(__first),
3777166: std::__miter_base(__last),
3777166: __result);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166:
3777166: inline typename
3777166: __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
3777166: __fill_a1(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __value)
3777166: {
3777166: for (; __first != __last; ++__first)
3777166: *__first = __value;
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166:
3777166: inline typename
3777166: __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
3777166: __fill_a1(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __value)
3777166: {
3777166: const _Tp __tmp = __value;
3777166: for (; __first != __last; ++__first)
3777166: *__first = __tmp;
3777166: }
3777166:
3777166:
3777166: template<typename _Tp>
3777166:
3777166: inline typename
3777166: __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
3777166: __fill_a1(_Tp* __first, _Tp* __last, const _Tp& __c)
3777166: {
3777166: const _Tp __tmp = __c;
3777166: # 892 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: if (const size_t __len = __last - __first)
3777166: __builtin_memset(__first, static_cast<unsigned char>(__tmp), __len);
3777166: }
3777166:
3777166: template<typename _Ite, typename _Cont, typename _Tp>
3777166:
3777166: inline void
3777166: __fill_a1(::__gnu_cxx::__normal_iterator<_Ite, _Cont> __first,
3777166: ::__gnu_cxx::__normal_iterator<_Ite, _Cont> __last,
3777166: const _Tp& __value)
3777166: { std::__fill_a1(__first.base(), __last.base(), __value); }
3777166:
3777166: template<typename _Tp, typename _VTp>
3777166: void
3777166: __fill_a1(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
3777166: const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
3777166: const _VTp&);
3777166:
3777166: template<typename _FIte, typename _Tp>
3777166:
3777166: inline void
3777166: __fill_a(_FIte __first, _FIte __last, const _Tp& __value)
3777166: { std::__fill_a1(__first, __last, __value); }
3777166:
3777166: template<typename _Ite, typename _Seq, typename _Cat, typename _Tp>
3777166: void
3777166: __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
3777166: const _Tp&);
3777166: # 934 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _ForwardIterator, typename _Tp>
3777166:
3777166: inline void
3777166: fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: std::__fill_a(__first, __last, __value);
3777166: }
3777166:
3777166:
3777166: inline constexpr int
3777166: __size_to_integer(int __n) { return __n; }
3777166: inline constexpr unsigned
3777166: __size_to_integer(unsigned __n) { return __n; }
3777166: inline constexpr long
3777166: __size_to_integer(long __n) { return __n; }
3777166: inline constexpr unsigned long
3777166: __size_to_integer(unsigned long __n) { return __n; }
3777166: inline constexpr long long
3777166: __size_to_integer(long long __n) { return __n; }
3777166: inline constexpr unsigned long long
3777166: __size_to_integer(unsigned long long __n) { return __n; }
3777166: # 986 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: inline constexpr long long
3777166: __size_to_integer(float __n) { return __n; }
3777166: inline constexpr long long
3777166: __size_to_integer(double __n) { return __n; }
3777166: inline constexpr long long
3777166: __size_to_integer(long double __n) { return __n; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _OutputIterator, typename _Size, typename _Tp>
3777166:
3777166: inline typename
3777166: __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
3777166: __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value)
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__first)
3777166: *__first = __value;
3777166: return __first;
3777166: }
3777166:
3777166: template<typename _OutputIterator, typename _Size, typename _Tp>
3777166:
3777166: inline typename
3777166: __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
3777166: __fill_n_a1(_OutputIterator __first, _Size __n, const _Tp& __value)
3777166: {
3777166: const _Tp __tmp = __value;
3777166: for (; __n > 0; --__n, (void) ++__first)
3777166: *__first = __tmp;
3777166: return __first;
3777166: }
3777166:
3777166: template<typename _Ite, typename _Seq, typename _Cat, typename _Size,
3777166: typename _Tp>
3777166: ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>
3777166: __fill_n_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>& __first,
3777166: _Size __n, const _Tp& __value,
3777166: std::input_iterator_tag);
3777166:
3777166: template<typename _OutputIterator, typename _Size, typename _Tp>
3777166:
3777166: inline _OutputIterator
3777166: __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value,
3777166: std::output_iterator_tag)
3777166: {
3777166:
3777166: static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
3777166:
3777166: return __fill_n_a1(__first, __n, __value);
3777166: }
3777166:
3777166: template<typename _OutputIterator, typename _Size, typename _Tp>
3777166:
3777166: inline _OutputIterator
3777166: __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value,
3777166: std::input_iterator_tag)
3777166: {
3777166:
3777166: static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
3777166:
3777166: return __fill_n_a1(__first, __n, __value);
3777166: }
3777166:
3777166: template<typename _OutputIterator, typename _Size, typename _Tp>
3777166:
3777166: inline _OutputIterator
3777166: __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value,
3777166: std::random_access_iterator_tag)
3777166: {
3777166:
3777166: static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
3777166:
3777166: if (__n <= 0)
3777166: return __first;
3777166:
3777166: ;
3777166:
3777166: std::__fill_a(__first, __first + __n, __value);
3777166: return __first + __n;
3777166: }
3777166: # 1086 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _OI, typename _Size, typename _Tp>
3777166:
3777166: inline _OI
3777166: fill_n(_OI __first, _Size __n, const _Tp& __value)
3777166: {
3777166:
3777166:
3777166:
3777166: return std::__fill_n_a(__first, std::__size_to_integer(__n), __value,
3777166: std::__iterator_category(__first));
3777166: }
3777166:
3777166: template<bool _BoolType>
3777166: struct __equal
3777166: {
3777166: template<typename _II1, typename _II2>
3777166:
3777166: static bool
3777166: equal(_II1 __first1, _II1 __last1, _II2 __first2)
3777166: {
3777166: for (; __first1 != __last1; ++__first1, (void) ++__first2)
3777166: if (!(*__first1 == *__first2))
3777166: return false;
3777166: return true;
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __equal<true>
3777166: {
3777166: template<typename _Tp>
3777166:
3777166: static bool
3777166: equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2)
3777166: {
3777166: if (const size_t __len = (__last1 - __first1))
3777166: return !std::__memcmp(__first1, __first2, __len);
3777166: return true;
3777166: }
3777166: };
3777166:
3777166: template<typename _Tp, typename _Ref, typename _Ptr, typename _II>
3777166: typename __gnu_cxx::__enable_if<
3777166: __is_random_access_iter<_II>::__value, bool>::__type
3777166: __equal_aux1(std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: std::_Deque_iterator<_Tp, _Ref, _Ptr>,
3777166: _II);
3777166:
3777166: template<typename _Tp1, typename _Ref1, typename _Ptr1,
3777166: typename _Tp2, typename _Ref2, typename _Ptr2>
3777166: bool
3777166: __equal_aux1(std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
3777166: std::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
3777166: std::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
3777166:
3777166: template<typename _II, typename _Tp, typename _Ref, typename _Ptr>
3777166: typename __gnu_cxx::__enable_if<
3777166: __is_random_access_iter<_II>::__value, bool>::__type
3777166: __equal_aux1(_II, _II,
3777166: std::_Deque_iterator<_Tp, _Ref, _Ptr>);
3777166:
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: __equal_aux1(_II1 __first1, _II1 __last1, _II2 __first2)
3777166: {
3777166: typedef typename iterator_traits<_II1>::value_type _ValueType1;
3777166: const bool __simple = ((__is_integer<_ValueType1>::__value
3777166: || __is_pointer<_ValueType1>::__value)
3777166: && __memcmpable<_II1, _II2>::__value);
3777166: return std::__equal<__simple>::equal(__first1, __last1, __first2);
3777166: }
3777166:
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2)
3777166: {
3777166: return std::__equal_aux1(std::__niter_base(__first1),
3777166: std::__niter_base(__last1),
3777166: std::__niter_base(__first2));
3777166: }
3777166:
3777166: template<typename _II1, typename _Seq1, typename _Cat1, typename _II2>
3777166: bool
3777166: __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
3777166: const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
3777166: _II2);
3777166:
3777166: template<typename _II1, typename _II2, typename _Seq2, typename _Cat2>
3777166: bool
3777166: __equal_aux(_II1, _II1,
3777166: const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&);
3777166:
3777166: template<typename _II1, typename _Seq1, typename _Cat1,
3777166: typename _II2, typename _Seq2, typename _Cat2>
3777166: bool
3777166: __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
3777166: const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
3777166: const ::__gnu_debug::_Safe_iterator<_II2, _Seq2, _Cat2>&);
3777166:
3777166: template<typename, typename>
3777166: struct __lc_rai
3777166: {
3777166: template<typename _II1, typename _II2>
3777166:
3777166: static _II1
3777166: __newlast1(_II1, _II1 __last1, _II2, _II2)
3777166: { return __last1; }
3777166:
3777166: template<typename _II>
3777166:
3777166: static bool
3777166: __cnd2(_II __first, _II __last)
3777166: { return __first != __last; }
3777166: };
3777166:
3777166: template<>
3777166: struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
3777166: {
3777166: template<typename _RAI1, typename _RAI2>
3777166:
3777166: static _RAI1
3777166: __newlast1(_RAI1 __first1, _RAI1 __last1,
3777166: _RAI2 __first2, _RAI2 __last2)
3777166: {
3777166: const typename iterator_traits<_RAI1>::difference_type
3777166: __diff1 = __last1 - __first1;
3777166: const typename iterator_traits<_RAI2>::difference_type
3777166: __diff2 = __last2 - __first2;
3777166: return __diff2 < __diff1 ? __first1 + __diff2 : __last1;
3777166: }
3777166:
3777166: template<typename _RAI>
3777166: static bool
3777166: __cnd2(_RAI, _RAI)
3777166: { return true; }
3777166: };
3777166:
3777166: template<typename _II1, typename _II2, typename _Compare>
3777166:
3777166: bool
3777166: __lexicographical_compare_impl(_II1 __first1, _II1 __last1,
3777166: _II2 __first2, _II2 __last2,
3777166: _Compare __comp)
3777166: {
3777166: typedef typename iterator_traits<_II1>::iterator_category _Category1;
3777166: typedef typename iterator_traits<_II2>::iterator_category _Category2;
3777166: typedef std::__lc_rai<_Category1, _Category2> __rai_type;
3777166:
3777166: __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2);
3777166: for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
3777166: ++__first1, (void)++__first2)
3777166: {
3777166: if (__comp(__first1, __first2))
3777166: return true;
3777166: if (__comp(__first2, __first1))
3777166: return false;
3777166: }
3777166: return __first1 == __last1 && __first2 != __last2;
3777166: }
3777166:
3777166: template<bool _BoolType>
3777166: struct __lexicographical_compare
3777166: {
3777166: template<typename _II1, typename _II2>
3777166:
3777166: static bool
3777166: __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2)
3777166: {
3777166: using __gnu_cxx::__ops::__iter_less_iter;
3777166: return std::__lexicographical_compare_impl(__first1, __last1,
3777166: __first2, __last2,
3777166: __iter_less_iter());
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __lexicographical_compare<true>
3777166: {
3777166: template<typename _Tp, typename _Up>
3777166:
3777166: static bool
3777166: __lc(const _Tp* __first1, const _Tp* __last1,
3777166: const _Up* __first2, const _Up* __last2)
3777166: {
3777166: const size_t __len1 = __last1 - __first1;
3777166: const size_t __len2 = __last2 - __first2;
3777166: if (const size_t __len = std::min(__len1, __len2))
3777166: if (int __result = std::__memcmp(__first1, __first2, __len))
3777166: return __result < 0;
3777166: return __len1 < __len2;
3777166: }
3777166: };
3777166:
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: __lexicographical_compare_aux(_II1 __first1, _II1 __last1,
3777166: _II2 __first2, _II2 __last2)
3777166: {
3777166: typedef typename iterator_traits<_II1>::value_type _ValueType1;
3777166: typedef typename iterator_traits<_II2>::value_type _ValueType2;
3777166: const bool __simple =
3777166: (__is_byte<_ValueType1>::__value && __is_byte<_ValueType2>::__value
3777166: && !__gnu_cxx::__numeric_traits<_ValueType1>::__is_signed
3777166: && !__gnu_cxx::__numeric_traits<_ValueType2>::__is_signed
3777166: && __is_pointer<_II1>::__value
3777166: && __is_pointer<_II2>::__value
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: );
3777166:
3777166: return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
3777166: __first2, __last2);
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp, typename _Compare>
3777166:
3777166: _ForwardIterator
3777166: __lower_bound(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __val, _Compare __comp)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::difference_type
3777166: _DistanceType;
3777166:
3777166: _DistanceType __len = std::distance(__first, __last);
3777166:
3777166: while (__len > 0)
3777166: {
3777166: _DistanceType __half = __len >> 1;
3777166: _ForwardIterator __middle = __first;
3777166: std::advance(__middle, __half);
3777166: if (__comp(__middle, __val))
3777166: {
3777166: __first = __middle;
3777166: ++__first;
3777166: __len = __len - __half - 1;
3777166: }
3777166: else
3777166: __len = __half;
3777166: }
3777166: return __first;
3777166: }
3777166: # 1347 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _ForwardIterator, typename _Tp>
3777166:
3777166: inline _ForwardIterator
3777166: lower_bound(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __val)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__lower_bound(__first, __last, __val,
3777166: __gnu_cxx::__ops::__iter_less_val());
3777166: }
3777166:
3777166:
3777166:
3777166: inline constexpr int
3777166: __lg(int __n)
3777166: { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); }
3777166:
3777166: inline constexpr unsigned
3777166: __lg(unsigned __n)
3777166: { return (int)sizeof(int) * 8 - 1 - __builtin_clz(__n); }
3777166:
3777166: inline constexpr long
3777166: __lg(long __n)
3777166: { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); }
3777166:
3777166: inline constexpr unsigned long
3777166: __lg(unsigned long __n)
3777166: { return (int)sizeof(long) * 8 - 1 - __builtin_clzl(__n); }
3777166:
3777166: inline constexpr long long
3777166: __lg(long long __n)
3777166: { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); }
3777166:
3777166: inline constexpr unsigned long long
3777166: __lg(unsigned long long __n)
3777166: { return (int)sizeof(long long) * 8 - 1 - __builtin_clzll(__n); }
3777166:
3777166:
3777166: # 1403 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: equal(_II1 __first1, _II1 __last1, _II2 __first2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__equal_aux(__first1, __last1, __first2);
3777166: }
3777166: # 1434 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _IIter1, typename _IIter2, typename _BinaryPredicate>
3777166:
3777166: inline bool
3777166: equal(_IIter1 __first1, _IIter1 __last1,
3777166: _IIter2 __first2, _BinaryPredicate __binary_pred)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: for (; __first1 != __last1; ++__first1, (void)++__first2)
3777166: if (!bool(__binary_pred(*__first1, *__first2)))
3777166: return false;
3777166: return true;
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2)
3777166: {
3777166: using _RATag = random_access_iterator_tag;
3777166: using _Cat1 = typename iterator_traits<_II1>::iterator_category;
3777166: using _Cat2 = typename iterator_traits<_II2>::iterator_category;
3777166: using _RAIters = __and_<is_same<_Cat1, _RATag>, is_same<_Cat2, _RATag>>;
3777166: if (_RAIters())
3777166: {
3777166: auto __d1 = std::distance(__first1, __last1);
3777166: auto __d2 = std::distance(__first2, __last2);
3777166: if (__d1 != __d2)
3777166: return false;
3777166: return std::equal(__first1, __last1, __first2);
3777166: }
3777166:
3777166: for (; __first1 != __last1 && __first2 != __last2;
3777166: ++__first1, (void)++__first2)
3777166: if (!(*__first1 == *__first2))
3777166: return false;
3777166: return __first1 == __last1 && __first2 == __last2;
3777166: }
3777166:
3777166:
3777166: template<typename _II1, typename _II2, typename _BinaryPredicate>
3777166:
3777166: inline bool
3777166: __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2,
3777166: _BinaryPredicate __binary_pred)
3777166: {
3777166: using _RATag = random_access_iterator_tag;
3777166: using _Cat1 = typename iterator_traits<_II1>::iterator_category;
3777166: using _Cat2 = typename iterator_traits<_II2>::iterator_category;
3777166: using _RAIters = __and_<is_same<_Cat1, _RATag>, is_same<_Cat2, _RATag>>;
3777166: if (_RAIters())
3777166: {
3777166: auto __d1 = std::distance(__first1, __last1);
3777166: auto __d2 = std::distance(__first2, __last2);
3777166: if (__d1 != __d2)
3777166: return false;
3777166: return std::equal(__first1, __last1, __first2,
3777166: __binary_pred);
3777166: }
3777166:
3777166: for (; __first1 != __last1 && __first2 != __last2;
3777166: ++__first1, (void)++__first2)
3777166: if (!bool(__binary_pred(*__first1, *__first2)))
3777166: return false;
3777166: return __first1 == __last1 && __first2 == __last2;
3777166: }
3777166: # 1524 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: equal(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__equal4(__first1, __last1, __first2, __last2);
3777166: }
3777166: # 1557 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _IIter1, typename _IIter2, typename _BinaryPredicate>
3777166:
3777166: inline bool
3777166: equal(_IIter1 __first1, _IIter1 __last1,
3777166: _IIter2 __first2, _IIter2 __last2, _BinaryPredicate __binary_pred)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__equal4(__first1, __last1, __first2, __last2,
3777166: __binary_pred);
3777166: }
3777166: # 1589 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II1, typename _II2>
3777166:
3777166: inline bool
3777166: lexicographical_compare(_II1 __first1, _II1 __last1,
3777166: _II2 __first2, _II2 __last2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__lexicographical_compare_aux(std::__niter_base(__first1),
3777166: std::__niter_base(__last1),
3777166: std::__niter_base(__first2),
3777166: std::__niter_base(__last2));
3777166: }
3777166: # 1626 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _II1, typename _II2, typename _Compare>
3777166:
3777166: inline bool
3777166: lexicographical_compare(_II1 __first1, _II1 __last1,
3777166: _II2 __first2, _II2 __last2, _Compare __comp)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__lexicographical_compare_impl
3777166: (__first1, __last1, __first2, __last2,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__comp));
3777166: }
3777166: # 1740 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _BinaryPredicate>
3777166:
3777166: pair<_InputIterator1, _InputIterator2>
3777166: __mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2, _BinaryPredicate __binary_pred)
3777166: {
3777166: while (__first1 != __last1 && __binary_pred(__first1, __first2))
3777166: {
3777166: ++__first1;
3777166: ++__first2;
3777166: }
3777166: return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
3777166: }
3777166: # 1768 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2>
3777166:
3777166: inline pair<_InputIterator1, _InputIterator2>
3777166: mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__mismatch(__first1, __last1, __first2,
3777166: __gnu_cxx::__ops::__iter_equal_to_iter());
3777166: }
3777166: # 1802 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _BinaryPredicate>
3777166:
3777166: inline pair<_InputIterator1, _InputIterator2>
3777166: mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2, _BinaryPredicate __binary_pred)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__mismatch(__first1, __last1, __first2,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__binary_pred));
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _BinaryPredicate>
3777166:
3777166: pair<_InputIterator1, _InputIterator2>
3777166: __mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2, _InputIterator2 __last2,
3777166: _BinaryPredicate __binary_pred)
3777166: {
3777166: while (__first1 != __last1 && __first2 != __last2
3777166: && __binary_pred(__first1, __first2))
3777166: {
3777166: ++__first1;
3777166: ++__first2;
3777166: }
3777166: return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
3777166: }
3777166: # 1851 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2>
3777166:
3777166: inline pair<_InputIterator1, _InputIterator2>
3777166: mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2, _InputIterator2 __last2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__mismatch(__first1, __last1, __first2, __last2,
3777166: __gnu_cxx::__ops::__iter_equal_to_iter());
3777166: }
3777166: # 1887 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _BinaryPredicate>
3777166:
3777166: inline pair<_InputIterator1, _InputIterator2>
3777166: mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
3777166: _InputIterator2 __first2, _InputIterator2 __last2,
3777166: _BinaryPredicate __binary_pred)
3777166: {
3777166:
3777166:
3777166:
3777166: ;
3777166: ;
3777166:
3777166: return std::__mismatch(__first1, __last1, __first2, __last2,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__binary_pred));
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _InputIterator, typename _Predicate>
3777166:
3777166: inline _InputIterator
3777166: __find_if(_InputIterator __first, _InputIterator __last,
3777166: _Predicate __pred, input_iterator_tag)
3777166: {
3777166: while (__first != __last && !__pred(__first))
3777166: ++__first;
3777166: return __first;
3777166: }
3777166:
3777166:
3777166: template<typename _RandomAccessIterator, typename _Predicate>
3777166:
3777166: _RandomAccessIterator
3777166: __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last,
3777166: _Predicate __pred, random_access_iterator_tag)
3777166: {
3777166: typename iterator_traits<_RandomAccessIterator>::difference_type
3777166: __trip_count = (__last - __first) >> 2;
3777166:
3777166: for (; __trip_count > 0; --__trip_count)
3777166: {
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166: }
3777166:
3777166: switch (__last - __first)
3777166: {
3777166: case 3:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: case 2:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: case 1:
3777166: if (__pred(__first))
3777166: return __first;
3777166: ++__first;
3777166:
3777166: case 0:
3777166: default:
3777166: return __last;
3777166: }
3777166: }
3777166:
3777166: template<typename _Iterator, typename _Predicate>
3777166:
3777166: inline _Iterator
3777166: __find_if(_Iterator __first, _Iterator __last, _Predicate __pred)
3777166: {
3777166: return __find_if(__first, __last, __pred,
3777166: std::__iterator_category(__first));
3777166: }
3777166:
3777166: template<typename _InputIterator, typename _Predicate>
3777166:
3777166: typename iterator_traits<_InputIterator>::difference_type
3777166: __count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred)
3777166: {
3777166: typename iterator_traits<_InputIterator>::difference_type __n = 0;
3777166: for (; __first != __last; ++__first)
3777166: if (__pred(__first))
3777166: ++__n;
3777166: return __n;
3777166: }
3777166:
3777166:
3777166: template<typename _ForwardIterator1, typename _ForwardIterator2,
3777166: typename _BinaryPredicate>
3777166:
3777166: bool
3777166: __is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
3777166: _ForwardIterator2 __first2, _BinaryPredicate __pred)
3777166: {
3777166:
3777166:
3777166: for (; __first1 != __last1; ++__first1, (void)++__first2)
3777166: if (!__pred(__first1, __first2))
3777166: break;
3777166:
3777166: if (__first1 == __last1)
3777166: return true;
3777166:
3777166:
3777166:
3777166: _ForwardIterator2 __last2 = __first2;
3777166: std::advance(__last2, std::distance(__first1, __last1));
3777166: for (_ForwardIterator1 __scan = __first1; __scan != __last1; ++__scan)
3777166: {
3777166: if (__scan != std::__find_if(__first1, __scan,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan)))
3777166: continue;
3777166:
3777166: auto __matches
3777166: = std::__count_if(__first2, __last2,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan));
3777166: if (0 == __matches ||
3777166: std::__count_if(__scan, __last1,
3777166: __gnu_cxx::__ops::__iter_comp_iter(__pred, __scan))
3777166: != __matches)
3777166: return false;
3777166: }
3777166: return true;
3777166: }
3777166: # 2044 "/usr/include/c++/10/bits/stl_algobase.h" 3
3777166: template<typename _ForwardIterator1, typename _ForwardIterator2>
3777166:
3777166: inline bool
3777166: is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
3777166: _ForwardIterator2 __first2)
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: ;
3777166:
3777166: return std::__is_permutation(__first1, __last1, __first2,
3777166: __gnu_cxx::__ops::__iter_equal_to_iter());
3777166: }
3777166:
3777166:
3777166:
3777166: }
3777166: # 64 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/allocator.h" 1 3
3777166: # 46 "/usr/include/c++/10/bits/allocator.h" 3
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h" 1 3
3777166: # 33 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h" 3
3777166: # 1 "/usr/include/c++/10/ext/new_allocator.h" 1 3
3777166: # 33 "/usr/include/c++/10/ext/new_allocator.h" 3
3777166: # 1 "/usr/include/c++/10/new" 1 3
3777166: # 38 "/usr/include/c++/10/new" 3
3777166:
3777166: # 39 "/usr/include/c++/10/new" 3
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/exception" 1 3
3777166: # 33 "/usr/include/c++/10/exception" 3
3777166:
3777166: # 34 "/usr/include/c++/10/exception" 3
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/exception.h" 1 3
3777166: # 34 "/usr/include/c++/10/bits/exception.h" 3
3777166:
3777166: # 35 "/usr/include/c++/10/bits/exception.h" 3
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166:
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace std
3777166: {
3777166: # 60 "/usr/include/c++/10/bits/exception.h" 3
3777166: class exception
3777166: {
3777166: public:
3777166: exception() noexcept { }
3777166: virtual ~exception() noexcept;
3777166:
3777166: exception(const exception&) = default;
3777166: exception& operator=(const exception&) = default;
3777166: exception(exception&&) = default;
3777166: exception& operator=(exception&&) = default;
3777166:
3777166:
3777166:
3777166:
3777166: virtual const char*
3777166: what() const noexcept;
3777166: };
3777166:
3777166: }
3777166:
3777166: }
3777166:
3777166: #pragma GCC visibility pop
3777166: # 39 "/usr/include/c++/10/exception" 2 3
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class bad_exception : public exception
3777166: {
3777166: public:
3777166: bad_exception() noexcept { }
3777166:
3777166:
3777166:
3777166: virtual ~bad_exception() noexcept;
3777166:
3777166:
3777166: virtual const char*
3777166: what() const noexcept;
3777166: };
3777166:
3777166:
3777166: typedef void (*terminate_handler) ();
3777166:
3777166:
3777166: typedef void (*unexpected_handler) ();
3777166:
3777166:
3777166: terminate_handler set_terminate(terminate_handler) noexcept;
3777166:
3777166:
3777166:
3777166: terminate_handler get_terminate() noexcept;
3777166:
3777166:
3777166:
3777166:
3777166: void terminate() noexcept __attribute__ ((__noreturn__));
3777166:
3777166:
3777166: unexpected_handler set_unexpected(unexpected_handler) noexcept;
3777166:
3777166:
3777166:
3777166: unexpected_handler get_unexpected() noexcept;
3777166:
3777166:
3777166:
3777166:
3777166: void unexpected() __attribute__ ((__noreturn__));
3777166: # 105 "/usr/include/c++/10/exception" 3
3777166: [[__deprecated__]]
3777166: bool uncaught_exception() noexcept __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166: int uncaught_exceptions() noexcept __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: namespace __gnu_cxx
3777166: {
3777166:
3777166: # 137 "/usr/include/c++/10/exception" 3
3777166: void __verbose_terminate_handler();
3777166:
3777166:
3777166: }
3777166:
3777166: }
3777166:
3777166: #pragma GCC visibility pop
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/exception_ptr.h" 1 3
3777166: # 34 "/usr/include/c++/10/bits/exception_ptr.h" 3
3777166: #pragma GCC visibility push(default)
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/cxxabi_init_exception.h" 1 3
3777166: # 34 "/usr/include/c++/10/bits/cxxabi_init_exception.h" 3
3777166:
3777166: # 35 "/usr/include/c++/10/bits/cxxabi_init_exception.h" 3
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4
3777166: # 39 "/usr/include/c++/10/bits/cxxabi_init_exception.h" 2 3
3777166: # 50 "/usr/include/c++/10/bits/cxxabi_init_exception.h" 3
3777166: namespace std
3777166: {
3777166: class type_info;
3777166: }
3777166:
3777166: namespace __cxxabiv1
3777166: {
3777166: struct __cxa_refcounted_exception;
3777166:
3777166: extern "C"
3777166: {
3777166:
3777166: void*
3777166: __cxa_allocate_exception(size_t) noexcept;
3777166:
3777166: void
3777166: __cxa_free_exception(void*) noexcept;
3777166:
3777166:
3777166: __cxa_refcounted_exception*
3777166: __cxa_init_primary_exception(void *object, std::type_info *tinfo,
3777166: void ( *dest) (void *)) noexcept;
3777166:
3777166: }
3777166: }
3777166:
3777166:
3777166:
3777166: #pragma GCC visibility pop
3777166: # 39 "/usr/include/c++/10/bits/exception_ptr.h" 2 3
3777166: # 1 "/usr/include/c++/10/typeinfo" 1 3
3777166: # 32 "/usr/include/c++/10/typeinfo" 3
3777166:
3777166: # 33 "/usr/include/c++/10/typeinfo" 3
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/hash_bytes.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/hash_bytes.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/hash_bytes.h" 3
3777166:
3777166:
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: size_t
3777166: _Hash_bytes(const void* __ptr, size_t __len, size_t __seed);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: size_t
3777166: _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed);
3777166:
3777166:
3777166: }
3777166: # 37 "/usr/include/c++/10/typeinfo" 2 3
3777166:
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace __cxxabiv1
3777166: {
3777166: class __class_type_info;
3777166: }
3777166: # 80 "/usr/include/c++/10/typeinfo" 3
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class type_info
3777166: {
3777166: public:
3777166:
3777166:
3777166:
3777166:
3777166: virtual ~type_info();
3777166:
3777166:
3777166:
3777166: const char* name() const noexcept
3777166: { return __name[0] == '*' ? __name + 1 : __name; }
3777166: # 115 "/usr/include/c++/10/typeinfo" 3
3777166: bool before(const type_info& __arg) const noexcept
3777166: { return (__name[0] == '*' && __arg.__name[0] == '*')
3777166: ? __name < __arg.__name
3777166: : __builtin_strcmp (__name, __arg.__name) < 0; }
3777166:
3777166: bool operator==(const type_info& __arg) const noexcept
3777166: {
3777166: return ((__name == __arg.__name)
3777166: || (__name[0] != '*' &&
3777166: __builtin_strcmp (__name, __arg.__name) == 0));
3777166: }
3777166: # 138 "/usr/include/c++/10/typeinfo" 3
3777166: bool operator!=(const type_info& __arg) const noexcept
3777166: { return !operator==(__arg); }
3777166:
3777166:
3777166:
3777166: size_t hash_code() const noexcept
3777166: {
3777166:
3777166: return _Hash_bytes(name(), __builtin_strlen(name()),
3777166: static_cast<size_t>(0xc70f6907UL));
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166:
3777166:
3777166: virtual bool __is_pointer_p() const;
3777166:
3777166:
3777166: virtual bool __is_function_p() const;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj,
3777166: unsigned __outer) const;
3777166:
3777166:
3777166: virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target,
3777166: void **__obj_ptr) const;
3777166:
3777166: protected:
3777166: const char *__name;
3777166:
3777166: explicit type_info(const char *__n): __name(__n) { }
3777166:
3777166: private:
3777166:
3777166: type_info& operator=(const type_info&);
3777166: type_info(const type_info&);
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class bad_cast : public exception
3777166: {
3777166: public:
3777166: bad_cast() noexcept { }
3777166:
3777166:
3777166:
3777166: virtual ~bad_cast() noexcept;
3777166:
3777166:
3777166: virtual const char* what() const noexcept;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class bad_typeid : public exception
3777166: {
3777166: public:
3777166: bad_typeid () noexcept { }
3777166:
3777166:
3777166:
3777166: virtual ~bad_typeid() noexcept;
3777166:
3777166:
3777166: virtual const char* what() const noexcept;
3777166: };
3777166: }
3777166:
3777166: }
3777166:
3777166: #pragma GCC visibility pop
3777166: # 40 "/usr/include/c++/10/bits/exception_ptr.h" 2 3
3777166: # 1 "/usr/include/c++/10/new" 1 3
3777166: # 41 "/usr/include/c++/10/bits/exception_ptr.h" 2 3
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace std
3777166: {
3777166: class type_info;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace __exception_ptr
3777166: {
3777166: class exception_ptr;
3777166: }
3777166:
3777166: using __exception_ptr::exception_ptr;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: exception_ptr current_exception() noexcept;
3777166:
3777166: template<typename _Ex>
3777166: exception_ptr make_exception_ptr(_Ex) noexcept;
3777166:
3777166:
3777166: void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__));
3777166:
3777166: namespace __exception_ptr
3777166: {
3777166: using std::rethrow_exception;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class exception_ptr
3777166: {
3777166: void* _M_exception_object;
3777166:
3777166: explicit exception_ptr(void* __e) noexcept;
3777166:
3777166: void _M_addref() noexcept;
3777166: void _M_release() noexcept;
3777166:
3777166: void *_M_get() const noexcept __attribute__ ((__pure__));
3777166:
3777166: friend exception_ptr std::current_exception() noexcept;
3777166: friend void std::rethrow_exception(exception_ptr);
3777166: template<typename _Ex>
3777166: friend exception_ptr std::make_exception_ptr(_Ex) noexcept;
3777166:
3777166: public:
3777166: exception_ptr() noexcept;
3777166:
3777166: exception_ptr(const exception_ptr&) noexcept;
3777166:
3777166:
3777166: exception_ptr(nullptr_t) noexcept
3777166: : _M_exception_object(0)
3777166: { }
3777166:
3777166: exception_ptr(exception_ptr&& __o) noexcept
3777166: : _M_exception_object(__o._M_exception_object)
3777166: { __o._M_exception_object = 0; }
3777166: # 118 "/usr/include/c++/10/bits/exception_ptr.h" 3
3777166: exception_ptr&
3777166: operator=(const exception_ptr&) noexcept;
3777166:
3777166:
3777166: exception_ptr&
3777166: operator=(exception_ptr&& __o) noexcept
3777166: {
3777166: exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: ~exception_ptr() noexcept;
3777166:
3777166: void
3777166: swap(exception_ptr&) noexcept;
3777166: # 145 "/usr/include/c++/10/bits/exception_ptr.h" 3
3777166: explicit operator bool() const
3777166: { return _M_exception_object; }
3777166:
3777166:
3777166: friend bool
3777166: operator==(const exception_ptr&, const exception_ptr&)
3777166: noexcept __attribute__ ((__pure__));
3777166:
3777166: const class std::type_info*
3777166: __cxa_exception_type() const noexcept
3777166: __attribute__ ((__pure__));
3777166: };
3777166:
3777166:
3777166:
3777166: bool
3777166: operator==(const exception_ptr&, const exception_ptr&)
3777166: noexcept __attribute__ ((__pure__));
3777166:
3777166: bool
3777166: operator!=(const exception_ptr&, const exception_ptr&)
3777166: noexcept __attribute__ ((__pure__));
3777166:
3777166: inline void
3777166: swap(exception_ptr& __lhs, exception_ptr& __rhs)
3777166: { __lhs.swap(__rhs); }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Ex>
3777166: inline void
3777166: __dest_thunk(void* __x)
3777166: { static_cast<_Ex*>(__x)->~_Ex(); }
3777166:
3777166:
3777166: }
3777166:
3777166:
3777166: template<typename _Ex>
3777166: exception_ptr
3777166: make_exception_ptr(_Ex __ex) noexcept
3777166: {
3777166:
3777166: void* __e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex));
3777166: (void) __cxxabiv1::__cxa_init_primary_exception(
3777166: __e, const_cast<std::type_info*>(&typeid(__ex)),
3777166: __exception_ptr::__dest_thunk<_Ex>);
3777166: try
3777166: {
3777166: ::new (__e) _Ex(__ex);
3777166: return exception_ptr(__e);
3777166: }
3777166: catch(...)
3777166: {
3777166: __cxxabiv1::__cxa_free_exception(__e);
3777166: return current_exception();
3777166: }
3777166: # 215 "/usr/include/c++/10/bits/exception_ptr.h" 3
3777166: }
3777166:
3777166:
3777166: }
3777166:
3777166: }
3777166:
3777166: #pragma GCC visibility pop
3777166: # 148 "/usr/include/c++/10/exception" 2 3
3777166: # 1 "/usr/include/c++/10/bits/nested_exception.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/nested_exception.h" 3
3777166: #pragma GCC visibility push(default)
3777166: # 42 "/usr/include/c++/10/bits/nested_exception.h" 3
3777166: extern "C++" {
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class nested_exception
3777166: {
3777166: exception_ptr _M_ptr;
3777166:
3777166: public:
3777166: nested_exception() noexcept : _M_ptr(current_exception()) { }
3777166:
3777166: nested_exception(const nested_exception&) noexcept = default;
3777166:
3777166: nested_exception& operator=(const nested_exception&) noexcept = default;
3777166:
3777166: virtual ~nested_exception() noexcept;
3777166:
3777166: [[noreturn]]
3777166: void
3777166: rethrow_nested() const
3777166: {
3777166: if (_M_ptr)
3777166: rethrow_exception(_M_ptr);
3777166: std::terminate();
3777166: }
3777166:
3777166: exception_ptr
3777166: nested_ptr() const noexcept
3777166: { return _M_ptr; }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Except>
3777166: struct _Nested_exception : public _Except, public nested_exception
3777166: {
3777166: explicit _Nested_exception(const _Except& __ex)
3777166: : _Except(__ex)
3777166: { }
3777166:
3777166: explicit _Nested_exception(_Except&& __ex)
3777166: : _Except(static_cast<_Except&&>(__ex))
3777166: { }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: [[noreturn]]
3777166: inline void
3777166: __throw_with_nested_impl(_Tp&& __t, true_type)
3777166: {
3777166: using _Up = typename remove_reference<_Tp>::type;
3777166: throw _Nested_exception<_Up>{std::forward<_Tp>(__t)};
3777166: }
3777166:
3777166: template<typename _Tp>
3777166: [[noreturn]]
3777166: inline void
3777166: __throw_with_nested_impl(_Tp&& __t, false_type)
3777166: { throw std::forward<_Tp>(__t); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: [[noreturn]]
3777166: inline void
3777166: throw_with_nested(_Tp&& __t)
3777166: {
3777166: using _Up = typename decay<_Tp>::type;
3777166: using _CopyConstructible
3777166: = __and_<is_copy_constructible<_Up>, is_move_constructible<_Up>>;
3777166: static_assert(_CopyConstructible::value,
3777166: "throw_with_nested argument must be CopyConstructible");
3777166: using __nest = __and_<is_class<_Up>, __bool_constant<!__is_final(_Up)>,
3777166: __not_<is_base_of<nested_exception, _Up>>>;
3777166: std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{});
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __rethrow_if_nested_cond = typename enable_if<
3777166: __and_<is_polymorphic<_Tp>,
3777166: __or_<__not_<is_base_of<nested_exception, _Tp>>,
3777166: is_convertible<_Tp*, nested_exception*>>>::value
3777166: >::type;
3777166:
3777166:
3777166: template<typename _Ex>
3777166: inline __rethrow_if_nested_cond<_Ex>
3777166: __rethrow_if_nested_impl(const _Ex* __ptr)
3777166: {
3777166: if (auto __ne_ptr = dynamic_cast<const nested_exception*>(__ptr))
3777166: __ne_ptr->rethrow_nested();
3777166: }
3777166:
3777166:
3777166: inline void
3777166: __rethrow_if_nested_impl(const void*)
3777166: { }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Ex>
3777166: inline void
3777166: rethrow_if_nested(const _Ex& __ex)
3777166: { std::__rethrow_if_nested_impl(std::__addressof(__ex)); }
3777166:
3777166:
3777166: }
3777166:
3777166: }
3777166:
3777166:
3777166:
3777166: #pragma GCC visibility pop
3777166: # 149 "/usr/include/c++/10/exception" 2 3
3777166: # 42 "/usr/include/c++/10/new" 2 3
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166: extern "C++" {
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class bad_alloc : public exception
3777166: {
3777166: public:
3777166: bad_alloc() throw() { }
3777166:
3777166:
3777166: bad_alloc(const bad_alloc&) = default;
3777166: bad_alloc& operator=(const bad_alloc&) = default;
3777166:
3777166:
3777166:
3777166:
3777166: virtual ~bad_alloc() throw();
3777166:
3777166:
3777166: virtual const char* what() const throw();
3777166: };
3777166:
3777166:
3777166: class bad_array_new_length : public bad_alloc
3777166: {
3777166: public:
3777166: bad_array_new_length() throw() { }
3777166:
3777166:
3777166:
3777166: virtual ~bad_array_new_length() throw();
3777166:
3777166:
3777166: virtual const char* what() const throw();
3777166: };
3777166:
3777166:
3777166:
3777166: enum class align_val_t: size_t {};
3777166:
3777166:
3777166: struct nothrow_t
3777166: {
3777166:
3777166: explicit nothrow_t() = default;
3777166:
3777166: };
3777166:
3777166: extern const nothrow_t nothrow;
3777166:
3777166:
3777166:
3777166: typedef void (*new_handler)();
3777166:
3777166:
3777166:
3777166: new_handler set_new_handler(new_handler) throw();
3777166:
3777166:
3777166:
3777166: new_handler get_new_handler() noexcept;
3777166:
3777166: }
3777166: # 126 "/usr/include/c++/10/new" 3
3777166: [[__nodiscard__]] void* operator new(std::size_t)
3777166: __attribute__((__externally_visible__));
3777166: [[__nodiscard__]] void* operator new[](std::size_t)
3777166: __attribute__((__externally_visible__));
3777166: void operator delete(void*) noexcept
3777166: __attribute__((__externally_visible__));
3777166: void operator delete[](void*) noexcept
3777166: __attribute__((__externally_visible__));
3777166:
3777166: void operator delete(void*, std::size_t) noexcept
3777166: __attribute__((__externally_visible__));
3777166: void operator delete[](void*, std::size_t) noexcept
3777166: __attribute__((__externally_visible__));
3777166:
3777166: [[__nodiscard__]] void* operator new(std::size_t, const std::nothrow_t&) noexcept
3777166: __attribute__((__externally_visible__, __malloc__));
3777166: [[__nodiscard__]] void* operator new[](std::size_t, const std::nothrow_t&) noexcept
3777166: __attribute__((__externally_visible__, __malloc__));
3777166: void operator delete(void*, const std::nothrow_t&) noexcept
3777166: __attribute__((__externally_visible__));
3777166: void operator delete[](void*, const std::nothrow_t&) noexcept
3777166: __attribute__((__externally_visible__));
3777166:
3777166: [[__nodiscard__]] void* operator new(std::size_t, std::align_val_t)
3777166: __attribute__((__externally_visible__));
3777166: [[__nodiscard__]] void* operator new(std::size_t, std::align_val_t, const std::nothrow_t&)
3777166: noexcept __attribute__((__externally_visible__, __malloc__));
3777166: void operator delete(void*, std::align_val_t)
3777166: noexcept __attribute__((__externally_visible__));
3777166: void operator delete(void*, std::align_val_t, const std::nothrow_t&)
3777166: noexcept __attribute__((__externally_visible__));
3777166: [[__nodiscard__]] void* operator new[](std::size_t, std::align_val_t)
3777166: __attribute__((__externally_visible__));
3777166: [[__nodiscard__]] void* operator new[](std::size_t, std::align_val_t, const std::nothrow_t&)
3777166: noexcept __attribute__((__externally_visible__, __malloc__));
3777166: void operator delete[](void*, std::align_val_t)
3777166: noexcept __attribute__((__externally_visible__));
3777166: void operator delete[](void*, std::align_val_t, const std::nothrow_t&)
3777166: noexcept __attribute__((__externally_visible__));
3777166:
3777166: void operator delete(void*, std::size_t, std::align_val_t)
3777166: noexcept __attribute__((__externally_visible__));
3777166: void operator delete[](void*, std::size_t, std::align_val_t)
3777166: noexcept __attribute__((__externally_visible__));
3777166:
3777166:
3777166:
3777166:
3777166: [[__nodiscard__]] inline void* operator new(std::size_t, void* __p) noexcept
3777166: { return __p; }
3777166: [[__nodiscard__]] inline void* operator new[](std::size_t, void* __p) noexcept
3777166: { return __p; }
3777166:
3777166:
3777166: inline void operator delete (void*, void*) noexcept { }
3777166: inline void operator delete[](void*, void*) noexcept { }
3777166:
3777166: }
3777166:
3777166:
3777166:
3777166: namespace std
3777166: {
3777166:
3777166:
3777166: template<typename _Tp>
3777166: [[nodiscard]] constexpr _Tp*
3777166: launder(_Tp* __p) noexcept
3777166: { return __builtin_launder(__p); }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename... _Args , bool _NE>
3777166: void launder(_Ret (*)(_Args...) noexcept (_NE)) = delete;
3777166: template<typename _Ret, typename... _Args , bool _NE>
3777166: void launder(_Ret (*)(_Args......) noexcept (_NE)) = delete;
3777166:
3777166: void launder(void*) = delete;
3777166: void launder(const void*) = delete;
3777166: void launder(volatile void*) = delete;
3777166: void launder(const volatile void*) = delete;
3777166: }
3777166: # 230 "/usr/include/c++/10/new" 3
3777166: #pragma GCC visibility pop
3777166: # 34 "/usr/include/c++/10/ext/new_allocator.h" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 54 "/usr/include/c++/10/ext/new_allocator.h" 3
3777166: template<typename _Tp>
3777166: class new_allocator
3777166: {
3777166: public:
3777166: typedef _Tp value_type;
3777166: typedef std::size_t size_type;
3777166: typedef std::ptrdiff_t difference_type;
3777166:
3777166: typedef _Tp* pointer;
3777166: typedef const _Tp* const_pointer;
3777166: typedef _Tp& reference;
3777166: typedef const _Tp& const_reference;
3777166:
3777166: template<typename _Tp1>
3777166: struct rebind
3777166: { typedef new_allocator<_Tp1> other; };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef std::true_type propagate_on_container_move_assignment;
3777166:
3777166:
3777166:
3777166: new_allocator() noexcept { }
3777166:
3777166:
3777166: new_allocator(const new_allocator&) noexcept { }
3777166:
3777166: template<typename _Tp1>
3777166:
3777166: new_allocator(const new_allocator<_Tp1>&) noexcept { }
3777166:
3777166:
3777166: ~new_allocator() noexcept { }
3777166:
3777166: pointer
3777166: address(reference __x) const noexcept
3777166: { return std::__addressof(__x); }
3777166:
3777166: const_pointer
3777166: address(const_reference __x) const noexcept
3777166: { return std::__addressof(__x); }
3777166:
3777166:
3777166:
3777166:
3777166: [[__nodiscard__]] _Tp*
3777166: allocate(size_type __n, const void* = static_cast<const void*>(0))
3777166: {
3777166: if (__n > this->_M_max_size())
3777166: std::__throw_bad_alloc();
3777166:
3777166:
3777166: if (alignof(_Tp) > 16)
3777166: {
3777166: std::align_val_t __al = std::align_val_t(alignof(_Tp));
3777166: return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp), __al));
3777166: }
3777166:
3777166: return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
3777166: }
3777166:
3777166:
3777166: void
3777166: deallocate(_Tp* __p, size_type __t)
3777166: {
3777166:
3777166: if (alignof(_Tp) > 16)
3777166: {
3777166: ::operator delete(__p,
3777166:
3777166: __t * sizeof(_Tp),
3777166:
3777166: std::align_val_t(alignof(_Tp)));
3777166: return;
3777166: }
3777166:
3777166: ::operator delete(__p
3777166:
3777166: , __t * sizeof(_Tp)
3777166:
3777166: );
3777166: }
3777166:
3777166:
3777166: size_type
3777166: max_size() const noexcept
3777166: { return _M_max_size(); }
3777166:
3777166:
3777166: template<typename _Up, typename... _Args>
3777166: void
3777166: construct(_Up* __p, _Args&&... __args)
3777166: noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
3777166: { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Up>
3777166: void
3777166: destroy(_Up* __p)
3777166: noexcept(std::is_nothrow_destructible<_Up>::value)
3777166: { __p->~_Up(); }
3777166: # 169 "/usr/include/c++/10/ext/new_allocator.h" 3
3777166: template<typename _Up>
3777166: friend bool
3777166: operator==(const new_allocator&, const new_allocator<_Up>&)
3777166: noexcept
3777166: { return true; }
3777166:
3777166:
3777166: template<typename _Up>
3777166: friend bool
3777166: operator!=(const new_allocator&, const new_allocator<_Up>&)
3777166: noexcept
3777166: { return false; }
3777166:
3777166:
3777166: private:
3777166: constexpr size_type
3777166: _M_max_size() const noexcept
3777166: {
3777166:
3777166: return std::size_t(0x7fffffffffffffffL) / sizeof(_Tp);
3777166:
3777166:
3777166:
3777166: }
3777166: };
3777166:
3777166:
3777166: }
3777166: # 34 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h" 2 3
3777166:
3777166:
3777166: namespace std
3777166: {
3777166: # 47 "/usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h" 3
3777166: template<typename _Tp>
3777166: using __allocator_base = __gnu_cxx::new_allocator<_Tp>;
3777166: }
3777166: # 47 "/usr/include/c++/10/bits/allocator.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/memoryfwd.h" 1 3
3777166: # 46 "/usr/include/c++/10/bits/memoryfwd.h" 3
3777166:
3777166: # 47 "/usr/include/c++/10/bits/memoryfwd.h" 3
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 63 "/usr/include/c++/10/bits/memoryfwd.h" 3
3777166: template<typename>
3777166: class allocator;
3777166:
3777166:
3777166: template<>
3777166: class allocator<void>;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename, typename>
3777166: struct uses_allocator;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 48 "/usr/include/c++/10/bits/allocator.h" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: class allocator<void>
3777166: {
3777166: public:
3777166: typedef void value_type;
3777166: typedef size_t size_type;
3777166: typedef ptrdiff_t difference_type;
3777166:
3777166: typedef void* pointer;
3777166: typedef const void* const_pointer;
3777166:
3777166: template<typename _Tp1>
3777166: struct rebind
3777166: { typedef allocator<_Tp1> other; };
3777166: # 89 "/usr/include/c++/10/bits/allocator.h" 3
3777166: typedef true_type propagate_on_container_move_assignment;
3777166:
3777166: typedef true_type is_always_equal;
3777166:
3777166: template<typename _Up, typename... _Args>
3777166: void
3777166: construct(_Up* __p, _Args&&... __args)
3777166: noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
3777166: { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Up>
3777166: void
3777166: destroy(_Up* __p)
3777166: noexcept(std::is_nothrow_destructible<_Up>::value)
3777166: { __p->~_Up(); }
3777166:
3777166: };
3777166: # 115 "/usr/include/c++/10/bits/allocator.h" 3
3777166: template<typename _Tp>
3777166: class allocator : public __allocator_base<_Tp>
3777166: {
3777166: public:
3777166: typedef _Tp value_type;
3777166: typedef size_t size_type;
3777166: typedef ptrdiff_t difference_type;
3777166:
3777166: typedef _Tp* pointer;
3777166: typedef const _Tp* const_pointer;
3777166: typedef _Tp& reference;
3777166: typedef const _Tp& const_reference;
3777166:
3777166: template<typename _Tp1>
3777166: struct rebind
3777166: { typedef allocator<_Tp1> other; };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef true_type propagate_on_container_move_assignment;
3777166:
3777166: typedef true_type is_always_equal;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: allocator() noexcept { }
3777166:
3777166:
3777166: allocator(const allocator& __a) noexcept
3777166: : __allocator_base<_Tp>(__a) { }
3777166:
3777166:
3777166:
3777166: allocator& operator=(const allocator&) = default;
3777166:
3777166:
3777166: template<typename _Tp1>
3777166:
3777166: allocator(const allocator<_Tp1>&) noexcept { }
3777166:
3777166:
3777166:
3777166:
3777166: ~allocator() noexcept { }
3777166: # 191 "/usr/include/c++/10/bits/allocator.h" 3
3777166: friend bool
3777166: operator==(const allocator&, const allocator&) noexcept
3777166: { return true; }
3777166:
3777166:
3777166: friend bool
3777166: operator!=(const allocator&, const allocator&) noexcept
3777166: { return false; }
3777166:
3777166:
3777166:
3777166: };
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline bool
3777166: operator==(const allocator<_T1>&, const allocator<_T2>&)
3777166: noexcept
3777166: { return true; }
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: inline bool
3777166: operator!=(const allocator<_T1>&, const allocator<_T2>&)
3777166: noexcept
3777166: { return false; }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: class allocator<const _Tp>
3777166: {
3777166: public:
3777166: typedef _Tp value_type;
3777166: template<typename _Up> allocator(const allocator<_Up>&) { }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: class allocator<volatile _Tp>
3777166: {
3777166: public:
3777166: typedef _Tp value_type;
3777166: template<typename _Up> allocator(const allocator<_Up>&) { }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: class allocator<const volatile _Tp>
3777166: {
3777166: public:
3777166: typedef _Tp value_type;
3777166: template<typename _Up> allocator(const allocator<_Up>&) { }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern template class allocator<char>;
3777166: extern template class allocator<wchar_t>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc, bool = __is_empty(_Alloc)>
3777166: struct __alloc_swap
3777166: { static void _S_do_it(_Alloc&, _Alloc&) noexcept { } };
3777166:
3777166: template<typename _Alloc>
3777166: struct __alloc_swap<_Alloc, false>
3777166: {
3777166: static void
3777166: _S_do_it(_Alloc& __one, _Alloc& __two) noexcept
3777166: {
3777166:
3777166: if (__one != __two)
3777166: swap(__one, __two);
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Alloc, bool = __is_empty(_Alloc)>
3777166: struct __alloc_neq
3777166: {
3777166: static bool
3777166: _S_do_it(const _Alloc&, const _Alloc&)
3777166: { return false; }
3777166: };
3777166:
3777166: template<typename _Alloc>
3777166: struct __alloc_neq<_Alloc, false>
3777166: {
3777166: static bool
3777166: _S_do_it(const _Alloc& __one, const _Alloc& __two)
3777166: { return __one != __two; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, bool
3777166: = __or_<is_copy_constructible<typename _Tp::value_type>,
3777166: is_nothrow_move_constructible<typename _Tp::value_type>>::value>
3777166: struct __shrink_to_fit_aux
3777166: { static bool _S_do_it(_Tp&) noexcept { return false; } };
3777166:
3777166: template<typename _Tp>
3777166: struct __shrink_to_fit_aux<_Tp, true>
3777166: {
3777166: static bool
3777166: _S_do_it(_Tp& __c) noexcept
3777166: {
3777166:
3777166: try
3777166: {
3777166: _Tp(__make_move_if_noexcept_iterator(__c.begin()),
3777166: __make_move_if_noexcept_iterator(__c.end()),
3777166: __c.get_allocator()).swap(__c);
3777166: return true;
3777166: }
3777166: catch(...)
3777166: { return false; }
3777166:
3777166:
3777166:
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: }
3777166: # 65 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_construct.h" 1 3
3777166: # 73 "/usr/include/c++/10/bits/stl_construct.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166: template <typename _Tp>
3777166: inline void
3777166: destroy_at(_Tp* __location)
3777166: {
3777166: if constexpr (201703L > 201703L && is_array_v<_Tp>)
3777166: {
3777166: for (auto& __x : *__location)
3777166: std::destroy_at(std::__addressof(__x));
3777166: }
3777166: else
3777166: __location->~_Tp();
3777166: }
3777166: # 106 "/usr/include/c++/10/bits/stl_construct.h" 3
3777166: template<typename _Tp, typename... _Args>
3777166: inline void
3777166: _Construct(_Tp* __p, _Args&&... __args)
3777166: { ::new(static_cast<void*>(__p)) _Tp(std::forward<_Args>(__args)...); }
3777166: # 121 "/usr/include/c++/10/bits/stl_construct.h" 3
3777166: template<typename _T1>
3777166: inline void
3777166: _Construct_novalue(_T1* __p)
3777166: { ::new(static_cast<void*>(__p)) _T1; }
3777166:
3777166: template<typename _ForwardIterator>
3777166: void
3777166: _Destroy(_ForwardIterator __first, _ForwardIterator __last);
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: constexpr inline void
3777166: _Destroy(_Tp* __pointer)
3777166: {
3777166:
3777166:
3777166:
3777166: __pointer->~_Tp();
3777166:
3777166: }
3777166:
3777166: template<bool>
3777166: struct _Destroy_aux
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __destroy(_ForwardIterator __first, _ForwardIterator __last)
3777166: {
3777166: for (; __first != __last; ++__first)
3777166: std::_Destroy(std::__addressof(*__first));
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct _Destroy_aux<true>
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __destroy(_ForwardIterator, _ForwardIterator) { }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator>
3777166: inline void
3777166: _Destroy(_ForwardIterator __first, _ForwardIterator __last)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _Value_type;
3777166:
3777166:
3777166: static_assert(is_destructible<_Value_type>::value,
3777166: "value type is destructible");
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::
3777166: __destroy(__first, __last);
3777166: }
3777166:
3777166: template<bool>
3777166: struct _Destroy_n_aux
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __destroy_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: for (; __count > 0; (void)++__first, --__count)
3777166: std::_Destroy(std::__addressof(*__first));
3777166: return __first;
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct _Destroy_n_aux<true>
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __destroy_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: std::advance(__first, __count);
3777166: return __first;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: _Destroy_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _Value_type;
3777166:
3777166:
3777166: static_assert(is_destructible<_Value_type>::value,
3777166: "value type is destructible");
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: return std::_Destroy_n_aux<__has_trivial_destructor(_Value_type)>::
3777166: __destroy_n(__first, __count);
3777166: }
3777166:
3777166:
3777166: template <typename _ForwardIterator>
3777166: inline void
3777166: destroy(_ForwardIterator __first, _ForwardIterator __last)
3777166: {
3777166: std::_Destroy(__first, __last);
3777166: }
3777166:
3777166: template <typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: destroy_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: return std::_Destroy_n(__first, __count);
3777166: }
3777166:
3777166:
3777166:
3777166: }
3777166: # 66 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_uninitialized.h" 1 3
3777166: # 67 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: # 1 "/usr/include/c++/10/ext/alloc_traits.h" 1 3
3777166: # 32 "/usr/include/c++/10/ext/alloc_traits.h" 3
3777166:
3777166: # 33 "/usr/include/c++/10/ext/alloc_traits.h" 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/alloc_traits.h" 1 3
3777166: # 41 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct __allocator_traits_base
3777166: {
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __rebind : __replace_first_arg<_Tp, _Up> { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __rebind<_Tp, _Up,
3777166: __void_t<typename _Tp::template rebind<_Up>::other>>
3777166: { using type = typename _Tp::template rebind<_Up>::other; };
3777166:
3777166: protected:
3777166: template<typename _Tp>
3777166: using __pointer = typename _Tp::pointer;
3777166: template<typename _Tp>
3777166: using __c_pointer = typename _Tp::const_pointer;
3777166: template<typename _Tp>
3777166: using __v_pointer = typename _Tp::void_pointer;
3777166: template<typename _Tp>
3777166: using __cv_pointer = typename _Tp::const_void_pointer;
3777166: template<typename _Tp>
3777166: using __pocca = typename _Tp::propagate_on_container_copy_assignment;
3777166: template<typename _Tp>
3777166: using __pocma = typename _Tp::propagate_on_container_move_assignment;
3777166: template<typename _Tp>
3777166: using __pocs = typename _Tp::propagate_on_container_swap;
3777166: template<typename _Tp>
3777166: using __equal = typename _Tp::is_always_equal;
3777166: };
3777166:
3777166: template<typename _Alloc, typename _Up>
3777166: using __alloc_rebind
3777166: = typename __allocator_traits_base::template __rebind<_Alloc, _Up>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc>
3777166: struct allocator_traits : __allocator_traits_base
3777166: {
3777166:
3777166: typedef _Alloc allocator_type;
3777166:
3777166: typedef typename _Alloc::value_type value_type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using pointer = __detected_or_t<value_type*, __pointer, _Alloc>;
3777166:
3777166: private:
3777166:
3777166: template<template<typename> class _Func, typename _Tp, typename = void>
3777166: struct _Ptr
3777166: {
3777166: using type = typename pointer_traits<pointer>::template rebind<_Tp>;
3777166: };
3777166:
3777166: template<template<typename> class _Func, typename _Tp>
3777166: struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>>
3777166: {
3777166: using type = _Func<_Alloc>;
3777166: };
3777166:
3777166:
3777166: template<typename _A2, typename _PtrT, typename = void>
3777166: struct _Diff
3777166: { using type = typename pointer_traits<_PtrT>::difference_type; };
3777166:
3777166: template<typename _A2, typename _PtrT>
3777166: struct _Diff<_A2, _PtrT, __void_t<typename _A2::difference_type>>
3777166: { using type = typename _A2::difference_type; };
3777166:
3777166:
3777166: template<typename _A2, typename _DiffT, typename = void>
3777166: struct _Size : make_unsigned<_DiffT> { };
3777166:
3777166: template<typename _A2, typename _DiffT>
3777166: struct _Size<_A2, _DiffT, __void_t<typename _A2::size_type>>
3777166: { using type = typename _A2::size_type; };
3777166:
3777166: public:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using void_pointer = typename _Ptr<__v_pointer, void>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using difference_type = typename _Diff<_Alloc, pointer>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using size_type = typename _Size<_Alloc, difference_type>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using propagate_on_container_copy_assignment
3777166: = __detected_or_t<false_type, __pocca, _Alloc>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using propagate_on_container_move_assignment
3777166: = __detected_or_t<false_type, __pocma, _Alloc>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using propagate_on_container_swap
3777166: = __detected_or_t<false_type, __pocs, _Alloc>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using is_always_equal
3777166: = __detected_or_t<typename is_empty<_Alloc>::type, __equal, _Alloc>;
3777166:
3777166: template<typename _Tp>
3777166: using rebind_alloc = __alloc_rebind<_Alloc, _Tp>;
3777166: template<typename _Tp>
3777166: using rebind_traits = allocator_traits<rebind_alloc<_Tp>>;
3777166:
3777166: private:
3777166: template<typename _Alloc2>
3777166: static constexpr auto
3777166: _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint, int)
3777166: -> decltype(__a.allocate(__n, __hint))
3777166: { return __a.allocate(__n, __hint); }
3777166:
3777166: template<typename _Alloc2>
3777166: static constexpr pointer
3777166: _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer, ...)
3777166: { return __a.allocate(__n); }
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: struct __construct_helper
3777166: {
3777166: template<typename _Alloc2,
3777166: typename = decltype(std::declval<_Alloc2*>()->construct(
3777166: std::declval<_Tp*>(), std::declval<_Args>()...))>
3777166: static true_type __test(int);
3777166:
3777166: template<typename>
3777166: static false_type __test(...);
3777166:
3777166: using type = decltype(__test<_Alloc>(0));
3777166: };
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: using __has_construct
3777166: = typename __construct_helper<_Tp, _Args...>::type;
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: static constexpr _Require<__has_construct<_Tp, _Args...>>
3777166: _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args)
3777166: noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...)))
3777166: { __a.construct(__p, std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: static constexpr
3777166: _Require<__and_<__not_<__has_construct<_Tp, _Args...>>,
3777166: is_constructible<_Tp, _Args...>>>
3777166: _S_construct(_Alloc&, _Tp* __p, _Args&&... __args)
3777166: noexcept(std::is_nothrow_constructible<_Tp, _Args...>::value)
3777166: {
3777166:
3777166: ::new((void*)__p) _Tp(std::forward<_Args>(__args)...);
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: template<typename _Alloc2, typename _Tp>
3777166: static constexpr auto
3777166: _S_destroy(_Alloc2& __a, _Tp* __p, int)
3777166: noexcept(noexcept(__a.destroy(__p)))
3777166: -> decltype(__a.destroy(__p))
3777166: { __a.destroy(__p); }
3777166:
3777166: template<typename _Alloc2, typename _Tp>
3777166: static constexpr void
3777166: _S_destroy(_Alloc2&, _Tp* __p, ...)
3777166: noexcept(std::is_nothrow_destructible<_Tp>::value)
3777166: { std::_Destroy(__p); }
3777166:
3777166: template<typename _Alloc2>
3777166: static constexpr auto
3777166: _S_max_size(_Alloc2& __a, int)
3777166: -> decltype(__a.max_size())
3777166: { return __a.max_size(); }
3777166:
3777166: template<typename _Alloc2>
3777166: static constexpr size_type
3777166: _S_max_size(_Alloc2&, ...)
3777166: {
3777166:
3777166:
3777166: return __gnu_cxx::__numeric_traits<size_type>::__max
3777166: / sizeof(value_type);
3777166: }
3777166:
3777166: template<typename _Alloc2>
3777166: static constexpr auto
3777166: _S_select(_Alloc2& __a, int)
3777166: -> decltype(__a.select_on_container_copy_construction())
3777166: { return __a.select_on_container_copy_construction(); }
3777166:
3777166: template<typename _Alloc2>
3777166: static constexpr _Alloc2
3777166: _S_select(_Alloc2& __a, ...)
3777166: { return __a; }
3777166:
3777166: public:
3777166: # 312 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: [[__nodiscard__]] static pointer
3777166: allocate(_Alloc& __a, size_type __n)
3777166: { return __a.allocate(__n); }
3777166: # 327 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: [[__nodiscard__]] static pointer
3777166: allocate(_Alloc& __a, size_type __n, const_void_pointer __hint)
3777166: { return _S_allocate(__a, __n, __hint, 0); }
3777166: # 339 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: static void
3777166: deallocate(_Alloc& __a, pointer __p, size_type __n)
3777166: { __a.deallocate(__p, __n); }
3777166: # 354 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Tp, typename... _Args>
3777166: static auto
3777166: construct(_Alloc& __a, _Tp* __p, _Args&&... __args)
3777166: noexcept(noexcept(_S_construct(__a, __p,
3777166: std::forward<_Args>(__args)...)))
3777166: -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...))
3777166: { _S_construct(__a, __p, std::forward<_Args>(__args)...); }
3777166: # 370 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Tp>
3777166: static void
3777166: destroy(_Alloc& __a, _Tp* __p)
3777166: noexcept(noexcept(_S_destroy(__a, __p, 0)))
3777166: { _S_destroy(__a, __p, 0); }
3777166: # 384 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: static size_type
3777166: max_size(const _Alloc& __a) noexcept
3777166: { return _S_max_size(__a, 0); }
3777166: # 396 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: static _Alloc
3777166: select_on_container_copy_construction(const _Alloc& __rhs)
3777166: { return _S_select(__rhs, 0); }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct allocator_traits<allocator<_Tp>>
3777166: {
3777166:
3777166: using allocator_type = allocator<_Tp>;
3777166:
3777166:
3777166: using value_type = _Tp;
3777166:
3777166:
3777166: using pointer = _Tp*;
3777166:
3777166:
3777166: using const_pointer = const _Tp*;
3777166:
3777166:
3777166: using void_pointer = void*;
3777166:
3777166:
3777166: using const_void_pointer = const void*;
3777166:
3777166:
3777166: using difference_type = std::ptrdiff_t;
3777166:
3777166:
3777166: using size_type = std::size_t;
3777166:
3777166:
3777166: using propagate_on_container_copy_assignment = false_type;
3777166:
3777166:
3777166: using propagate_on_container_move_assignment = true_type;
3777166:
3777166:
3777166: using propagate_on_container_swap = false_type;
3777166:
3777166:
3777166: using is_always_equal = true_type;
3777166:
3777166: template<typename _Up>
3777166: using rebind_alloc = allocator<_Up>;
3777166:
3777166: template<typename _Up>
3777166: using rebind_traits = allocator_traits<allocator<_Up>>;
3777166: # 458 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: [[__nodiscard__]] static pointer
3777166: allocate(allocator_type& __a, size_type __n)
3777166: { return __a.allocate(__n); }
3777166: # 472 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: [[__nodiscard__]] static pointer
3777166: allocate(allocator_type& __a, size_type __n, const_void_pointer __hint)
3777166: {
3777166:
3777166: return __a.allocate(__n, __hint);
3777166:
3777166:
3777166:
3777166: }
3777166: # 490 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: static void
3777166: deallocate(allocator_type& __a, pointer __p, size_type __n)
3777166: { __a.deallocate(__p, __n); }
3777166: # 505 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Up, typename... _Args>
3777166: static void
3777166: construct(allocator_type& __a __attribute__((__unused__)), _Up* __p,
3777166: _Args&&... __args)
3777166: noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
3777166: {
3777166:
3777166: __a.construct(__p, std::forward<_Args>(__args)...);
3777166:
3777166:
3777166:
3777166: }
3777166: # 525 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Up>
3777166: static void
3777166: destroy(allocator_type& __a __attribute__((__unused__)), _Up* __p)
3777166: noexcept(is_nothrow_destructible<_Up>::value)
3777166: {
3777166:
3777166: __a.destroy(__p);
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static size_type
3777166: max_size(const allocator_type& __a __attribute__((__unused__))) noexcept
3777166: {
3777166:
3777166: return __a.max_size();
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static allocator_type
3777166: select_on_container_copy_construction(const allocator_type& __rhs)
3777166: { return __rhs; }
3777166: };
3777166: # 574 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Alloc>
3777166: constexpr inline void
3777166: __alloc_on_copy(_Alloc& __one, const _Alloc& __two)
3777166: {
3777166: typedef allocator_traits<_Alloc> __traits;
3777166: typedef typename __traits::propagate_on_container_copy_assignment __pocca;
3777166:
3777166: if constexpr (__pocca::value)
3777166: __one = __two;
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: template<typename _Alloc>
3777166: constexpr _Alloc
3777166: __alloc_on_copy(const _Alloc& __a)
3777166: {
3777166: typedef allocator_traits<_Alloc> __traits;
3777166: return __traits::select_on_container_copy_construction(__a);
3777166: }
3777166: # 606 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Alloc>
3777166: constexpr inline void
3777166: __alloc_on_move(_Alloc& __one, _Alloc& __two)
3777166: {
3777166: typedef allocator_traits<_Alloc> __traits;
3777166: typedef typename __traits::propagate_on_container_move_assignment __pocma;
3777166:
3777166: if constexpr (__pocma::value)
3777166: __one = std::move(__two);
3777166:
3777166:
3777166:
3777166: }
3777166: # 633 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _Alloc>
3777166: constexpr inline void
3777166: __alloc_on_swap(_Alloc& __one, _Alloc& __two)
3777166: {
3777166: typedef allocator_traits<_Alloc> __traits;
3777166: typedef typename __traits::propagate_on_container_swap __pocs;
3777166:
3777166: if constexpr (__pocs::value)
3777166: {
3777166: using std::swap;
3777166: swap(__one, __two);
3777166: }
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: template<typename _Alloc, typename _Tp,
3777166: typename _ValueT = __remove_cvref_t<typename _Alloc::value_type>,
3777166: typename = void>
3777166: struct __is_alloc_insertable_impl
3777166: : false_type
3777166: { };
3777166:
3777166: template<typename _Alloc, typename _Tp, typename _ValueT>
3777166: struct __is_alloc_insertable_impl<_Alloc, _Tp, _ValueT,
3777166: __void_t<decltype(allocator_traits<_Alloc>::construct(
3777166: std::declval<_Alloc&>(), std::declval<_ValueT*>(),
3777166: std::declval<_Tp>()))>>
3777166: : true_type
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc>
3777166: struct __is_copy_insertable
3777166: : __is_alloc_insertable_impl<_Alloc,
3777166: typename _Alloc::value_type const&>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_copy_insertable<allocator<_Tp>>
3777166: : is_copy_constructible<_Tp>
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc>
3777166: struct __is_move_insertable
3777166: : __is_alloc_insertable_impl<_Alloc, typename _Alloc::value_type>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __is_move_insertable<allocator<_Tp>>
3777166: : is_move_constructible<_Tp>
3777166: { };
3777166:
3777166:
3777166: template<typename _Alloc, typename = void>
3777166: struct __is_allocator : false_type { };
3777166:
3777166: template<typename _Alloc>
3777166: struct __is_allocator<_Alloc,
3777166: __void_t<typename _Alloc::value_type,
3777166: decltype(std::declval<_Alloc&>().allocate(size_t{}))>>
3777166: : true_type { };
3777166:
3777166: template<typename _Alloc>
3777166: using _RequireAllocator
3777166: = typename enable_if<__is_allocator<_Alloc>::value, _Alloc>::type;
3777166:
3777166: template<typename _Alloc>
3777166: using _RequireNotAllocator
3777166: = typename enable_if<!__is_allocator<_Alloc>::value, _Alloc>::type;
3777166: # 719 "/usr/include/c++/10/bits/alloc_traits.h" 3
3777166: template<typename _ForwardIterator, typename _Allocator>
3777166: void
3777166: _Destroy(_ForwardIterator __first, _ForwardIterator __last,
3777166: _Allocator& __alloc)
3777166: {
3777166: for (; __first != __last; ++__first)
3777166:
3777166:
3777166:
3777166: allocator_traits<_Allocator>::destroy(__alloc,
3777166: std::__addressof(*__first));
3777166:
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: inline void
3777166: _Destroy(_ForwardIterator __first, _ForwardIterator __last,
3777166: allocator<_Tp>&)
3777166: {
3777166: _Destroy(__first, __last);
3777166: }
3777166:
3777166:
3777166: }
3777166: # 35 "/usr/include/c++/10/ext/alloc_traits.h" 2 3
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc, typename = typename _Alloc::value_type>
3777166: struct __alloc_traits
3777166:
3777166: : std::allocator_traits<_Alloc>
3777166:
3777166: {
3777166: typedef _Alloc allocator_type;
3777166:
3777166: typedef std::allocator_traits<_Alloc> _Base_type;
3777166: typedef typename _Base_type::value_type value_type;
3777166: typedef typename _Base_type::pointer pointer;
3777166: typedef typename _Base_type::const_pointer const_pointer;
3777166: typedef typename _Base_type::size_type size_type;
3777166: typedef typename _Base_type::difference_type difference_type;
3777166:
3777166: typedef value_type& reference;
3777166: typedef const value_type& const_reference;
3777166: using _Base_type::allocate;
3777166: using _Base_type::deallocate;
3777166: using _Base_type::construct;
3777166: using _Base_type::destroy;
3777166: using _Base_type::max_size;
3777166:
3777166: private:
3777166: template<typename _Ptr>
3777166: using __is_custom_pointer
3777166: = std::__and_<std::is_same<pointer, _Ptr>,
3777166: std::__not_<std::is_pointer<_Ptr>>>;
3777166:
3777166: public:
3777166:
3777166: template<typename _Ptr, typename... _Args>
3777166: static constexpr
3777166: std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
3777166: construct(_Alloc& __a, _Ptr __p, _Args&&... __args)
3777166: noexcept(noexcept(_Base_type::construct(__a, std::__to_address(__p),
3777166: std::forward<_Args>(__args)...)))
3777166: {
3777166: _Base_type::construct(__a, std::__to_address(__p),
3777166: std::forward<_Args>(__args)...);
3777166: }
3777166:
3777166:
3777166: template<typename _Ptr>
3777166: static constexpr
3777166: std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
3777166: destroy(_Alloc& __a, _Ptr __p)
3777166: noexcept(noexcept(_Base_type::destroy(__a, std::__to_address(__p))))
3777166: { _Base_type::destroy(__a, std::__to_address(__p)); }
3777166:
3777166: static constexpr _Alloc _S_select_on_copy(const _Alloc& __a)
3777166: { return _Base_type::select_on_container_copy_construction(__a); }
3777166:
3777166: static constexpr void _S_on_swap(_Alloc& __a, _Alloc& __b)
3777166: { std::__alloc_on_swap(__a, __b); }
3777166:
3777166: static constexpr bool _S_propagate_on_copy_assign()
3777166: { return _Base_type::propagate_on_container_copy_assignment::value; }
3777166:
3777166: static constexpr bool _S_propagate_on_move_assign()
3777166: { return _Base_type::propagate_on_container_move_assignment::value; }
3777166:
3777166: static constexpr bool _S_propagate_on_swap()
3777166: { return _Base_type::propagate_on_container_swap::value; }
3777166:
3777166: static constexpr bool _S_always_equal()
3777166: { return _Base_type::is_always_equal::value; }
3777166:
3777166: static constexpr bool _S_nothrow_move()
3777166: { return _S_propagate_on_move_assign() || _S_always_equal(); }
3777166:
3777166: template<typename _Tp>
3777166: struct rebind
3777166: { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
3777166: # 166 "/usr/include/c++/10/ext/alloc_traits.h" 3
3777166: };
3777166:
3777166:
3777166: }
3777166: # 68 "/usr/include/c++/10/bits/stl_uninitialized.h" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<bool _TrivialValueTypes>
3777166: struct __uninitialized_copy
3777166: {
3777166: template<typename _InputIterator, typename _ForwardIterator>
3777166: static _ForwardIterator
3777166: __uninit_copy(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result)
3777166: {
3777166: _ForwardIterator __cur = __result;
3777166: try
3777166: {
3777166: for (; __first != __last; ++__first, (void)++__cur)
3777166: std::_Construct(std::__addressof(*__cur), *__first);
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_copy<true>
3777166: {
3777166: template<typename _InputIterator, typename _ForwardIterator>
3777166: static _ForwardIterator
3777166: __uninit_copy(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result)
3777166: { return std::copy(__first, __last, __result); }
3777166: };
3777166: # 123 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _InputIterator, typename _ForwardIterator>
3777166: inline _ForwardIterator
3777166: uninitialized_copy(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result)
3777166: {
3777166: typedef typename iterator_traits<_InputIterator>::value_type
3777166: _ValueType1;
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType2;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static_assert(is_constructible<_ValueType2, decltype(*__first)>::value,
3777166: "result type must be constructible from value type of input range");
3777166:
3777166: typedef typename iterator_traits<_InputIterator>::reference _RefType1;
3777166: typedef typename iterator_traits<_ForwardIterator>::reference _RefType2;
3777166:
3777166:
3777166: const bool __assignable = is_assignable<_RefType2, _RefType1>::value;
3777166:
3777166:
3777166: return std::__uninitialized_copy<__is_trivial(_ValueType1)
3777166: && __is_trivial(_ValueType2)
3777166: && __assignable>::
3777166: __uninit_copy(__first, __last, __result);
3777166: }
3777166:
3777166:
3777166:
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_fill
3777166: {
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: static void
3777166: __uninit_fill(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __x)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __cur != __last; ++__cur)
3777166: std::_Construct(std::__addressof(*__cur), __x);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_fill<true>
3777166: {
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: static void
3777166: __uninit_fill(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __x)
3777166: { std::fill(__first, __last, __x); }
3777166: };
3777166: # 198 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: inline void
3777166: uninitialized_fill(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __x)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static_assert(is_constructible<_ValueType, const _Tp&>::value,
3777166: "result type must be constructible from input type");
3777166:
3777166:
3777166:
3777166: const bool __assignable = is_copy_assignable<_ValueType>::value;
3777166:
3777166:
3777166: std::__uninitialized_fill<__is_trivial(_ValueType) && __assignable>::
3777166: __uninit_fill(__first, __last, __x);
3777166: }
3777166:
3777166:
3777166:
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_fill_n
3777166: {
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp>
3777166: static _ForwardIterator
3777166: __uninit_fill_n(_ForwardIterator __first, _Size __n,
3777166: const _Tp& __x)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__cur)
3777166: std::_Construct(std::__addressof(*__cur), __x);
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_fill_n<true>
3777166: {
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp>
3777166: static _ForwardIterator
3777166: __uninit_fill_n(_ForwardIterator __first, _Size __n,
3777166: const _Tp& __x)
3777166: { return std::fill_n(__first, __n, __x); }
3777166: };
3777166: # 270 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp>
3777166: inline _ForwardIterator
3777166: uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: static_assert(is_constructible<_ValueType, const _Tp&>::value,
3777166: "result type must be constructible from input type");
3777166:
3777166:
3777166:
3777166: const bool __assignable = is_copy_assignable<_ValueType>::value;
3777166:
3777166: return __uninitialized_fill_n<__is_trivial(_ValueType) && __assignable>::
3777166: __uninit_fill_n(__first, __n, __x);
3777166: }
3777166: # 300 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _InputIterator, typename _ForwardIterator,
3777166: typename _Allocator>
3777166: _ForwardIterator
3777166: __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result, _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __cur = __result;
3777166: try
3777166: {
3777166: typedef __gnu_cxx::__alloc_traits<_Allocator> __traits;
3777166: for (; __first != __last; ++__first, (void)++__cur)
3777166: __traits::construct(__alloc, std::__addressof(*__cur), *__first);
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __cur, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _InputIterator, typename _ForwardIterator, typename _Tp>
3777166: inline _ForwardIterator
3777166: __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result, allocator<_Tp>&)
3777166: { return std::uninitialized_copy(__first, __last, __result); }
3777166:
3777166: template<typename _InputIterator, typename _ForwardIterator,
3777166: typename _Allocator>
3777166: inline _ForwardIterator
3777166: __uninitialized_move_a(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result, _Allocator& __alloc)
3777166: {
3777166: return std::__uninitialized_copy_a(std::make_move_iterator(__first),
3777166: std::make_move_iterator(__last),
3777166: __result, __alloc);
3777166: }
3777166:
3777166: template<typename _InputIterator, typename _ForwardIterator,
3777166: typename _Allocator>
3777166: inline _ForwardIterator
3777166: __uninitialized_move_if_noexcept_a(_InputIterator __first,
3777166: _InputIterator __last,
3777166: _ForwardIterator __result,
3777166: _Allocator& __alloc)
3777166: {
3777166: return std::__uninitialized_copy_a
3777166: (std::__make_move_if_noexcept_iterator(__first),
3777166: std::__make_move_if_noexcept_iterator(__last), __result, __alloc);
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp, typename _Allocator>
3777166: void
3777166: __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __x, _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: typedef __gnu_cxx::__alloc_traits<_Allocator> __traits;
3777166: for (; __cur != __last; ++__cur)
3777166: __traits::construct(__alloc, std::__addressof(*__cur), __x);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp, typename _Tp2>
3777166: inline void
3777166: __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last,
3777166: const _Tp& __x, allocator<_Tp2>&)
3777166: { std::uninitialized_fill(__first, __last, __x); }
3777166:
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp,
3777166: typename _Allocator>
3777166: _ForwardIterator
3777166: __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n,
3777166: const _Tp& __x, _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: typedef __gnu_cxx::__alloc_traits<_Allocator> __traits;
3777166: for (; __n > 0; --__n, (void) ++__cur)
3777166: __traits::construct(__alloc, std::__addressof(*__cur), __x);
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp,
3777166: typename _Tp2>
3777166: inline _ForwardIterator
3777166: __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n,
3777166: const _Tp& __x, allocator<_Tp2>&)
3777166: { return std::uninitialized_fill_n(__first, __n, __x); }
3777166: # 414 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _ForwardIterator, typename _Allocator>
3777166: inline _ForwardIterator
3777166: __uninitialized_copy_move(_InputIterator1 __first1,
3777166: _InputIterator1 __last1,
3777166: _InputIterator2 __first2,
3777166: _InputIterator2 __last2,
3777166: _ForwardIterator __result,
3777166: _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __mid = std::__uninitialized_copy_a(__first1, __last1,
3777166: __result,
3777166: __alloc);
3777166: try
3777166: {
3777166: return std::__uninitialized_move_a(__first2, __last2, __mid, __alloc);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __mid, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _InputIterator1, typename _InputIterator2,
3777166: typename _ForwardIterator, typename _Allocator>
3777166: inline _ForwardIterator
3777166: __uninitialized_move_copy(_InputIterator1 __first1,
3777166: _InputIterator1 __last1,
3777166: _InputIterator2 __first2,
3777166: _InputIterator2 __last2,
3777166: _ForwardIterator __result,
3777166: _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __mid = std::__uninitialized_move_a(__first1, __last1,
3777166: __result,
3777166: __alloc);
3777166: try
3777166: {
3777166: return std::__uninitialized_copy_a(__first2, __last2, __mid, __alloc);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __mid, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Tp, typename _InputIterator,
3777166: typename _Allocator>
3777166: inline _ForwardIterator
3777166: __uninitialized_fill_move(_ForwardIterator __result, _ForwardIterator __mid,
3777166: const _Tp& __x, _InputIterator __first,
3777166: _InputIterator __last, _Allocator& __alloc)
3777166: {
3777166: std::__uninitialized_fill_a(__result, __mid, __x, __alloc);
3777166: try
3777166: {
3777166: return std::__uninitialized_move_a(__first, __last, __mid, __alloc);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __mid, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _InputIterator, typename _ForwardIterator, typename _Tp,
3777166: typename _Allocator>
3777166: inline void
3777166: __uninitialized_move_fill(_InputIterator __first1, _InputIterator __last1,
3777166: _ForwardIterator __first2,
3777166: _ForwardIterator __last2, const _Tp& __x,
3777166: _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __mid2 = std::__uninitialized_move_a(__first1, __last1,
3777166: __first2,
3777166: __alloc);
3777166: try
3777166: {
3777166: std::__uninitialized_fill_a(__mid2, __last2, __x, __alloc);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first2, __mid2, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166: # 521 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_default_1
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __uninit_default(_ForwardIterator __first, _ForwardIterator __last)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __cur != __last; ++__cur)
3777166: std::_Construct(std::__addressof(*__cur));
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_default_1<true>
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __uninit_default(_ForwardIterator __first, _ForwardIterator __last)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: std::fill(__first, __last, _ValueType());
3777166: }
3777166: };
3777166:
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_default_n_1
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __uninit_default_n(_ForwardIterator __first, _Size __n)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__cur)
3777166: std::_Construct(std::__addressof(*__cur));
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_default_n_1<true>
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __uninit_default_n(_ForwardIterator __first, _Size __n)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: return std::fill_n(__first, __n, _ValueType());
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator>
3777166: inline void
3777166: __uninitialized_default(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: const bool __assignable = is_copy_assignable<_ValueType>::value;
3777166:
3777166: std::__uninitialized_default_1<__is_trivial(_ValueType)
3777166: && __assignable>::
3777166: __uninit_default(__first, __last);
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: __uninitialized_default_n(_ForwardIterator __first, _Size __n)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: const bool __assignable = is_copy_assignable<_ValueType>::value;
3777166:
3777166: return __uninitialized_default_n_1<__is_trivial(_ValueType)
3777166: && __assignable>::
3777166: __uninit_default_n(__first, __n);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Allocator>
3777166: void
3777166: __uninitialized_default_a(_ForwardIterator __first,
3777166: _ForwardIterator __last,
3777166: _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: typedef __gnu_cxx::__alloc_traits<_Allocator> __traits;
3777166: for (; __cur != __last; ++__cur)
3777166: __traits::construct(__alloc, std::__addressof(*__cur));
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: inline void
3777166: __uninitialized_default_a(_ForwardIterator __first,
3777166: _ForwardIterator __last,
3777166: allocator<_Tp>&)
3777166: { std::__uninitialized_default(__first, __last); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Size, typename _Allocator>
3777166: _ForwardIterator
3777166: __uninitialized_default_n_a(_ForwardIterator __first, _Size __n,
3777166: _Allocator& __alloc)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: typedef __gnu_cxx::__alloc_traits<_Allocator> __traits;
3777166: for (; __n > 0; --__n, (void) ++__cur)
3777166: __traits::construct(__alloc, std::__addressof(*__cur));
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur, __alloc);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Size, typename _Tp>
3777166: inline _ForwardIterator
3777166: __uninitialized_default_n_a(_ForwardIterator __first, _Size __n,
3777166: allocator<_Tp>&)
3777166: { return std::__uninitialized_default_n(__first, __n); }
3777166:
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_default_novalue_1
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __uninit_default_novalue(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __cur != __last; ++__cur)
3777166: std::_Construct_novalue(std::__addressof(*__cur));
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_default_novalue_1<true>
3777166: {
3777166: template<typename _ForwardIterator>
3777166: static void
3777166: __uninit_default_novalue(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: }
3777166: };
3777166:
3777166: template<bool _TrivialValueType>
3777166: struct __uninitialized_default_novalue_n_1
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __uninit_default_novalue_n(_ForwardIterator __first, _Size __n)
3777166: {
3777166: _ForwardIterator __cur = __first;
3777166: try
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__cur)
3777166: std::_Construct_novalue(std::__addressof(*__cur));
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_default_novalue_n_1<true>
3777166: {
3777166: template<typename _ForwardIterator, typename _Size>
3777166: static _ForwardIterator
3777166: __uninit_default_novalue_n(_ForwardIterator __first, _Size __n)
3777166: { return std::next(__first, __n); }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator>
3777166: inline void
3777166: __uninitialized_default_novalue(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: std::__uninitialized_default_novalue_1<
3777166: is_trivially_default_constructible<_ValueType>::value>::
3777166: __uninit_default_novalue(__first, __last);
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: __uninitialized_default_novalue_n(_ForwardIterator __first, _Size __n)
3777166: {
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType;
3777166:
3777166: return __uninitialized_default_novalue_n_1<
3777166: is_trivially_default_constructible<_ValueType>::value>::
3777166: __uninit_default_novalue_n(__first, __n);
3777166: }
3777166:
3777166: template<typename _InputIterator, typename _Size,
3777166: typename _ForwardIterator>
3777166: _ForwardIterator
3777166: __uninitialized_copy_n(_InputIterator __first, _Size __n,
3777166: _ForwardIterator __result, input_iterator_tag)
3777166: {
3777166: _ForwardIterator __cur = __result;
3777166: try
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__first, ++__cur)
3777166: std::_Construct(std::__addressof(*__cur), *__first);
3777166: return __cur;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __cur);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _RandomAccessIterator, typename _Size,
3777166: typename _ForwardIterator>
3777166: inline _ForwardIterator
3777166: __uninitialized_copy_n(_RandomAccessIterator __first, _Size __n,
3777166: _ForwardIterator __result,
3777166: random_access_iterator_tag)
3777166: { return std::uninitialized_copy(__first, __first + __n, __result); }
3777166:
3777166: template<typename _InputIterator, typename _Size,
3777166: typename _ForwardIterator>
3777166: pair<_InputIterator, _ForwardIterator>
3777166: __uninitialized_copy_n_pair(_InputIterator __first, _Size __n,
3777166: _ForwardIterator __result, input_iterator_tag)
3777166: {
3777166: _ForwardIterator __cur = __result;
3777166: try
3777166: {
3777166: for (; __n > 0; --__n, (void) ++__first, ++__cur)
3777166: std::_Construct(std::__addressof(*__cur), *__first);
3777166: return {__first, __cur};
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__result, __cur);
3777166: throw;
3777166: }
3777166: }
3777166:
3777166: template<typename _RandomAccessIterator, typename _Size,
3777166: typename _ForwardIterator>
3777166: inline pair<_RandomAccessIterator, _ForwardIterator>
3777166: __uninitialized_copy_n_pair(_RandomAccessIterator __first, _Size __n,
3777166: _ForwardIterator __result,
3777166: random_access_iterator_tag)
3777166: {
3777166: auto __second_res = uninitialized_copy(__first, __first + __n, __result);
3777166: auto __first_res = std::next(__first, __n);
3777166: return {__first_res, __second_res};
3777166: }
3777166: # 852 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template<typename _InputIterator, typename _Size, typename _ForwardIterator>
3777166: inline _ForwardIterator
3777166: uninitialized_copy_n(_InputIterator __first, _Size __n,
3777166: _ForwardIterator __result)
3777166: { return std::__uninitialized_copy_n(__first, __n, __result,
3777166: std::__iterator_category(__first)); }
3777166:
3777166:
3777166: template<typename _InputIterator, typename _Size, typename _ForwardIterator>
3777166: inline pair<_InputIterator, _ForwardIterator>
3777166: __uninitialized_copy_n_pair(_InputIterator __first, _Size __n,
3777166: _ForwardIterator __result)
3777166: {
3777166: return
3777166: std::__uninitialized_copy_n_pair(__first, __n, __result,
3777166: std::__iterator_category(__first));
3777166: }
3777166: # 880 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template <typename _ForwardIterator>
3777166: inline void
3777166: uninitialized_default_construct(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: __uninitialized_default_novalue(__first, __last);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: uninitialized_default_construct_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: return __uninitialized_default_novalue_n(__first, __count);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _ForwardIterator>
3777166: inline void
3777166: uninitialized_value_construct(_ForwardIterator __first,
3777166: _ForwardIterator __last)
3777166: {
3777166: return __uninitialized_default(__first, __last);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _ForwardIterator, typename _Size>
3777166: inline _ForwardIterator
3777166: uninitialized_value_construct_n(_ForwardIterator __first, _Size __count)
3777166: {
3777166: return __uninitialized_default_n(__first, __count);
3777166: }
3777166: # 934 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template <typename _InputIterator, typename _ForwardIterator>
3777166: inline _ForwardIterator
3777166: uninitialized_move(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result)
3777166: {
3777166: return std::uninitialized_copy
3777166: (std::make_move_iterator(__first),
3777166: std::make_move_iterator(__last), __result);
3777166: }
3777166: # 951 "/usr/include/c++/10/bits/stl_uninitialized.h" 3
3777166: template <typename _InputIterator, typename _Size, typename _ForwardIterator>
3777166: inline pair<_InputIterator, _ForwardIterator>
3777166: uninitialized_move_n(_InputIterator __first, _Size __count,
3777166: _ForwardIterator __result)
3777166: {
3777166: auto __res = std::__uninitialized_copy_n_pair
3777166: (std::make_move_iterator(__first),
3777166: __count, __result);
3777166: return {__res.first.base(), __res.second};
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename _Allocator>
3777166: inline void
3777166: __relocate_object_a(_Tp* __restrict __dest, _Up* __restrict __orig,
3777166: _Allocator& __alloc)
3777166: noexcept(noexcept(std::allocator_traits<_Allocator>::construct(__alloc,
3777166: __dest, std::move(*__orig)))
3777166: && noexcept(std::allocator_traits<_Allocator>::destroy(
3777166: __alloc, std::__addressof(*__orig))))
3777166: {
3777166: typedef std::allocator_traits<_Allocator> __traits;
3777166: __traits::construct(__alloc, __dest, std::move(*__orig));
3777166: __traits::destroy(__alloc, std::__addressof(*__orig));
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename = void>
3777166: struct __is_bitwise_relocatable
3777166: : is_trivial<_Tp> { };
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: inline __enable_if_t<std::__is_bitwise_relocatable<_Tp>::value, _Tp*>
3777166: __relocate_a_1(_Tp* __first, _Tp* __last,
3777166: _Tp* __result, allocator<_Up>&) noexcept
3777166: {
3777166: ptrdiff_t __count = __last - __first;
3777166: if (__count > 0)
3777166: __builtin_memmove(__result, __first, __count * sizeof(_Tp));
3777166: return __result + __count;
3777166: }
3777166:
3777166: template <typename _InputIterator, typename _ForwardIterator,
3777166: typename _Allocator>
3777166: inline _ForwardIterator
3777166: __relocate_a_1(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result, _Allocator& __alloc)
3777166: noexcept(noexcept(std::__relocate_object_a(std::addressof(*__result),
3777166: std::addressof(*__first),
3777166: __alloc)))
3777166: {
3777166: typedef typename iterator_traits<_InputIterator>::value_type
3777166: _ValueType;
3777166: typedef typename iterator_traits<_ForwardIterator>::value_type
3777166: _ValueType2;
3777166: static_assert(std::is_same<_ValueType, _ValueType2>::value,
3777166: "relocation is only possible for values of the same type");
3777166: _ForwardIterator __cur = __result;
3777166: for (; __first != __last; ++__first, (void)++__cur)
3777166: std::__relocate_object_a(std::__addressof(*__cur),
3777166: std::__addressof(*__first), __alloc);
3777166: return __cur;
3777166: }
3777166:
3777166: template <typename _InputIterator, typename _ForwardIterator,
3777166: typename _Allocator>
3777166: inline _ForwardIterator
3777166: __relocate_a(_InputIterator __first, _InputIterator __last,
3777166: _ForwardIterator __result, _Allocator& __alloc)
3777166: noexcept(noexcept(__relocate_a_1(std::__niter_base(__first),
3777166: std::__niter_base(__last),
3777166: std::__niter_base(__result), __alloc)))
3777166: {
3777166: return __relocate_a_1(std::__niter_base(__first),
3777166: std::__niter_base(__last),
3777166: std::__niter_base(__result), __alloc);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 67 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_tempbuf.h" 1 3
3777166: # 62 "/usr/include/c++/10/bits/stl_tempbuf.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: namespace __detail
3777166: {
3777166: template<typename _Tp>
3777166: inline void
3777166: __return_temporary_buffer(_Tp* __p,
3777166: size_t __len __attribute__((__unused__)))
3777166: {
3777166:
3777166: ::operator delete(__p, __len * sizeof(_Tp));
3777166:
3777166:
3777166:
3777166: }
3777166: }
3777166: # 98 "/usr/include/c++/10/bits/stl_tempbuf.h" 3
3777166: template<typename _Tp>
3777166: pair<_Tp*, ptrdiff_t>
3777166: get_temporary_buffer(ptrdiff_t __len) noexcept
3777166: {
3777166: const ptrdiff_t __max =
3777166: __gnu_cxx::__numeric_traits<ptrdiff_t>::__max / sizeof(_Tp);
3777166: if (__len > __max)
3777166: __len = __max;
3777166:
3777166: while (__len > 0)
3777166: {
3777166: _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp),
3777166: std::nothrow));
3777166: if (__tmp != 0)
3777166: return std::pair<_Tp*, ptrdiff_t>(__tmp, __len);
3777166: __len /= 2;
3777166: }
3777166: return std::pair<_Tp*, ptrdiff_t>(static_cast<_Tp*>(0), 0);
3777166: }
3777166: # 125 "/usr/include/c++/10/bits/stl_tempbuf.h" 3
3777166: template<typename _Tp>
3777166: inline void
3777166: return_temporary_buffer(_Tp* __p)
3777166: { ::operator delete(__p); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: class _Temporary_buffer
3777166: {
3777166:
3777166:
3777166:
3777166: public:
3777166: typedef _Tp value_type;
3777166: typedef value_type* pointer;
3777166: typedef pointer iterator;
3777166: typedef ptrdiff_t size_type;
3777166:
3777166: protected:
3777166: size_type _M_original_len;
3777166: size_type _M_len;
3777166: pointer _M_buffer;
3777166:
3777166: public:
3777166:
3777166: size_type
3777166: size() const
3777166: { return _M_len; }
3777166:
3777166:
3777166: size_type
3777166: requested_size() const
3777166: { return _M_original_len; }
3777166:
3777166:
3777166: iterator
3777166: begin()
3777166: { return _M_buffer; }
3777166:
3777166:
3777166: iterator
3777166: end()
3777166: { return _M_buffer + _M_len; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: _Temporary_buffer(_ForwardIterator __seed, size_type __original_len);
3777166:
3777166: ~_Temporary_buffer()
3777166: {
3777166: std::_Destroy(_M_buffer, _M_buffer + _M_len);
3777166: std::__detail::__return_temporary_buffer(_M_buffer, _M_len);
3777166: }
3777166:
3777166: private:
3777166:
3777166: _Temporary_buffer(const _Temporary_buffer&);
3777166:
3777166: void
3777166: operator=(const _Temporary_buffer&);
3777166: };
3777166:
3777166:
3777166: template<bool>
3777166: struct __uninitialized_construct_buf_dispatch
3777166: {
3777166: template<typename _Pointer, typename _ForwardIterator>
3777166: static void
3777166: __ucr(_Pointer __first, _Pointer __last,
3777166: _ForwardIterator __seed)
3777166: {
3777166: if (__first == __last)
3777166: return;
3777166:
3777166: _Pointer __cur = __first;
3777166: try
3777166: {
3777166: std::_Construct(std::__addressof(*__first),
3777166: std::move(*__seed));
3777166: _Pointer __prev = __cur;
3777166: ++__cur;
3777166: for(; __cur != __last; ++__cur, ++__prev)
3777166: std::_Construct(std::__addressof(*__cur),
3777166: std::move(*__prev));
3777166: *__seed = std::move(*__prev);
3777166: }
3777166: catch(...)
3777166: {
3777166: std::_Destroy(__first, __cur);
3777166: throw;
3777166: }
3777166: }
3777166: };
3777166:
3777166: template<>
3777166: struct __uninitialized_construct_buf_dispatch<true>
3777166: {
3777166: template<typename _Pointer, typename _ForwardIterator>
3777166: static void
3777166: __ucr(_Pointer, _Pointer, _ForwardIterator) { }
3777166: };
3777166: # 243 "/usr/include/c++/10/bits/stl_tempbuf.h" 3
3777166: template<typename _Pointer, typename _ForwardIterator>
3777166: inline void
3777166: __uninitialized_construct_buf(_Pointer __first, _Pointer __last,
3777166: _ForwardIterator __seed)
3777166: {
3777166: typedef typename std::iterator_traits<_Pointer>::value_type
3777166: _ValueType;
3777166:
3777166: std::__uninitialized_construct_buf_dispatch<
3777166: __has_trivial_constructor(_ValueType)>::
3777166: __ucr(__first, __last, __seed);
3777166: }
3777166:
3777166: template<typename _ForwardIterator, typename _Tp>
3777166: _Temporary_buffer<_ForwardIterator, _Tp>::
3777166: _Temporary_buffer(_ForwardIterator __seed, size_type __original_len)
3777166: : _M_original_len(__original_len), _M_len(0), _M_buffer(0)
3777166: {
3777166: std::pair<pointer, size_type> __p(
3777166: std::get_temporary_buffer<value_type>(_M_original_len));
3777166:
3777166: if (__p.first)
3777166: {
3777166: try
3777166: {
3777166: std::__uninitialized_construct_buf(__p.first, __p.first + __p.second,
3777166: __seed);
3777166: _M_buffer = __p.first;
3777166: _M_len = __p.second;
3777166: }
3777166: catch(...)
3777166: {
3777166: std::__detail::__return_temporary_buffer(__p.first, __p.second);
3777166: throw;
3777166: }
3777166: }
3777166: }
3777166:
3777166:
3777166: }
3777166: # 68 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/stl_raw_storage_iter.h" 1 3
3777166: # 59 "/usr/include/c++/10/bits/stl_raw_storage_iter.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <class _OutputIterator, class _Tp>
3777166: class raw_storage_iterator
3777166: : public iterator<output_iterator_tag, void, void, void, void>
3777166: {
3777166: protected:
3777166: _OutputIterator _M_iter;
3777166:
3777166: public:
3777166: explicit
3777166: raw_storage_iterator(_OutputIterator __x)
3777166: : _M_iter(__x) {}
3777166:
3777166: raw_storage_iterator&
3777166: operator*() { return *this; }
3777166:
3777166: raw_storage_iterator&
3777166: operator=(const _Tp& __element)
3777166: {
3777166: std::_Construct(std::__addressof(*_M_iter), __element);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: raw_storage_iterator&
3777166: operator=(_Tp&& __element)
3777166: {
3777166: std::_Construct(std::__addressof(*_M_iter), std::move(__element));
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: raw_storage_iterator&
3777166: operator++()
3777166: {
3777166: ++_M_iter;
3777166: return *this;
3777166: }
3777166:
3777166: raw_storage_iterator
3777166: operator++(int)
3777166: {
3777166: raw_storage_iterator __tmp = *this;
3777166: ++_M_iter;
3777166: return __tmp;
3777166: }
3777166:
3777166:
3777166:
3777166: _OutputIterator base() const { return _M_iter; }
3777166: };
3777166:
3777166:
3777166: }
3777166: # 69 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/ranges_uninitialized.h" 1 3
3777166: # 70 "/usr/include/c++/10/memory" 2 3
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/iosfwd" 1 3
3777166: # 36 "/usr/include/c++/10/iosfwd" 3
3777166:
3777166: # 37 "/usr/include/c++/10/iosfwd" 3
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/stringfwd.h" 1 3
3777166: # 37 "/usr/include/c++/10/bits/stringfwd.h" 3
3777166:
3777166: # 38 "/usr/include/c++/10/bits/stringfwd.h" 3
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<class _CharT>
3777166: struct char_traits;
3777166:
3777166: template<> struct char_traits<char>;
3777166:
3777166:
3777166: template<> struct char_traits<wchar_t>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<> struct char_traits<char16_t>;
3777166: template<> struct char_traits<char32_t>;
3777166:
3777166:
3777166: namespace __cxx11 {
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT>,
3777166: typename _Alloc = allocator<_CharT> >
3777166: class basic_string;
3777166:
3777166: }
3777166:
3777166:
3777166: typedef basic_string<char> string;
3777166:
3777166:
3777166:
3777166: typedef basic_string<wchar_t> wstring;
3777166: # 93 "/usr/include/c++/10/bits/stringfwd.h" 3
3777166: typedef basic_string<char16_t> u16string;
3777166:
3777166:
3777166: typedef basic_string<char32_t> u32string;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 40 "/usr/include/c++/10/iosfwd" 2 3
3777166: # 1 "/usr/include/c++/10/bits/postypes.h" 1 3
3777166: # 38 "/usr/include/c++/10/bits/postypes.h" 3
3777166:
3777166: # 39 "/usr/include/c++/10/bits/postypes.h" 3
3777166:
3777166: # 1 "/usr/include/c++/10/cwchar" 1 3
3777166: # 39 "/usr/include/c++/10/cwchar" 3
3777166:
3777166: # 40 "/usr/include/c++/10/cwchar" 3
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/wchar.h" 1 3 4
3777166: # 27 "/usr/include/wchar.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
3777166: # 28 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 1 3 4
3777166: # 75 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
3777166: typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__)));
3777166: # 87 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
3777166: typedef __float128 _Float128;
3777166: # 120 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 1 3 4
3777166: # 24 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
3777166: # 25 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 2 3 4
3777166: # 214 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
3777166: typedef float _Float32;
3777166: # 251 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
3777166: typedef double _Float64;
3777166: # 268 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
3777166: typedef double _Float32x;
3777166: # 285 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
3777166: typedef long double _Float64x;
3777166: # 121 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 2 3 4
3777166: # 31 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4
3777166: # 36 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stdarg.h" 1 3 4
3777166: # 40 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stdarg.h" 3 4
3777166: typedef __builtin_va_list __gnuc_va_list;
3777166: # 39 "/usr/include/wchar.h" 2 3 4
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wchar.h" 1 3 4
3777166: # 41 "/usr/include/wchar.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/wint_t.h" 1 3 4
3777166: # 20 "/usr/include/x86_64-linux-gnu/bits/types/wint_t.h" 3 4
3777166: typedef unsigned int wint_t;
3777166: # 42 "/usr/include/wchar.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h" 1 3 4
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
3777166: # 13 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 3 4
3777166: typedef struct
3777166: {
3777166: int __count;
3777166: union
3777166: {
3777166: unsigned int __wch;
3777166: char __wchb[4];
3777166: } __value;
3777166: } __mbstate_t;
3777166: # 5 "/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h" 2 3 4
3777166:
3777166: typedef __mbstate_t mbstate_t;
3777166: # 43 "/usr/include/wchar.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__FILE.h" 1 3 4
3777166:
3777166:
3777166:
3777166: struct _IO_FILE;
3777166: typedef struct _IO_FILE __FILE;
3777166: # 44 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/FILE.h" 1 3 4
3777166:
3777166:
3777166:
3777166: struct _IO_FILE;
3777166:
3777166:
3777166: typedef struct _IO_FILE FILE;
3777166: # 47 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/locale_t.h" 1 3 4
3777166: # 22 "/usr/include/x86_64-linux-gnu/bits/types/locale_t.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h" 1 3 4
3777166: # 28 "/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h" 3 4
3777166: struct __locale_struct
3777166: {
3777166:
3777166: struct __locale_data *__locales[13];
3777166:
3777166:
3777166: const unsigned short int *__ctype_b;
3777166: const int *__ctype_tolower;
3777166: const int *__ctype_toupper;
3777166:
3777166:
3777166: const char *__names[13];
3777166: };
3777166:
3777166: typedef struct __locale_struct *__locale_t;
3777166: # 23 "/usr/include/x86_64-linux-gnu/bits/types/locale_t.h" 2 3 4
3777166:
3777166: typedef __locale_t locale_t;
3777166: # 50 "/usr/include/wchar.h" 2 3 4
3777166: # 79 "/usr/include/wchar.h" 3 4
3777166: extern "C" {
3777166:
3777166:
3777166:
3777166: struct tm;
3777166:
3777166:
3777166:
3777166: extern wchar_t *wcscpy (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src, size_t __n)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern wchar_t *wcscat (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166: extern wchar_t *wcsncat (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src, size_t __n)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2)
3777166: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166: extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
3777166: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw ();
3777166:
3777166:
3777166: extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2,
3777166: size_t __n) throw ();
3777166:
3777166:
3777166:
3777166: extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2,
3777166: locale_t __loc) throw ();
3777166:
3777166: extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2,
3777166: size_t __n, locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw ();
3777166:
3777166:
3777166:
3777166: extern size_t wcsxfrm (wchar_t *__restrict __s1,
3777166: const wchar_t *__restrict __s2, size_t __n) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2,
3777166: size_t __n, locale_t __loc) throw ();
3777166:
3777166:
3777166: extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__));
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" wchar_t *wcschr (wchar_t *__wcs, wchar_t __wc)
3777166: throw () __asm ("wcschr") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc)
3777166: throw () __asm ("wcschr") __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" wchar_t *wcsrchr (wchar_t *__wcs, wchar_t __wc)
3777166: throw () __asm ("wcsrchr") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc)
3777166: throw () __asm ("wcsrchr") __attribute__ ((__pure__));
3777166: # 181 "/usr/include/wchar.h" 3 4
3777166: extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc)
3777166: throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject)
3777166: throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166: extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept)
3777166: throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166: extern "C++" wchar_t *wcspbrk (wchar_t *__wcs, const wchar_t *__accept)
3777166: throw () __asm ("wcspbrk") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wcspbrk (const wchar_t *__wcs,
3777166: const wchar_t *__accept)
3777166: throw () __asm ("wcspbrk") __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" wchar_t *wcsstr (wchar_t *__haystack, const wchar_t *__needle)
3777166: throw () __asm ("wcsstr") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wcsstr (const wchar_t *__haystack,
3777166: const wchar_t *__needle)
3777166: throw () __asm ("wcsstr") __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wchar_t *wcstok (wchar_t *__restrict __s,
3777166: const wchar_t *__restrict __delim,
3777166: wchar_t **__restrict __ptr) throw ();
3777166:
3777166:
3777166: extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" wchar_t *wcswcs (wchar_t *__haystack, const wchar_t *__needle)
3777166: throw () __asm ("wcswcs") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wcswcs (const wchar_t *__haystack,
3777166: const wchar_t *__needle)
3777166: throw () __asm ("wcswcs") __attribute__ ((__pure__));
3777166: # 240 "/usr/include/wchar.h" 3 4
3777166: extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen)
3777166: throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern "C++" wchar_t *wmemchr (wchar_t *__s, wchar_t __c, size_t __n)
3777166: throw () __asm ("wmemchr") __attribute__ ((__pure__));
3777166: extern "C++" const wchar_t *wmemchr (const wchar_t *__s, wchar_t __c,
3777166: size_t __n)
3777166: throw () __asm ("wmemchr") __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
3777166: throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166: extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
3777166: const wchar_t *__restrict __s2, size_t __n) throw ();
3777166:
3777166:
3777166:
3777166: extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)
3777166: throw ();
3777166:
3777166:
3777166: extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
3777166: const wchar_t *__restrict __s2, size_t __n)
3777166: throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t btowc (int __c) throw ();
3777166:
3777166:
3777166:
3777166: extern int wctob (wint_t __c) throw ();
3777166:
3777166:
3777166:
3777166: extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__));
3777166:
3777166:
3777166:
3777166: extern size_t mbrtowc (wchar_t *__restrict __pwc,
3777166: const char *__restrict __s, size_t __n,
3777166: mbstate_t *__restrict __p) throw ();
3777166:
3777166:
3777166: extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
3777166: mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166: extern size_t __mbrlen (const char *__restrict __s, size_t __n,
3777166: mbstate_t *__restrict __ps) throw ();
3777166: extern size_t mbrlen (const char *__restrict __s, size_t __n,
3777166: mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t __btowc_alias (int __c) __asm ("btowc");
3777166: extern __inline __attribute__ ((__gnu_inline__)) wint_t
3777166: __attribute__ ((__leaf__)) btowc (int __c) throw ()
3777166: { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
3777166: ? (wint_t) __c : __btowc_alias (__c)); }
3777166:
3777166: extern int __wctob_alias (wint_t __c) __asm ("wctob");
3777166: extern __inline __attribute__ ((__gnu_inline__)) int
3777166: __attribute__ ((__leaf__)) wctob (wint_t __wc) throw ()
3777166: { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f'
3777166: ? (int) __wc : __wctob_alias (__wc)); }
3777166:
3777166: extern __inline __attribute__ ((__gnu_inline__)) size_t
3777166: __attribute__ ((__leaf__)) mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: { return (__ps != __null
3777166: ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); }
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t mbsrtowcs (wchar_t *__restrict __dst,
3777166: const char **__restrict __src, size_t __len,
3777166: mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166:
3777166: extern size_t wcsrtombs (char *__restrict __dst,
3777166: const wchar_t **__restrict __src, size_t __len,
3777166: mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
3777166: const char **__restrict __src, size_t __nmc,
3777166: size_t __len, mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166:
3777166: extern size_t wcsnrtombs (char *__restrict __dst,
3777166: const wchar_t **__restrict __src,
3777166: size_t __nwc, size_t __len,
3777166: mbstate_t *__restrict __ps) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int wcwidth (wchar_t __c) throw ();
3777166:
3777166:
3777166:
3777166: extern int wcswidth (const wchar_t *__s, size_t __n) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern double wcstod (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166:
3777166:
3777166:
3777166: extern float wcstof (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166: extern long double wcstold (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166: # 396 "/usr/include/wchar.h" 3 4
3777166: extern _Float32 wcstof32 (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float64 wcstof64 (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float128 wcstof128 (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float32x wcstof32x (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float64x wcstof64x (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr) throw ();
3777166: # 428 "/usr/include/wchar.h" 3 4
3777166: extern long int wcstol (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, int __base) throw ();
3777166:
3777166:
3777166:
3777166: extern unsigned long int wcstoul (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, int __base)
3777166: throw ();
3777166:
3777166:
3777166:
3777166:
3777166: __extension__
3777166: extern long long int wcstoll (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, int __base)
3777166: throw ();
3777166:
3777166:
3777166:
3777166: __extension__
3777166: extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: int __base) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: __extension__
3777166: extern long long int wcstoq (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, int __base)
3777166: throw ();
3777166:
3777166:
3777166:
3777166: __extension__
3777166: extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: int __base) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern long int wcstol_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, int __base,
3777166: locale_t __loc) throw ();
3777166:
3777166: extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: int __base, locale_t __loc) throw ();
3777166:
3777166: __extension__
3777166: extern long long int wcstoll_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: int __base, locale_t __loc) throw ();
3777166:
3777166: __extension__
3777166: extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: int __base, locale_t __loc)
3777166: throw ();
3777166:
3777166: extern double wcstod_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, locale_t __loc)
3777166: throw ();
3777166:
3777166: extern float wcstof_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr, locale_t __loc)
3777166: throw ();
3777166:
3777166: extern long double wcstold_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166: # 511 "/usr/include/wchar.h" 3 4
3777166: extern _Float32 wcstof32_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float64 wcstof64_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float128 wcstof128_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float32x wcstof32x_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166: extern _Float64x wcstof64x_l (const wchar_t *__restrict __nptr,
3777166: wchar_t **__restrict __endptr,
3777166: locale_t __loc) throw ();
3777166: # 551 "/usr/include/wchar.h" 3 4
3777166: extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src) throw ();
3777166:
3777166:
3777166:
3777166: extern wchar_t *wcpncpy (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src, size_t __n)
3777166: throw ();
3777166: # 567 "/usr/include/wchar.h" 3 4
3777166: extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fwide (__FILE *__fp, int __mode) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fwprintf (__FILE *__restrict __stream,
3777166: const wchar_t *__restrict __format, ...)
3777166: ;
3777166:
3777166:
3777166:
3777166:
3777166: extern int wprintf (const wchar_t *__restrict __format, ...)
3777166: ;
3777166:
3777166: extern int swprintf (wchar_t *__restrict __s, size_t __n,
3777166: const wchar_t *__restrict __format, ...)
3777166: throw () ;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int vfwprintf (__FILE *__restrict __s,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: ;
3777166:
3777166:
3777166:
3777166:
3777166: extern int vwprintf (const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: ;
3777166:
3777166:
3777166: extern int vswprintf (wchar_t *__restrict __s, size_t __n,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: throw () ;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fwscanf (__FILE *__restrict __stream,
3777166: const wchar_t *__restrict __format, ...)
3777166: ;
3777166:
3777166:
3777166:
3777166:
3777166: extern int wscanf (const wchar_t *__restrict __format, ...)
3777166: ;
3777166:
3777166: extern int swscanf (const wchar_t *__restrict __s,
3777166: const wchar_t *__restrict __format, ...)
3777166: throw () ;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fwscanf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) __asm__ ("" "__isoc99_fwscanf")
3777166:
3777166:
3777166: ;
3777166: extern int wscanf (const wchar_t *__restrict __format, ...) __asm__ ("" "__isoc99_wscanf")
3777166:
3777166: ;
3777166: extern int swscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, ...) throw () __asm__ ("" "__isoc99_swscanf")
3777166:
3777166:
3777166: ;
3777166: # 671 "/usr/include/wchar.h" 3 4
3777166: extern int vfwscanf (__FILE *__restrict __s,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: ;
3777166:
3777166:
3777166:
3777166:
3777166: extern int vwscanf (const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: ;
3777166:
3777166: extern int vswscanf (const wchar_t *__restrict __s,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: throw () ;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int vfwscanf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfwscanf")
3777166:
3777166:
3777166: ;
3777166: extern int vwscanf (const wchar_t *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vwscanf")
3777166:
3777166: ;
3777166: extern int vswscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () __asm__ ("" "__isoc99_vswscanf")
3777166:
3777166:
3777166: ;
3777166: # 726 "/usr/include/wchar.h" 3 4
3777166: extern wint_t fgetwc (__FILE *__stream);
3777166: extern wint_t getwc (__FILE *__stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t getwchar (void);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t fputwc (wchar_t __wc, __FILE *__stream);
3777166: extern wint_t putwc (wchar_t __wc, __FILE *__stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t putwchar (wchar_t __wc);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
3777166: __FILE *__restrict __stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fputws (const wchar_t *__restrict __ws,
3777166: __FILE *__restrict __stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
3777166: # 781 "/usr/include/wchar.h" 3 4
3777166: extern wint_t getwc_unlocked (__FILE *__stream);
3777166: extern wint_t getwchar_unlocked (void);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t fgetwc_unlocked (__FILE *__stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
3777166: # 807 "/usr/include/wchar.h" 3 4
3777166: extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream);
3777166: extern wint_t putwchar_unlocked (wchar_t __wc);
3777166: # 817 "/usr/include/wchar.h" 3 4
3777166: extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
3777166: __FILE *__restrict __stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int fputws_unlocked (const wchar_t *__restrict __ws,
3777166: __FILE *__restrict __stream);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
3777166: const wchar_t *__restrict __format,
3777166: const struct tm *__restrict __tp) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
3777166: const wchar_t *__restrict __format,
3777166: const struct tm *__restrict __tp,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wchar2.h" 1 3 4
3777166: # 24 "/usr/include/x86_64-linux-gnu/bits/wchar2.h" 3 4
3777166: extern wchar_t *__wmemcpy_chk (wchar_t *__restrict __s1,
3777166: const wchar_t *__restrict __s2, size_t __n,
3777166: size_t __ns1) throw ();
3777166: extern wchar_t *__wmemcpy_alias (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () __asm__ ("" "wmemcpy")
3777166:
3777166:
3777166: ;
3777166: extern wchar_t *__wmemcpy_chk_warn (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmemcpy_chk")
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wmemcpy called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__s1, 0) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wmemcpy_chk (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166:
3777166: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t))
3777166: return __wmemcpy_chk_warn (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166: }
3777166: return __wmemcpy_alias (__s1, __s2, __n);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wmemmove_chk (wchar_t *__s1, const wchar_t *__s2,
3777166: size_t __n, size_t __ns1) throw ();
3777166: extern wchar_t *__wmemmove_alias (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __asm__ ("" "wmemmove")
3777166:
3777166: ;
3777166: extern wchar_t *__wmemmove_chk_warn (wchar_t *__s1, const wchar_t *__s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmemmove_chk")
3777166:
3777166:
3777166: __attribute__((__warning__ ("wmemmove called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw ()
3777166: {
3777166: if (__builtin_object_size (__s1, 0) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wmemmove_chk (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166:
3777166: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t))
3777166: return __wmemmove_chk_warn (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166: }
3777166: return __wmemmove_alias (__s1, __s2, __n);
3777166: }
3777166:
3777166:
3777166:
3777166: extern wchar_t *__wmempcpy_chk (wchar_t *__restrict __s1,
3777166: const wchar_t *__restrict __s2, size_t __n,
3777166: size_t __ns1) throw ();
3777166: extern wchar_t *__wmempcpy_alias (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () __asm__ ("" "wmempcpy")
3777166:
3777166:
3777166: ;
3777166: extern wchar_t *__wmempcpy_chk_warn (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmempcpy_chk")
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wmempcpy called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__s1, 0) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wmempcpy_chk (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166:
3777166: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t))
3777166: return __wmempcpy_chk_warn (__s1, __s2, __n,
3777166: __builtin_object_size (__s1, 0) / sizeof (wchar_t));
3777166: }
3777166: return __wmempcpy_alias (__s1, __s2, __n);
3777166: }
3777166:
3777166:
3777166:
3777166: extern wchar_t *__wmemset_chk (wchar_t *__s, wchar_t __c, size_t __n,
3777166: size_t __ns) throw ();
3777166: extern wchar_t *__wmemset_alias (wchar_t *__s, wchar_t __c, size_t __n) throw () __asm__ ("" "wmemset")
3777166: ;
3777166: extern wchar_t *__wmemset_chk_warn (wchar_t *__s, wchar_t __c, size_t __n, size_t __ns) throw () __asm__ ("" "__wmemset_chk")
3777166:
3777166:
3777166: __attribute__((__warning__ ("wmemset called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw ()
3777166: {
3777166: if (__builtin_object_size (__s, 0) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wmemset_chk (__s, __c, __n, __builtin_object_size (__s, 0) / sizeof (wchar_t));
3777166:
3777166: if (__n > __builtin_object_size (__s, 0) / sizeof (wchar_t))
3777166: return __wmemset_chk_warn (__s, __c, __n,
3777166: __builtin_object_size (__s, 0) / sizeof (wchar_t));
3777166: }
3777166: return __wmemset_alias (__s, __c, __n);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcscpy_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src,
3777166: size_t __n) throw ();
3777166: extern wchar_t *__wcscpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcscpy")
3777166:
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw ()
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: return __wcscpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: return __wcscpy_alias (__dest, __src);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcpcpy_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src,
3777166: size_t __destlen) throw ();
3777166: extern wchar_t *__wcpcpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcpcpy")
3777166:
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw ()
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: return __wcpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: return __wcpcpy_alias (__dest, __src);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcsncpy_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src, size_t __n,
3777166: size_t __destlen) throw ();
3777166: extern wchar_t *__wcsncpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcsncpy")
3777166:
3777166:
3777166: ;
3777166: extern wchar_t *__wcsncpy_chk_warn (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n, size_t __destlen) throw () __asm__ ("" "__wcsncpy_chk")
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wcsncpy called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wcsncpy_chk (__dest, __src, __n,
3777166: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: if (__n > __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t))
3777166: return __wcsncpy_chk_warn (__dest, __src, __n,
3777166: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: }
3777166: return __wcsncpy_alias (__dest, __src, __n);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcpncpy_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src, size_t __n,
3777166: size_t __destlen) throw ();
3777166: extern wchar_t *__wcpncpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcpncpy")
3777166:
3777166:
3777166: ;
3777166: extern wchar_t *__wcpncpy_chk_warn (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n, size_t __destlen) throw () __asm__ ("" "__wcpncpy_chk")
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wcpncpy called with length bigger than size of destination " "buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n))
3777166: return __wcpncpy_chk (__dest, __src, __n,
3777166: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: if (__n > __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t))
3777166: return __wcpncpy_chk_warn (__dest, __src, __n,
3777166: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: }
3777166: return __wcpncpy_alias (__dest, __src, __n);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcscat_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src,
3777166: size_t __destlen) throw ();
3777166: extern wchar_t *__wcscat_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcscat")
3777166:
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw ()
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: return __wcscat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: return __wcscat_alias (__dest, __src);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__wcsncat_chk (wchar_t *__restrict __dest,
3777166: const wchar_t *__restrict __src,
3777166: size_t __n, size_t __destlen) throw ();
3777166: extern wchar_t *__wcsncat_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcsncat")
3777166:
3777166:
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t *
3777166: __attribute__ ((__leaf__)) wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1)
3777166: return __wcsncat_chk (__dest, __src, __n,
3777166: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t));
3777166: return __wcsncat_alias (__dest, __src, __n);
3777166: }
3777166:
3777166:
3777166: extern int __swprintf_chk (wchar_t *__restrict __s, size_t __n,
3777166: int __flag, size_t __s_len,
3777166: const wchar_t *__restrict __format, ...)
3777166: throw () ;
3777166:
3777166: extern int __swprintf_alias (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, ...) throw () __asm__ ("" "swprintf")
3777166:
3777166:
3777166: ;
3777166:
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: __attribute__ ((__leaf__)) swprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, ...) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 || 2 > 1)
3777166: return __swprintf_chk (__s, __n, 2 - 1,
3777166: __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t),
3777166: __fmt, __builtin_va_arg_pack ());
3777166: return __swprintf_alias (__s, __n, __fmt, __builtin_va_arg_pack ());
3777166: }
3777166: # 303 "/usr/include/x86_64-linux-gnu/bits/wchar2.h" 3 4
3777166: extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n,
3777166: int __flag, size_t __s_len,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __arg)
3777166: throw () ;
3777166:
3777166: extern int __vswprintf_alias (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, __gnuc_va_list __ap) throw () __asm__ ("" "vswprintf")
3777166:
3777166:
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: __attribute__ ((__leaf__)) vswprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, __gnuc_va_list __ap) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 || 2 > 1)
3777166: return __vswprintf_chk (__s, __n, 2 - 1,
3777166: __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), __fmt, __ap);
3777166: return __vswprintf_alias (__s, __n, __fmt, __ap);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: extern int __fwprintf_chk (__FILE *__restrict __stream, int __flag,
3777166: const wchar_t *__restrict __format, ...);
3777166: extern int __wprintf_chk (int __flag, const wchar_t *__restrict __format,
3777166: ...);
3777166: extern int __vfwprintf_chk (__FILE *__restrict __stream, int __flag,
3777166: const wchar_t *__restrict __format,
3777166: __gnuc_va_list __ap);
3777166: extern int __vwprintf_chk (int __flag, const wchar_t *__restrict __format,
3777166: __gnuc_va_list __ap);
3777166:
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: wprintf (const wchar_t *__restrict __fmt, ...)
3777166: {
3777166: return __wprintf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
3777166: }
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: fwprintf (__FILE *__restrict __stream, const wchar_t *__restrict __fmt, ...)
3777166: {
3777166: return __fwprintf_chk (__stream, 2 - 1, __fmt,
3777166: __builtin_va_arg_pack ());
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: vwprintf (const wchar_t *__restrict __fmt, __gnuc_va_list __ap)
3777166: {
3777166: return __vwprintf_chk (2 - 1, __fmt, __ap);
3777166: }
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
3777166: vfwprintf (__FILE *__restrict __stream,
3777166: const wchar_t *__restrict __fmt, __gnuc_va_list __ap)
3777166: {
3777166: return __vfwprintf_chk (__stream, 2 - 1, __fmt, __ap);
3777166: }
3777166:
3777166:
3777166:
3777166: extern wchar_t *__fgetws_chk (wchar_t *__restrict __s, size_t __size, int __n,
3777166: __FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
3777166: extern wchar_t *__fgetws_alias (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) __asm__ ("" "fgetws")
3777166:
3777166: __attribute__ ((__warn_unused_result__));
3777166: extern wchar_t *__fgetws_chk_warn (wchar_t *__restrict __s, size_t __size, int __n, __FILE *__restrict __stream) __asm__ ("" "__fgetws_chk")
3777166:
3777166:
3777166: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgetws called with bigger size than length " "of destination buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) wchar_t *
3777166: fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
3777166: {
3777166: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n) || __n <= 0)
3777166: return __fgetws_chk (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t),
3777166: __n, __stream);
3777166:
3777166: if ((size_t) __n > __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t))
3777166: return __fgetws_chk_warn (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t),
3777166: __n, __stream);
3777166: }
3777166: return __fgetws_alias (__s, __n, __stream);
3777166: }
3777166:
3777166:
3777166: extern wchar_t *__fgetws_unlocked_chk (wchar_t *__restrict __s, size_t __size,
3777166: int __n, __FILE *__restrict __stream)
3777166: __attribute__ ((__warn_unused_result__));
3777166: extern wchar_t *__fgetws_unlocked_alias (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) __asm__ ("" "fgetws_unlocked")
3777166:
3777166:
3777166: __attribute__ ((__warn_unused_result__));
3777166: extern wchar_t *__fgetws_unlocked_chk_warn (wchar_t *__restrict __s, size_t __size, int __n, __FILE *__restrict __stream) __asm__ ("" "__fgetws_unlocked_chk")
3777166:
3777166:
3777166:
3777166: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgetws_unlocked called with bigger size than length " "of destination buffer")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) wchar_t *
3777166: fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
3777166: {
3777166: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__n) || __n <= 0)
3777166: return __fgetws_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t),
3777166: __n, __stream);
3777166:
3777166: if ((size_t) __n > __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t))
3777166: return __fgetws_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t),
3777166: __n, __stream);
3777166: }
3777166: return __fgetws_unlocked_alias (__s, __n, __stream);
3777166: }
3777166:
3777166:
3777166:
3777166: extern size_t __wcrtomb_chk (char *__restrict __s, wchar_t __wchar,
3777166: mbstate_t *__restrict __p,
3777166: size_t __buflen) throw () __attribute__ ((__warn_unused_result__));
3777166: extern size_t __wcrtomb_alias (char *__restrict __s, wchar_t __wchar, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcrtomb")
3777166:
3777166: __attribute__ ((__warn_unused_result__));
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
3777166: __attribute__ ((__leaf__)) wcrtomb (char *__restrict __s, wchar_t __wchar, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
3777166: return __wcrtomb_chk (__s, __wchar, __ps, __builtin_object_size (__s, 2 > 1));
3777166: return __wcrtomb_alias (__s, __wchar, __ps);
3777166: }
3777166:
3777166:
3777166: extern size_t __mbsrtowcs_chk (wchar_t *__restrict __dst,
3777166: const char **__restrict __src,
3777166: size_t __len, mbstate_t *__restrict __ps,
3777166: size_t __dstlen) throw ();
3777166: extern size_t __mbsrtowcs_alias (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "mbsrtowcs")
3777166:
3777166:
3777166:
3777166: ;
3777166: extern size_t __mbsrtowcs_chk_warn (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__mbsrtowcs_chk")
3777166:
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("mbsrtowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
3777166: __attribute__ ((__leaf__)) mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__len))
3777166: return __mbsrtowcs_chk (__dst, __src, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3777166:
3777166: if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
3777166: return __mbsrtowcs_chk_warn (__dst, __src, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3777166: }
3777166: return __mbsrtowcs_alias (__dst, __src, __len, __ps);
3777166: }
3777166:
3777166:
3777166: extern size_t __wcsrtombs_chk (char *__restrict __dst,
3777166: const wchar_t **__restrict __src,
3777166: size_t __len, mbstate_t *__restrict __ps,
3777166: size_t __dstlen) throw ();
3777166: extern size_t __wcsrtombs_alias (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcsrtombs")
3777166:
3777166:
3777166:
3777166: ;
3777166: extern size_t __wcsrtombs_chk_warn (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__wcsrtombs_chk")
3777166:
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wcsrtombs called with dst buffer smaller than len")));
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
3777166: __attribute__ ((__leaf__)) wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__len))
3777166: return __wcsrtombs_chk (__dst, __src, __len, __ps, __builtin_object_size (__dst, 2 > 1));
3777166:
3777166: if (__len > __builtin_object_size (__dst, 2 > 1))
3777166: return __wcsrtombs_chk_warn (__dst, __src, __len, __ps, __builtin_object_size (__dst, 2 > 1));
3777166: }
3777166: return __wcsrtombs_alias (__dst, __src, __len, __ps);
3777166: }
3777166:
3777166:
3777166:
3777166: extern size_t __mbsnrtowcs_chk (wchar_t *__restrict __dst,
3777166: const char **__restrict __src, size_t __nmc,
3777166: size_t __len, mbstate_t *__restrict __ps,
3777166: size_t __dstlen) throw ();
3777166: extern size_t __mbsnrtowcs_alias (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "mbsnrtowcs")
3777166:
3777166:
3777166:
3777166: ;
3777166: extern size_t __mbsnrtowcs_chk_warn (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__mbsnrtowcs_chk")
3777166:
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("mbsnrtowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
3777166: ;
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
3777166: __attribute__ ((__leaf__)) mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__len))
3777166: return __mbsnrtowcs_chk (__dst, __src, __nmc, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3777166:
3777166: if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
3777166: return __mbsnrtowcs_chk_warn (__dst, __src, __nmc, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3777166: }
3777166: return __mbsnrtowcs_alias (__dst, __src, __nmc, __len, __ps);
3777166: }
3777166:
3777166:
3777166: extern size_t __wcsnrtombs_chk (char *__restrict __dst,
3777166: const wchar_t **__restrict __src,
3777166: size_t __nwc, size_t __len,
3777166: mbstate_t *__restrict __ps, size_t __dstlen)
3777166: throw ();
3777166: extern size_t __wcsnrtombs_alias (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcsnrtombs")
3777166:
3777166:
3777166:
3777166: ;
3777166: extern size_t __wcsnrtombs_chk_warn (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__wcsnrtombs_chk")
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: __attribute__((__warning__ ("wcsnrtombs called with dst buffer smaller than len")));
3777166:
3777166: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
3777166: __attribute__ ((__leaf__)) wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw ()
3777166:
3777166: {
3777166: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3777166: {
3777166: if (!__builtin_constant_p (__len))
3777166: return __wcsnrtombs_chk (__dst, __src, __nwc, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1));
3777166:
3777166: if (__len > __builtin_object_size (__dst, 2 > 1))
3777166: return __wcsnrtombs_chk_warn (__dst, __src, __nwc, __len, __ps,
3777166: __builtin_object_size (__dst, 2 > 1));
3777166: }
3777166: return __wcsnrtombs_alias (__dst, __src, __nwc, __len, __ps);
3777166: }
3777166: # 850 "/usr/include/wchar.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 45 "/usr/include/c++/10/cwchar" 2 3
3777166: # 62 "/usr/include/c++/10/cwchar" 3
3777166: namespace std
3777166: {
3777166: using ::mbstate_t;
3777166: }
3777166: # 135 "/usr/include/c++/10/cwchar" 3
3777166: extern "C++"
3777166: {
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: using ::wint_t;
3777166:
3777166: using ::btowc;
3777166: using ::fgetwc;
3777166: using ::fgetws;
3777166: using ::fputwc;
3777166: using ::fputws;
3777166: using ::fwide;
3777166: using ::fwprintf;
3777166: using ::fwscanf;
3777166: using ::getwc;
3777166: using ::getwchar;
3777166: using ::mbrlen;
3777166: using ::mbrtowc;
3777166: using ::mbsinit;
3777166: using ::mbsrtowcs;
3777166: using ::putwc;
3777166: using ::putwchar;
3777166:
3777166: using ::swprintf;
3777166:
3777166: using ::swscanf;
3777166: using ::ungetwc;
3777166: using ::vfwprintf;
3777166:
3777166: using ::vfwscanf;
3777166:
3777166:
3777166: using ::vswprintf;
3777166:
3777166:
3777166: using ::vswscanf;
3777166:
3777166: using ::vwprintf;
3777166:
3777166: using ::vwscanf;
3777166:
3777166: using ::wcrtomb;
3777166: using ::wcscat;
3777166: using ::wcscmp;
3777166: using ::wcscoll;
3777166: using ::wcscpy;
3777166: using ::wcscspn;
3777166: using ::wcsftime;
3777166: using ::wcslen;
3777166: using ::wcsncat;
3777166: using ::wcsncmp;
3777166: using ::wcsncpy;
3777166: using ::wcsrtombs;
3777166: using ::wcsspn;
3777166: using ::wcstod;
3777166:
3777166: using ::wcstof;
3777166:
3777166: using ::wcstok;
3777166: using ::wcstol;
3777166: using ::wcstoul;
3777166: using ::wcsxfrm;
3777166: using ::wctob;
3777166: using ::wmemcmp;
3777166: using ::wmemcpy;
3777166: using ::wmemmove;
3777166: using ::wmemset;
3777166: using ::wprintf;
3777166: using ::wscanf;
3777166: using ::wcschr;
3777166: using ::wcspbrk;
3777166: using ::wcsrchr;
3777166: using ::wcsstr;
3777166: using ::wmemchr;
3777166: # 234 "/usr/include/c++/10/cwchar" 3
3777166:
3777166: }
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_cxx
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using ::wcstold;
3777166: # 260 "/usr/include/c++/10/cwchar" 3
3777166: using ::wcstoll;
3777166: using ::wcstoull;
3777166:
3777166: }
3777166:
3777166: namespace std
3777166: {
3777166: using ::__gnu_cxx::wcstold;
3777166: using ::__gnu_cxx::wcstoll;
3777166: using ::__gnu_cxx::wcstoull;
3777166: }
3777166: # 280 "/usr/include/c++/10/cwchar" 3
3777166: namespace std
3777166: {
3777166:
3777166: using std::wcstof;
3777166:
3777166:
3777166: using std::vfwscanf;
3777166:
3777166:
3777166: using std::vswscanf;
3777166:
3777166:
3777166: using std::vwscanf;
3777166:
3777166:
3777166:
3777166: using std::wcstold;
3777166: using std::wcstoll;
3777166: using std::wcstoull;
3777166:
3777166: }
3777166: # 41 "/usr/include/c++/10/bits/postypes.h" 2 3
3777166: # 68 "/usr/include/c++/10/bits/postypes.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 88 "/usr/include/c++/10/bits/postypes.h" 3
3777166: typedef long streamoff;
3777166: # 98 "/usr/include/c++/10/bits/postypes.h" 3
3777166: typedef ptrdiff_t streamsize;
3777166: # 111 "/usr/include/c++/10/bits/postypes.h" 3
3777166: template<typename _StateT>
3777166: class fpos
3777166: {
3777166: private:
3777166: streamoff _M_off;
3777166: _StateT _M_state;
3777166:
3777166: public:
3777166:
3777166:
3777166:
3777166:
3777166: fpos()
3777166: : _M_off(0), _M_state() { }
3777166: # 133 "/usr/include/c++/10/bits/postypes.h" 3
3777166: fpos(streamoff __off)
3777166: : _M_off(__off), _M_state() { }
3777166:
3777166:
3777166: fpos(const fpos&) = default;
3777166: fpos& operator=(const fpos&) = default;
3777166: ~fpos() = default;
3777166:
3777166:
3777166:
3777166: operator streamoff() const { return _M_off; }
3777166:
3777166:
3777166: void
3777166: state(_StateT __st)
3777166: { _M_state = __st; }
3777166:
3777166:
3777166: _StateT
3777166: state() const
3777166: { return _M_state; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: fpos&
3777166: operator+=(streamoff __off)
3777166: {
3777166: _M_off += __off;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: fpos&
3777166: operator-=(streamoff __off)
3777166: {
3777166: _M_off -= __off;
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: fpos
3777166: operator+(streamoff __off) const
3777166: {
3777166: fpos __pos(*this);
3777166: __pos += __off;
3777166: return __pos;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: fpos
3777166: operator-(streamoff __off) const
3777166: {
3777166: fpos __pos(*this);
3777166: __pos -= __off;
3777166: return __pos;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: streamoff
3777166: operator-(const fpos& __other) const
3777166: { return _M_off - __other._M_off; }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _StateT>
3777166: inline bool
3777166: operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
3777166: { return streamoff(__lhs) == streamoff(__rhs); }
3777166:
3777166: template<typename _StateT>
3777166: inline bool
3777166: operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
3777166: { return streamoff(__lhs) != streamoff(__rhs); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef fpos<mbstate_t> streampos;
3777166:
3777166: typedef fpos<mbstate_t> wstreampos;
3777166: # 245 "/usr/include/c++/10/bits/postypes.h" 3
3777166: typedef fpos<mbstate_t> u16streampos;
3777166:
3777166: typedef fpos<mbstate_t> u32streampos;
3777166:
3777166:
3777166:
3777166: }
3777166: # 41 "/usr/include/c++/10/iosfwd" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 74 "/usr/include/c++/10/iosfwd" 3
3777166: class ios_base;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_ios;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_streambuf;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_istream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_ostream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_iostream;
3777166:
3777166:
3777166: namespace __cxx11 {
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT>,
3777166: typename _Alloc = allocator<_CharT> >
3777166: class basic_stringbuf;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT>,
3777166: typename _Alloc = allocator<_CharT> >
3777166: class basic_istringstream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT>,
3777166: typename _Alloc = allocator<_CharT> >
3777166: class basic_ostringstream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT>,
3777166: typename _Alloc = allocator<_CharT> >
3777166: class basic_stringstream;
3777166:
3777166: }
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_filebuf;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_ifstream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_ofstream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class basic_fstream;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class istreambuf_iterator;
3777166:
3777166: template<typename _CharT, typename _Traits = char_traits<_CharT> >
3777166: class ostreambuf_iterator;
3777166:
3777166:
3777166:
3777166: typedef basic_ios<char> ios;
3777166:
3777166:
3777166: typedef basic_streambuf<char> streambuf;
3777166:
3777166:
3777166: typedef basic_istream<char> istream;
3777166:
3777166:
3777166: typedef basic_ostream<char> ostream;
3777166:
3777166:
3777166: typedef basic_iostream<char> iostream;
3777166:
3777166:
3777166: typedef basic_stringbuf<char> stringbuf;
3777166:
3777166:
3777166: typedef basic_istringstream<char> istringstream;
3777166:
3777166:
3777166: typedef basic_ostringstream<char> ostringstream;
3777166:
3777166:
3777166: typedef basic_stringstream<char> stringstream;
3777166:
3777166:
3777166: typedef basic_filebuf<char> filebuf;
3777166:
3777166:
3777166: typedef basic_ifstream<char> ifstream;
3777166:
3777166:
3777166: typedef basic_ofstream<char> ofstream;
3777166:
3777166:
3777166: typedef basic_fstream<char> fstream;
3777166:
3777166:
3777166:
3777166: typedef basic_ios<wchar_t> wios;
3777166:
3777166:
3777166: typedef basic_streambuf<wchar_t> wstreambuf;
3777166:
3777166:
3777166: typedef basic_istream<wchar_t> wistream;
3777166:
3777166:
3777166: typedef basic_ostream<wchar_t> wostream;
3777166:
3777166:
3777166: typedef basic_iostream<wchar_t> wiostream;
3777166:
3777166:
3777166: typedef basic_stringbuf<wchar_t> wstringbuf;
3777166:
3777166:
3777166: typedef basic_istringstream<wchar_t> wistringstream;
3777166:
3777166:
3777166: typedef basic_ostringstream<wchar_t> wostringstream;
3777166:
3777166:
3777166: typedef basic_stringstream<wchar_t> wstringstream;
3777166:
3777166:
3777166: typedef basic_filebuf<wchar_t> wfilebuf;
3777166:
3777166:
3777166: typedef basic_ifstream<wchar_t> wifstream;
3777166:
3777166:
3777166: typedef basic_ofstream<wchar_t> wofstream;
3777166:
3777166:
3777166: typedef basic_fstream<wchar_t> wfstream;
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 75 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/ext/atomicity.h" 1 3
3777166: # 32 "/usr/include/c++/10/ext/atomicity.h" 3
3777166:
3777166: # 33 "/usr/include/c++/10/ext/atomicity.h" 3
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr.h" 1 3
3777166: # 30 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr.h" 3
3777166: #pragma GCC visibility push(default)
3777166: # 148 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr.h" 3
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 1 3
3777166: # 35 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: # 1 "/usr/include/pthread.h" 1 3 4
3777166: # 22 "/usr/include/pthread.h" 3 4
3777166: # 1 "/usr/include/sched.h" 1 3 4
3777166: # 25 "/usr/include/sched.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
3777166: # 27 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
3777166: # 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 1 3 4
3777166: # 29 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
3777166:
3777166:
3777166: typedef unsigned char __u_char;
3777166: typedef unsigned short int __u_short;
3777166: typedef unsigned int __u_int;
3777166: typedef unsigned long int __u_long;
3777166:
3777166:
3777166: typedef signed char __int8_t;
3777166: typedef unsigned char __uint8_t;
3777166: typedef signed short int __int16_t;
3777166: typedef unsigned short int __uint16_t;
3777166: typedef signed int __int32_t;
3777166: typedef unsigned int __uint32_t;
3777166:
3777166: typedef signed long int __int64_t;
3777166: typedef unsigned long int __uint64_t;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __int8_t __int_least8_t;
3777166: typedef __uint8_t __uint_least8_t;
3777166: typedef __int16_t __int_least16_t;
3777166: typedef __uint16_t __uint_least16_t;
3777166: typedef __int32_t __int_least32_t;
3777166: typedef __uint32_t __uint_least32_t;
3777166: typedef __int64_t __int_least64_t;
3777166: typedef __uint64_t __uint_least64_t;
3777166:
3777166:
3777166:
3777166: typedef long int __quad_t;
3777166: typedef unsigned long int __u_quad_t;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef long int __intmax_t;
3777166: typedef unsigned long int __uintmax_t;
3777166: # 141 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
3777166: # 142 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/time64.h" 1 3 4
3777166: # 143 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
3777166:
3777166:
3777166: typedef unsigned long int __dev_t;
3777166: typedef unsigned int __uid_t;
3777166: typedef unsigned int __gid_t;
3777166: typedef unsigned long int __ino_t;
3777166: typedef unsigned long int __ino64_t;
3777166: typedef unsigned int __mode_t;
3777166: typedef unsigned long int __nlink_t;
3777166: typedef long int __off_t;
3777166: typedef long int __off64_t;
3777166: typedef int __pid_t;
3777166: typedef struct { int __val[2]; } __fsid_t;
3777166: typedef long int __clock_t;
3777166: typedef unsigned long int __rlim_t;
3777166: typedef unsigned long int __rlim64_t;
3777166: typedef unsigned int __id_t;
3777166: typedef long int __time_t;
3777166: typedef unsigned int __useconds_t;
3777166: typedef long int __suseconds_t;
3777166:
3777166: typedef int __daddr_t;
3777166: typedef int __key_t;
3777166:
3777166:
3777166: typedef int __clockid_t;
3777166:
3777166:
3777166: typedef void * __timer_t;
3777166:
3777166:
3777166: typedef long int __blksize_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef long int __blkcnt_t;
3777166: typedef long int __blkcnt64_t;
3777166:
3777166:
3777166: typedef unsigned long int __fsblkcnt_t;
3777166: typedef unsigned long int __fsblkcnt64_t;
3777166:
3777166:
3777166: typedef unsigned long int __fsfilcnt_t;
3777166: typedef unsigned long int __fsfilcnt64_t;
3777166:
3777166:
3777166: typedef long int __fsword_t;
3777166:
3777166: typedef long int __ssize_t;
3777166:
3777166:
3777166: typedef long int __syscall_slong_t;
3777166:
3777166: typedef unsigned long int __syscall_ulong_t;
3777166:
3777166:
3777166:
3777166: typedef __off64_t __loff_t;
3777166: typedef char *__caddr_t;
3777166:
3777166:
3777166: typedef long int __intptr_t;
3777166:
3777166:
3777166: typedef unsigned int __socklen_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef int __sig_atomic_t;
3777166: # 26 "/usr/include/sched.h" 2 3 4
3777166:
3777166:
3777166:
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4
3777166: # 30 "/usr/include/sched.h" 2 3 4
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/time_t.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __time_t time_t;
3777166: # 32 "/usr/include/sched.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
3777166: # 35 "/usr/include/x86_64-linux-gnu/bits/endian.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/endianness.h" 1 3 4
3777166: # 36 "/usr/include/x86_64-linux-gnu/bits/endian.h" 2 3 4
3777166: # 7 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 2 3 4
3777166:
3777166:
3777166:
3777166: struct timespec
3777166: {
3777166: __time_t tv_sec;
3777166:
3777166:
3777166:
3777166: __syscall_slong_t tv_nsec;
3777166: # 26 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 3 4
3777166: };
3777166: # 33 "/usr/include/sched.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __pid_t pid_t;
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/sched.h" 1 3 4
3777166: # 76 "/usr/include/x86_64-linux-gnu/bits/sched.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h" 1 3 4
3777166: # 23 "/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h" 3 4
3777166: struct sched_param
3777166: {
3777166: int sched_priority;
3777166: };
3777166: # 77 "/usr/include/x86_64-linux-gnu/bits/sched.h" 2 3 4
3777166:
3777166: extern "C" {
3777166:
3777166:
3777166:
3777166: extern int clone (int (*__fn) (void *__arg), void *__child_stack,
3777166: int __flags, void *__arg, ...) throw ();
3777166:
3777166:
3777166: extern int unshare (int __flags) throw ();
3777166:
3777166:
3777166: extern int sched_getcpu (void) throw ();
3777166:
3777166:
3777166: extern int getcpu (unsigned int *, unsigned int *) throw ();
3777166:
3777166:
3777166: extern int setns (int __fd, int __nstype) throw ();
3777166:
3777166:
3777166: }
3777166: # 44 "/usr/include/sched.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/cpu-set.h" 1 3 4
3777166: # 32 "/usr/include/x86_64-linux-gnu/bits/cpu-set.h" 3 4
3777166: typedef unsigned long int __cpu_mask;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef struct
3777166: {
3777166: __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
3777166: } cpu_set_t;
3777166: # 115 "/usr/include/x86_64-linux-gnu/bits/cpu-set.h" 3 4
3777166: extern "C" {
3777166:
3777166: extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
3777166: throw ();
3777166: extern cpu_set_t *__sched_cpualloc (size_t __count) throw () __attribute__ ((__warn_unused_result__));
3777166: extern void __sched_cpufree (cpu_set_t *__set) throw ();
3777166:
3777166: }
3777166: # 45 "/usr/include/sched.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern "C" {
3777166:
3777166:
3777166: extern int sched_setparam (__pid_t __pid, const struct sched_param *__param)
3777166: throw ();
3777166:
3777166:
3777166: extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw ();
3777166:
3777166:
3777166: extern int sched_setscheduler (__pid_t __pid, int __policy,
3777166: const struct sched_param *__param) throw ();
3777166:
3777166:
3777166: extern int sched_getscheduler (__pid_t __pid) throw ();
3777166:
3777166:
3777166: extern int sched_yield (void) throw ();
3777166:
3777166:
3777166: extern int sched_get_priority_max (int __algorithm) throw ();
3777166:
3777166:
3777166: extern int sched_get_priority_min (int __algorithm) throw ();
3777166:
3777166:
3777166: extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw ();
3777166: # 121 "/usr/include/sched.h" 3 4
3777166: extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
3777166: const cpu_set_t *__cpuset) throw ();
3777166:
3777166:
3777166: extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
3777166: cpu_set_t *__cpuset) throw ();
3777166:
3777166:
3777166: }
3777166: # 23 "/usr/include/pthread.h" 2 3 4
3777166: # 1 "/usr/include/time.h" 1 3 4
3777166: # 29 "/usr/include/time.h" 3 4
3777166: # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4
3777166: # 30 "/usr/include/time.h" 2 3 4
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/time.h" 1 3 4
3777166: # 73 "/usr/include/x86_64-linux-gnu/bits/time.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/timex.h" 1 3 4
3777166: # 22 "/usr/include/x86_64-linux-gnu/bits/timex.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct timeval
3777166: {
3777166: __time_t tv_sec;
3777166: __suseconds_t tv_usec;
3777166: };
3777166: # 23 "/usr/include/x86_64-linux-gnu/bits/timex.h" 2 3 4
3777166:
3777166:
3777166:
3777166: struct timex
3777166: {
3777166: unsigned int modes;
3777166: __syscall_slong_t offset;
3777166: __syscall_slong_t freq;
3777166: __syscall_slong_t maxerror;
3777166: __syscall_slong_t esterror;
3777166: int status;
3777166: __syscall_slong_t constant;
3777166: __syscall_slong_t precision;
3777166: __syscall_slong_t tolerance;
3777166: struct timeval time;
3777166: __syscall_slong_t tick;
3777166: __syscall_slong_t ppsfreq;
3777166: __syscall_slong_t jitter;
3777166: int shift;
3777166: __syscall_slong_t stabil;
3777166: __syscall_slong_t jitcnt;
3777166: __syscall_slong_t calcnt;
3777166: __syscall_slong_t errcnt;
3777166: __syscall_slong_t stbcnt;
3777166:
3777166: int tai;
3777166:
3777166:
3777166: int :32; int :32; int :32; int :32;
3777166: int :32; int :32; int :32; int :32;
3777166: int :32; int :32; int :32;
3777166: };
3777166: # 74 "/usr/include/x86_64-linux-gnu/bits/time.h" 2 3 4
3777166:
3777166: extern "C" {
3777166:
3777166:
3777166: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw ();
3777166:
3777166: }
3777166: # 34 "/usr/include/time.h" 2 3 4
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/clock_t.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __clock_t clock_t;
3777166: # 38 "/usr/include/time.h" 2 3 4
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct tm
3777166: {
3777166: int tm_sec;
3777166: int tm_min;
3777166: int tm_hour;
3777166: int tm_mday;
3777166: int tm_mon;
3777166: int tm_year;
3777166: int tm_wday;
3777166: int tm_yday;
3777166: int tm_isdst;
3777166:
3777166:
3777166: long int tm_gmtoff;
3777166: const char *tm_zone;
3777166:
3777166:
3777166:
3777166:
3777166: };
3777166: # 40 "/usr/include/time.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __clockid_t clockid_t;
3777166: # 47 "/usr/include/time.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/timer_t.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef __timer_t timer_t;
3777166: # 48 "/usr/include/time.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h" 1 3 4
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct itimerspec
3777166: {
3777166: struct timespec it_interval;
3777166: struct timespec it_value;
3777166: };
3777166: # 49 "/usr/include/time.h" 2 3 4
3777166: struct sigevent;
3777166: # 68 "/usr/include/time.h" 3 4
3777166: extern "C" {
3777166:
3777166:
3777166:
3777166: extern clock_t clock (void) throw ();
3777166:
3777166:
3777166: extern time_t time (time_t *__timer) throw ();
3777166:
3777166:
3777166: extern double difftime (time_t __time1, time_t __time0)
3777166: throw () __attribute__ ((__const__));
3777166:
3777166:
3777166: extern time_t mktime (struct tm *__tp) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t strftime (char *__restrict __s, size_t __maxsize,
3777166: const char *__restrict __format,
3777166: const struct tm *__restrict __tp) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern char *strptime (const char *__restrict __s,
3777166: const char *__restrict __fmt, struct tm *__tp)
3777166: throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
3777166: const char *__restrict __format,
3777166: const struct tm *__restrict __tp,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166: extern char *strptime_l (const char *__restrict __s,
3777166: const char *__restrict __fmt, struct tm *__tp,
3777166: locale_t __loc) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern struct tm *gmtime (const time_t *__timer) throw ();
3777166:
3777166:
3777166:
3777166: extern struct tm *localtime (const time_t *__timer) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern struct tm *gmtime_r (const time_t *__restrict __timer,
3777166: struct tm *__restrict __tp) throw ();
3777166:
3777166:
3777166:
3777166: extern struct tm *localtime_r (const time_t *__restrict __timer,
3777166: struct tm *__restrict __tp) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern char *asctime (const struct tm *__tp) throw ();
3777166:
3777166:
3777166: extern char *ctime (const time_t *__timer) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern char *asctime_r (const struct tm *__restrict __tp,
3777166: char *__restrict __buf) throw ();
3777166:
3777166:
3777166: extern char *ctime_r (const time_t *__restrict __timer,
3777166: char *__restrict __buf) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern char *__tzname[2];
3777166: extern int __daylight;
3777166: extern long int __timezone;
3777166:
3777166:
3777166:
3777166:
3777166: extern char *tzname[2];
3777166:
3777166:
3777166:
3777166: extern void tzset (void) throw ();
3777166:
3777166:
3777166:
3777166: extern int daylight;
3777166: extern long int timezone;
3777166: # 190 "/usr/include/time.h" 3 4
3777166: extern time_t timegm (struct tm *__tp) throw ();
3777166:
3777166:
3777166: extern time_t timelocal (struct tm *__tp) throw ();
3777166:
3777166:
3777166: extern int dysize (int __year) throw () __attribute__ ((__const__));
3777166: # 205 "/usr/include/time.h" 3 4
3777166: extern int nanosleep (const struct timespec *__requested_time,
3777166: struct timespec *__remaining);
3777166:
3777166:
3777166:
3777166: extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw ();
3777166:
3777166:
3777166: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw ();
3777166:
3777166:
3777166: extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
3777166: throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int clock_nanosleep (clockid_t __clock_id, int __flags,
3777166: const struct timespec *__req,
3777166: struct timespec *__rem);
3777166:
3777166:
3777166: extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern int timer_create (clockid_t __clock_id,
3777166: struct sigevent *__restrict __evp,
3777166: timer_t *__restrict __timerid) throw ();
3777166:
3777166:
3777166: extern int timer_delete (timer_t __timerid) throw ();
3777166:
3777166:
3777166: extern int timer_settime (timer_t __timerid, int __flags,
3777166: const struct itimerspec *__restrict __value,
3777166: struct itimerspec *__restrict __ovalue) throw ();
3777166:
3777166:
3777166: extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
3777166: throw ();
3777166:
3777166:
3777166: extern int timer_getoverrun (timer_t __timerid) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int timespec_get (struct timespec *__ts, int __base)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166: # 274 "/usr/include/time.h" 3 4
3777166: extern int getdate_err;
3777166: # 283 "/usr/include/time.h" 3 4
3777166: extern struct tm *getdate (const char *__string);
3777166: # 297 "/usr/include/time.h" 3 4
3777166: extern int getdate_r (const char *__restrict __string,
3777166: struct tm *__restrict __resbufp);
3777166:
3777166:
3777166: }
3777166: # 24 "/usr/include/pthread.h" 2 3 4
3777166:
3777166:
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 1 3 4
3777166: # 23 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 1 3 4
3777166: # 44 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
3777166: # 21 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
3777166: # 22 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 2 3 4
3777166: # 45 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166: typedef struct __pthread_internal_list
3777166: {
3777166: struct __pthread_internal_list *__prev;
3777166: struct __pthread_internal_list *__next;
3777166: } __pthread_list_t;
3777166:
3777166: typedef struct __pthread_internal_slist
3777166: {
3777166: struct __pthread_internal_slist *__next;
3777166: } __pthread_slist_t;
3777166: # 74 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 1 3 4
3777166: # 22 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
3777166: struct __pthread_mutex_s
3777166: {
3777166: int __lock;
3777166: unsigned int __count;
3777166: int __owner;
3777166:
3777166: unsigned int __nusers;
3777166:
3777166:
3777166:
3777166: int __kind;
3777166:
3777166: short __spins;
3777166: short __elision;
3777166: __pthread_list_t __list;
3777166: # 53 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
3777166: };
3777166: # 75 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
3777166: # 87 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 1 3 4
3777166: # 23 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
3777166: struct __pthread_rwlock_arch_t
3777166: {
3777166: unsigned int __readers;
3777166: unsigned int __writers;
3777166: unsigned int __wrphase_futex;
3777166: unsigned int __writers_futex;
3777166: unsigned int __pad3;
3777166: unsigned int __pad4;
3777166:
3777166: int __cur_writer;
3777166: int __shared;
3777166: signed char __rwelision;
3777166:
3777166:
3777166:
3777166:
3777166: unsigned char __pad1[7];
3777166:
3777166:
3777166: unsigned long int __pad2;
3777166:
3777166:
3777166: unsigned int __flags;
3777166: # 55 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
3777166: };
3777166: # 88 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166: struct __pthread_cond_s
3777166: {
3777166: __extension__ union
3777166: {
3777166: __extension__ unsigned long long int __wseq;
3777166: struct
3777166: {
3777166: unsigned int __low;
3777166: unsigned int __high;
3777166: } __wseq32;
3777166: };
3777166: __extension__ union
3777166: {
3777166: __extension__ unsigned long long int __g1_start;
3777166: struct
3777166: {
3777166: unsigned int __low;
3777166: unsigned int __high;
3777166: } __g1_start32;
3777166: };
3777166: unsigned int __g_refs[2] ;
3777166: unsigned int __g_size[2];
3777166: unsigned int __g1_orig_size;
3777166: unsigned int __wrefs;
3777166: unsigned int __g_signals[2];
3777166: };
3777166: # 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
3777166:
3777166:
3777166:
3777166: typedef unsigned long int pthread_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: char __size[4];
3777166: int __align;
3777166: } pthread_mutexattr_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: char __size[4];
3777166: int __align;
3777166: } pthread_condattr_t;
3777166:
3777166:
3777166:
3777166: typedef unsigned int pthread_key_t;
3777166:
3777166:
3777166:
3777166: typedef int pthread_once_t;
3777166:
3777166:
3777166: union pthread_attr_t
3777166: {
3777166: char __size[56];
3777166: long int __align;
3777166: };
3777166:
3777166: typedef union pthread_attr_t pthread_attr_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: struct __pthread_mutex_s __data;
3777166: char __size[40];
3777166: long int __align;
3777166: } pthread_mutex_t;
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: struct __pthread_cond_s __data;
3777166: char __size[48];
3777166: __extension__ long long int __align;
3777166: } pthread_cond_t;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: struct __pthread_rwlock_arch_t __data;
3777166: char __size[56];
3777166: long int __align;
3777166: } pthread_rwlock_t;
3777166:
3777166: typedef union
3777166: {
3777166: char __size[8];
3777166: long int __align;
3777166: } pthread_rwlockattr_t;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: typedef volatile int pthread_spinlock_t;
3777166:
3777166:
3777166:
3777166:
3777166: typedef union
3777166: {
3777166: char __size[32];
3777166: long int __align;
3777166: } pthread_barrier_t;
3777166:
3777166: typedef union
3777166: {
3777166: char __size[4];
3777166: int __align;
3777166: } pthread_barrierattr_t;
3777166: # 27 "/usr/include/pthread.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 1 3 4
3777166: # 26 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
3777166: # 27 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166: typedef long int __jmp_buf[8];
3777166: # 28 "/usr/include/pthread.h" 2 3 4
3777166: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
3777166: # 29 "/usr/include/pthread.h" 2 3 4
3777166:
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_CREATE_JOINABLE,
3777166:
3777166: PTHREAD_CREATE_DETACHED
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_MUTEX_TIMED_NP,
3777166: PTHREAD_MUTEX_RECURSIVE_NP,
3777166: PTHREAD_MUTEX_ERRORCHECK_NP,
3777166: PTHREAD_MUTEX_ADAPTIVE_NP
3777166:
3777166: ,
3777166: PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
3777166: PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
3777166: PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
3777166: PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
3777166:
3777166:
3777166:
3777166: , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_MUTEX_STALLED,
3777166: PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
3777166: PTHREAD_MUTEX_ROBUST,
3777166: PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_PRIO_NONE,
3777166: PTHREAD_PRIO_INHERIT,
3777166: PTHREAD_PRIO_PROTECT
3777166: };
3777166: # 100 "/usr/include/pthread.h" 3 4
3777166: enum
3777166: {
3777166: PTHREAD_RWLOCK_PREFER_READER_NP,
3777166: PTHREAD_RWLOCK_PREFER_WRITER_NP,
3777166: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
3777166: PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
3777166: };
3777166: # 120 "/usr/include/pthread.h" 3 4
3777166: enum
3777166: {
3777166: PTHREAD_INHERIT_SCHED,
3777166:
3777166: PTHREAD_EXPLICIT_SCHED
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_SCOPE_SYSTEM,
3777166:
3777166: PTHREAD_SCOPE_PROCESS
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_PROCESS_PRIVATE,
3777166:
3777166: PTHREAD_PROCESS_SHARED
3777166:
3777166: };
3777166: # 155 "/usr/include/pthread.h" 3 4
3777166: struct _pthread_cleanup_buffer
3777166: {
3777166: void (*__routine) (void *);
3777166: void *__arg;
3777166: int __canceltype;
3777166: struct _pthread_cleanup_buffer *__prev;
3777166: };
3777166:
3777166:
3777166: enum
3777166: {
3777166: PTHREAD_CANCEL_ENABLE,
3777166:
3777166: PTHREAD_CANCEL_DISABLE
3777166:
3777166: };
3777166: enum
3777166: {
3777166: PTHREAD_CANCEL_DEFERRED,
3777166:
3777166: PTHREAD_CANCEL_ASYNCHRONOUS
3777166:
3777166: };
3777166: # 193 "/usr/include/pthread.h" 3 4
3777166: extern "C" {
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_create (pthread_t *__restrict __newthread,
3777166: const pthread_attr_t *__restrict __attr,
3777166: void *(*__start_routine) (void *),
3777166: void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_join (pthread_t __th, void **__thread_return);
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
3777166: const struct timespec *__abstime);
3777166: # 238 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return,
3777166: clockid_t __clockid,
3777166: const struct timespec *__abstime);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_detach (pthread_t __th) throw ();
3777166:
3777166:
3777166:
3777166: extern pthread_t pthread_self (void) throw () __attribute__ ((__const__));
3777166:
3777166:
3777166: extern int pthread_equal (pthread_t __thread1, pthread_t __thread2)
3777166: throw () __attribute__ ((__const__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_attr_destroy (pthread_attr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr,
3777166: int *__detachstate)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
3777166: int __detachstate)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_getguardsize (const pthread_attr_t *__attr,
3777166: size_t *__guardsize)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
3777166: size_t __guardsize)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr,
3777166: struct sched_param *__restrict __param)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
3777166: const struct sched_param *__restrict
3777166: __param) throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict
3777166: __attr, int *__restrict __policy)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict
3777166: __attr, int *__restrict __inherit)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
3777166: int __inherit)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr,
3777166: int *__restrict __scope)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict
3777166: __attr, void **__restrict __stackaddr)
3777166: throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
3777166: void *__stackaddr)
3777166: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
3777166:
3777166:
3777166: extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict
3777166: __attr, size_t *__restrict __stacksize)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
3777166: size_t __stacksize)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr,
3777166: void **__restrict __stackaddr,
3777166: size_t *__restrict __stacksize)
3777166: throw () __attribute__ ((__nonnull__ (1, 2, 3)));
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
3777166: size_t __stacksize) throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
3777166: size_t __cpusetsize,
3777166: const cpu_set_t *__cpuset)
3777166: throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166: extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr,
3777166: size_t __cpusetsize,
3777166: cpu_set_t *__cpuset)
3777166: throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166: extern int pthread_getattr_default_np (pthread_attr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_setattr_default_np (const pthread_attr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (2)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
3777166: const struct sched_param *__param)
3777166: throw () __attribute__ ((__nonnull__ (3)));
3777166:
3777166:
3777166: extern int pthread_getschedparam (pthread_t __target_thread,
3777166: int *__restrict __policy,
3777166: struct sched_param *__restrict __param)
3777166: throw () __attribute__ ((__nonnull__ (2, 3)));
3777166:
3777166:
3777166: extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
3777166: throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_getname_np (pthread_t __target_thread, char *__buf,
3777166: size_t __buflen)
3777166: throw () __attribute__ ((__nonnull__ (2)));
3777166:
3777166:
3777166: extern int pthread_setname_np (pthread_t __target_thread, const char *__name)
3777166: throw () __attribute__ ((__nonnull__ (2)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_getconcurrency (void) throw ();
3777166:
3777166:
3777166: extern int pthread_setconcurrency (int __level) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_yield (void) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
3777166: const cpu_set_t *__cpuset)
3777166: throw () __attribute__ ((__nonnull__ (3)));
3777166:
3777166:
3777166: extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
3777166: cpu_set_t *__cpuset)
3777166: throw () __attribute__ ((__nonnull__ (3)));
3777166: # 470 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_once (pthread_once_t *__once_control,
3777166: void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
3777166: # 482 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_setcancelstate (int __state, int *__oldstate);
3777166:
3777166:
3777166:
3777166: extern int pthread_setcanceltype (int __type, int *__oldtype);
3777166:
3777166:
3777166: extern int pthread_cancel (pthread_t __th);
3777166:
3777166:
3777166:
3777166:
3777166: extern void pthread_testcancel (void);
3777166:
3777166:
3777166:
3777166:
3777166: typedef struct
3777166: {
3777166: struct
3777166: {
3777166: __jmp_buf __cancel_jmp_buf;
3777166: int __mask_was_saved;
3777166: } __cancel_jmp_buf[1];
3777166: void *__pad[4];
3777166: } __pthread_unwind_buf_t __attribute__ ((__aligned__));
3777166: # 516 "/usr/include/pthread.h" 3 4
3777166: struct __pthread_cleanup_frame
3777166: {
3777166: void (*__cancel_routine) (void *);
3777166: void *__cancel_arg;
3777166: int __do_it;
3777166: int __cancel_type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: class __pthread_cleanup_class
3777166: {
3777166: void (*__cancel_routine) (void *);
3777166: void *__cancel_arg;
3777166: int __do_it;
3777166: int __cancel_type;
3777166:
3777166: public:
3777166: __pthread_cleanup_class (void (*__fct) (void *), void *__arg)
3777166: : __cancel_routine (__fct), __cancel_arg (__arg), __do_it (1) { }
3777166: ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); }
3777166: void __setdoit (int __newval) { __do_it = __newval; }
3777166: void __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED,
3777166: &__cancel_type); }
3777166: void __restore () const { pthread_setcanceltype (__cancel_type, 0); }
3777166: };
3777166: # 718 "/usr/include/pthread.h" 3 4
3777166: struct __jmp_buf_tag;
3777166: extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw ();
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_init (pthread_mutex_t *__mutex,
3777166: const pthread_mutexattr_t *__mutexattr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_clocklock (pthread_mutex_t *__restrict __mutex,
3777166: clockid_t __clockid,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_getprioceiling (const pthread_mutex_t *
3777166: __restrict __mutex,
3777166: int *__restrict __prioceiling)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
3777166: int __prioceiling,
3777166: int *__restrict __old_ceiling)
3777166: throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166: extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166: # 789 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
3777166: int __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict
3777166: __attr, int *__restrict __kind)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __protocol)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
3777166: int __protocol)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __prioceiling)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
3777166: int __prioceiling)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr,
3777166: int *__robustness)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166: extern int pthread_mutexattr_getrobust_np (const pthread_mutexattr_t *__attr,
3777166: int *__robustness)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
3777166: int __robustness)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166: extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
3777166: int __robustness)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166: # 871 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
3777166: const pthread_rwlockattr_t *__restrict
3777166: __attr) throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_clockrdlock (pthread_rwlock_t *__restrict __rwlock,
3777166: clockid_t __clockid,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_clockwrlock (pthread_rwlock_t *__restrict __rwlock,
3777166: clockid_t __clockid,
3777166: const struct timespec *__restrict
3777166: __abstime) throw () __attribute__ ((__nonnull__ (1, 3)));
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
3777166: int __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __pref)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
3777166: int __pref) throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
3777166: const pthread_condattr_t *__restrict __cond_attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_cond_destroy (pthread_cond_t *__cond)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_cond_signal (pthread_cond_t *__cond)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_cond_broadcast (pthread_cond_t *__cond)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
3777166: pthread_mutex_t *__restrict __mutex)
3777166: __attribute__ ((__nonnull__ (1, 2)));
3777166: # 997 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
3777166: pthread_mutex_t *__restrict __mutex,
3777166: const struct timespec *__restrict __abstime)
3777166: __attribute__ ((__nonnull__ (1, 2, 3)));
3777166: # 1010 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_cond_clockwait (pthread_cond_t *__restrict __cond,
3777166: pthread_mutex_t *__restrict __mutex,
3777166: __clockid_t __clock_id,
3777166: const struct timespec *__restrict __abstime)
3777166: __attribute__ ((__nonnull__ (1, 2, 4)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_condattr_init (pthread_condattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_condattr_getpshared (const pthread_condattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
3777166: int __pshared) throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_condattr_getclock (const pthread_condattr_t *
3777166: __restrict __attr,
3777166: __clockid_t *__restrict __clock_id)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
3777166: __clockid_t __clock_id)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166: # 1056 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_spin_lock (pthread_spinlock_t *__lock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
3777166: const pthread_barrierattr_t *__restrict
3777166: __attr, unsigned int __count)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166:
3777166: extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t *
3777166: __restrict __attr,
3777166: int *__restrict __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1, 2)));
3777166:
3777166:
3777166: extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
3777166: int __pshared)
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166: # 1123 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_key_create (pthread_key_t *__key,
3777166: void (*__destr_function) (void *))
3777166: throw () __attribute__ ((__nonnull__ (1)));
3777166:
3777166:
3777166: extern int pthread_key_delete (pthread_key_t __key) throw ();
3777166:
3777166:
3777166: extern void *pthread_getspecific (pthread_key_t __key) throw ();
3777166:
3777166:
3777166: extern int pthread_setspecific (pthread_key_t __key,
3777166: const void *__pointer) throw () ;
3777166:
3777166:
3777166:
3777166:
3777166: extern int pthread_getcpuclockid (pthread_t __thread_id,
3777166: __clockid_t *__clock_id)
3777166: throw () __attribute__ ((__nonnull__ (2)));
3777166: # 1157 "/usr/include/pthread.h" 3 4
3777166: extern int pthread_atfork (void (*__prepare) (void),
3777166: void (*__parent) (void),
3777166: void (*__child) (void)) throw ();
3777166:
3777166:
3777166:
3777166:
3777166: extern __inline __attribute__ ((__gnu_inline__)) int
3777166: __attribute__ ((__leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) throw ()
3777166: {
3777166: return __thread1 == __thread2;
3777166: }
3777166:
3777166:
3777166: }
3777166: # 36 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 2 3
3777166: # 47 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: typedef pthread_t __gthread_t;
3777166: typedef pthread_key_t __gthread_key_t;
3777166: typedef pthread_once_t __gthread_once_t;
3777166: typedef pthread_mutex_t __gthread_mutex_t;
3777166: typedef pthread_mutex_t __gthread_recursive_mutex_t;
3777166: typedef pthread_cond_t __gthread_cond_t;
3777166: typedef struct timespec __gthread_time_t;
3777166: # 102 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"), __copy__ (pthread_once)));
3777166: static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific"), __copy__ (pthread_getspecific)));
3777166: static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific"), __copy__ (pthread_setspecific)));
3777166:
3777166: static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create"), __copy__ (pthread_create)));
3777166: static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join"), __copy__ (pthread_join)));
3777166: static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal"), __copy__ (pthread_equal)));
3777166: static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self"), __copy__ (pthread_self)));
3777166: static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach"), __copy__ (pthread_detach)));
3777166:
3777166: static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel"), __copy__ (pthread_cancel)));
3777166:
3777166: static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield"), __copy__ (sched_yield)));
3777166:
3777166: static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock"), __copy__ (pthread_mutex_lock)));
3777166: static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock"), __copy__ (pthread_mutex_trylock)));
3777166:
3777166: static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock"), __copy__ (pthread_mutex_timedlock)));
3777166:
3777166: static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock"), __copy__ (pthread_mutex_unlock)));
3777166: static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init"), __copy__ (pthread_mutex_init)));
3777166: static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy"), __copy__ (pthread_mutex_destroy)));
3777166:
3777166: static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init"), __copy__ (pthread_cond_init)));
3777166: static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast"), __copy__ (pthread_cond_broadcast)));
3777166: static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal"), __copy__ (pthread_cond_signal)));
3777166: static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait"), __copy__ (pthread_cond_wait)));
3777166: static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait"), __copy__ (pthread_cond_timedwait)));
3777166: static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy"), __copy__ (pthread_cond_destroy)));
3777166:
3777166: static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create"), __copy__ (pthread_key_create)));
3777166: static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete"), __copy__ (pthread_key_delete)));
3777166: static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init"), __copy__ (pthread_mutexattr_init)));
3777166: static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype"), __copy__ (pthread_mutexattr_settype)));
3777166: static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy"), __copy__ (pthread_mutexattr_destroy)));
3777166: # 237 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static __typeof(pthread_key_create) __gthrw___pthread_key_create __attribute__ ((__weakref__("__pthread_key_create"), __copy__ (pthread_key_create)));
3777166: # 247 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static inline int
3777166: __gthread_active_p (void)
3777166: {
3777166: static void *const __gthread_active_ptr
3777166: = __extension__ (void *) &__gthrw___pthread_key_create;
3777166: return __gthread_active_ptr != 0;
3777166: }
3777166: # 659 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static inline int
3777166: __gthread_create (__gthread_t *__threadid, void *(*__func) (void*),
3777166: void *__args)
3777166: {
3777166: return __gthrw_pthread_create (__threadid, __null, __func, __args);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_join (__gthread_t __threadid, void **__value_ptr)
3777166: {
3777166: return __gthrw_pthread_join (__threadid, __value_ptr);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_detach (__gthread_t __threadid)
3777166: {
3777166: return __gthrw_pthread_detach (__threadid);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_equal (__gthread_t __t1, __gthread_t __t2)
3777166: {
3777166: return __gthrw_pthread_equal (__t1, __t2);
3777166: }
3777166:
3777166: static inline __gthread_t
3777166: __gthread_self (void)
3777166: {
3777166: return __gthrw_pthread_self ();
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_yield (void)
3777166: {
3777166: return __gthrw_sched_yield ();
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_once (__gthread_once_t *__once, void (*__func) (void))
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_once (__once, __func);
3777166: else
3777166: return -1;
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *))
3777166: {
3777166: return __gthrw_pthread_key_create (__key, __dtor);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_key_delete (__gthread_key_t __key)
3777166: {
3777166: return __gthrw_pthread_key_delete (__key);
3777166: }
3777166:
3777166: static inline void *
3777166: __gthread_getspecific (__gthread_key_t __key)
3777166: {
3777166: return __gthrw_pthread_getspecific (__key);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_setspecific (__gthread_key_t __key, const void *__ptr)
3777166: {
3777166: return __gthrw_pthread_setspecific (__key, __ptr);
3777166: }
3777166:
3777166: static inline void
3777166: __gthread_mutex_init_function (__gthread_mutex_t *__mutex)
3777166: {
3777166: if (__gthread_active_p ())
3777166: __gthrw_pthread_mutex_init (__mutex, __null);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_mutex_destroy (__gthread_mutex_t *__mutex)
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_mutex_destroy (__mutex);
3777166: else
3777166: return 0;
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_mutex_lock (__gthread_mutex_t *__mutex)
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_mutex_lock (__mutex);
3777166: else
3777166: return 0;
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_mutex_trylock (__gthread_mutex_t *__mutex)
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_mutex_trylock (__mutex);
3777166: else
3777166: return 0;
3777166: }
3777166:
3777166:
3777166: static inline int
3777166: __gthread_mutex_timedlock (__gthread_mutex_t *__mutex,
3777166: const __gthread_time_t *__abs_timeout)
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout);
3777166: else
3777166: return 0;
3777166: }
3777166:
3777166:
3777166: static inline int
3777166: __gthread_mutex_unlock (__gthread_mutex_t *__mutex)
3777166: {
3777166: if (__gthread_active_p ())
3777166: return __gthrw_pthread_mutex_unlock (__mutex);
3777166: else
3777166: return 0;
3777166: }
3777166: # 808 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static inline int
3777166: __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
3777166: {
3777166: return __gthread_mutex_lock (__mutex);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
3777166: {
3777166: return __gthread_mutex_trylock (__mutex);
3777166: }
3777166:
3777166:
3777166: static inline int
3777166: __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex,
3777166: const __gthread_time_t *__abs_timeout)
3777166: {
3777166: return __gthread_mutex_timedlock (__mutex, __abs_timeout);
3777166: }
3777166:
3777166:
3777166: static inline int
3777166: __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
3777166: {
3777166: return __gthread_mutex_unlock (__mutex);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
3777166: {
3777166: return __gthread_mutex_destroy (__mutex);
3777166: }
3777166: # 850 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr-default.h" 3
3777166: static inline int
3777166: __gthread_cond_broadcast (__gthread_cond_t *__cond)
3777166: {
3777166: return __gthrw_pthread_cond_broadcast (__cond);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_cond_signal (__gthread_cond_t *__cond)
3777166: {
3777166: return __gthrw_pthread_cond_signal (__cond);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex)
3777166: {
3777166: return __gthrw_pthread_cond_wait (__cond, __mutex);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex,
3777166: const __gthread_time_t *__abs_timeout)
3777166: {
3777166: return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_cond_wait_recursive (__gthread_cond_t *__cond,
3777166: __gthread_recursive_mutex_t *__mutex)
3777166: {
3777166: return __gthread_cond_wait (__cond, __mutex);
3777166: }
3777166:
3777166: static inline int
3777166: __gthread_cond_destroy (__gthread_cond_t* __cond)
3777166: {
3777166: return __gthrw_pthread_cond_destroy (__cond);
3777166: }
3777166: # 149 "/usr/include/x86_64-linux-gnu/c++/10/bits/gthr.h" 2 3
3777166:
3777166:
3777166: #pragma GCC visibility pop
3777166: # 36 "/usr/include/c++/10/ext/atomicity.h" 2 3
3777166: # 1 "/usr/include/x86_64-linux-gnu/c++/10/bits/atomic_word.h" 1 3
3777166: # 32 "/usr/include/x86_64-linux-gnu/c++/10/bits/atomic_word.h" 3
3777166: typedef int _Atomic_word;
3777166: # 37 "/usr/include/c++/10/ext/atomicity.h" 2 3
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: inline _Atomic_word
3777166: __attribute__((__always_inline__))
3777166: __exchange_and_add(volatile _Atomic_word* __mem, int __val)
3777166: { return __atomic_fetch_add(__mem, __val, 4); }
3777166:
3777166: inline void
3777166: __attribute__((__always_inline__))
3777166: __atomic_add(volatile _Atomic_word* __mem, int __val)
3777166: { __atomic_fetch_add(__mem, __val, 4); }
3777166: # 64 "/usr/include/c++/10/ext/atomicity.h" 3
3777166: inline _Atomic_word
3777166: __attribute__((__always_inline__))
3777166: __exchange_and_add_single(_Atomic_word* __mem, int __val)
3777166: {
3777166: _Atomic_word __result = *__mem;
3777166: *__mem += __val;
3777166: return __result;
3777166: }
3777166:
3777166: inline void
3777166: __attribute__((__always_inline__))
3777166: __atomic_add_single(_Atomic_word* __mem, int __val)
3777166: { *__mem += __val; }
3777166:
3777166: inline _Atomic_word
3777166: __attribute__ ((__always_inline__))
3777166: __exchange_and_add_dispatch(_Atomic_word* __mem, int __val)
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: return __exchange_and_add(__mem, __val);
3777166:
3777166: return __exchange_and_add_single(__mem, __val);
3777166: }
3777166:
3777166: inline void
3777166: __attribute__ ((__always_inline__))
3777166: __atomic_add_dispatch(_Atomic_word* __mem, int __val)
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: __atomic_add(__mem, __val);
3777166: return;
3777166: }
3777166:
3777166: __atomic_add_single(__mem, __val);
3777166: }
3777166:
3777166:
3777166: }
3777166: # 76 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/ext/concurrence.h" 1 3
3777166: # 32 "/usr/include/c++/10/ext/concurrence.h" 3
3777166:
3777166: # 33 "/usr/include/c++/10/ext/concurrence.h" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace __gnu_cxx __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: enum _Lock_policy { _S_single, _S_mutex, _S_atomic };
3777166:
3777166:
3777166:
3777166: static const _Lock_policy __default_lock_policy =
3777166:
3777166:
3777166:
3777166: _S_atomic;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: class __concurrence_lock_error : public std::exception
3777166: {
3777166: public:
3777166: virtual char const*
3777166: what() const throw()
3777166: { return "__gnu_cxx::__concurrence_lock_error"; }
3777166: };
3777166:
3777166: class __concurrence_unlock_error : public std::exception
3777166: {
3777166: public:
3777166: virtual char const*
3777166: what() const throw()
3777166: { return "__gnu_cxx::__concurrence_unlock_error"; }
3777166: };
3777166:
3777166: class __concurrence_broadcast_error : public std::exception
3777166: {
3777166: public:
3777166: virtual char const*
3777166: what() const throw()
3777166: { return "__gnu_cxx::__concurrence_broadcast_error"; }
3777166: };
3777166:
3777166: class __concurrence_wait_error : public std::exception
3777166: {
3777166: public:
3777166: virtual char const*
3777166: what() const throw()
3777166: { return "__gnu_cxx::__concurrence_wait_error"; }
3777166: };
3777166:
3777166:
3777166: inline void
3777166: __throw_concurrence_lock_error()
3777166: { (throw (__concurrence_lock_error())); }
3777166:
3777166: inline void
3777166: __throw_concurrence_unlock_error()
3777166: { (throw (__concurrence_unlock_error())); }
3777166:
3777166:
3777166: inline void
3777166: __throw_concurrence_broadcast_error()
3777166: { (throw (__concurrence_broadcast_error())); }
3777166:
3777166: inline void
3777166: __throw_concurrence_wait_error()
3777166: { (throw (__concurrence_wait_error())); }
3777166:
3777166:
3777166: class __mutex
3777166: {
3777166: private:
3777166:
3777166: __gthread_mutex_t _M_mutex = { { 0, 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, 0, { 0, 0 } } };
3777166:
3777166:
3777166:
3777166:
3777166: __mutex(const __mutex&);
3777166: __mutex& operator=(const __mutex&);
3777166:
3777166: public:
3777166: __mutex()
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 144 "/usr/include/c++/10/ext/concurrence.h" 3
3777166: void lock()
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: if (__gthread_mutex_lock(&_M_mutex) != 0)
3777166: __throw_concurrence_lock_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: void unlock()
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: if (__gthread_mutex_unlock(&_M_mutex) != 0)
3777166: __throw_concurrence_unlock_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: __gthread_mutex_t* gthread_mutex(void)
3777166: { return &_M_mutex; }
3777166: };
3777166:
3777166: class __recursive_mutex
3777166: {
3777166: private:
3777166:
3777166: __gthread_recursive_mutex_t _M_mutex = { { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, 0, { 0, 0 } } };
3777166:
3777166:
3777166:
3777166:
3777166: __recursive_mutex(const __recursive_mutex&);
3777166: __recursive_mutex& operator=(const __recursive_mutex&);
3777166:
3777166: public:
3777166: __recursive_mutex()
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 199 "/usr/include/c++/10/ext/concurrence.h" 3
3777166: void lock()
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: if (__gthread_recursive_mutex_lock(&_M_mutex) != 0)
3777166: __throw_concurrence_lock_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: void unlock()
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: if (__gthread_recursive_mutex_unlock(&_M_mutex) != 0)
3777166: __throw_concurrence_unlock_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: __gthread_recursive_mutex_t* gthread_recursive_mutex(void)
3777166: { return &_M_mutex; }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: class __scoped_lock
3777166: {
3777166: public:
3777166: typedef __mutex __mutex_type;
3777166:
3777166: private:
3777166: __mutex_type& _M_device;
3777166:
3777166: __scoped_lock(const __scoped_lock&);
3777166: __scoped_lock& operator=(const __scoped_lock&);
3777166:
3777166: public:
3777166: explicit __scoped_lock(__mutex_type& __name) : _M_device(__name)
3777166: { _M_device.lock(); }
3777166:
3777166: ~__scoped_lock() throw()
3777166: { _M_device.unlock(); }
3777166: };
3777166:
3777166:
3777166: class __cond
3777166: {
3777166: private:
3777166:
3777166: __gthread_cond_t _M_cond = { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } };
3777166:
3777166:
3777166:
3777166:
3777166: __cond(const __cond&);
3777166: __cond& operator=(const __cond&);
3777166:
3777166: public:
3777166: __cond()
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 277 "/usr/include/c++/10/ext/concurrence.h" 3
3777166: void broadcast()
3777166: {
3777166:
3777166: if (__gthread_active_p())
3777166: {
3777166: if (__gthread_cond_broadcast(&_M_cond) != 0)
3777166: __throw_concurrence_broadcast_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: void wait(__mutex *mutex)
3777166: {
3777166:
3777166: {
3777166: if (__gthread_cond_wait(&_M_cond, mutex->gthread_mutex()) != 0)
3777166: __throw_concurrence_wait_error();
3777166: }
3777166:
3777166: }
3777166:
3777166: void wait_recursive(__recursive_mutex *mutex)
3777166: {
3777166:
3777166: {
3777166: if (__gthread_cond_wait_recursive(&_M_cond,
3777166: mutex->gthread_recursive_mutex())
3777166: != 0)
3777166: __throw_concurrence_wait_error();
3777166: }
3777166:
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: }
3777166: # 77 "/usr/include/c++/10/memory" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/stl_function.h" 1 3
3777166: # 63 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 104 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Arg, typename _Result>
3777166: struct unary_function
3777166: {
3777166:
3777166: typedef _Arg argument_type;
3777166:
3777166:
3777166: typedef _Result result_type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Arg1, typename _Arg2, typename _Result>
3777166: struct binary_function
3777166: {
3777166:
3777166: typedef _Arg1 first_argument_type;
3777166:
3777166:
3777166: typedef _Arg2 second_argument_type;
3777166:
3777166:
3777166: typedef _Result result_type;
3777166: };
3777166: # 144 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: struct __is_transparent;
3777166:
3777166: template<typename _Tp = void>
3777166: struct plus;
3777166:
3777166: template<typename _Tp = void>
3777166: struct minus;
3777166:
3777166: template<typename _Tp = void>
3777166: struct multiplies;
3777166:
3777166: template<typename _Tp = void>
3777166: struct divides;
3777166:
3777166: template<typename _Tp = void>
3777166: struct modulus;
3777166:
3777166: template<typename _Tp = void>
3777166: struct negate;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct plus : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x + __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct minus : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x - __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct multiplies : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x * __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct divides : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x / __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct modulus : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x % __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct negate : public unary_function<_Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x) const
3777166: { return -__x; }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct plus<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) + std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) + std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) + std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct minus<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) - std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) - std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) - std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct multiplies<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) * std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) * std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) * std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct divides<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) / std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) / std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) / std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct modulus<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) % std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) % std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) % std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct negate<void>
3777166: {
3777166: template <typename _Tp>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t) const
3777166: noexcept(noexcept(-std::forward<_Tp>(__t)))
3777166: -> decltype(-std::forward<_Tp>(__t))
3777166: { return -std::forward<_Tp>(__t); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166: # 330 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Tp = void>
3777166: struct equal_to;
3777166:
3777166: template<typename _Tp = void>
3777166: struct not_equal_to;
3777166:
3777166: template<typename _Tp = void>
3777166: struct greater;
3777166:
3777166: template<typename _Tp = void>
3777166: struct less;
3777166:
3777166: template<typename _Tp = void>
3777166: struct greater_equal;
3777166:
3777166: template<typename _Tp = void>
3777166: struct less_equal;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct equal_to : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x == __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct not_equal_to : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x != __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct greater : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x > __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct less : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x < __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct greater_equal : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x >= __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct less_equal : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x <= __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct greater<_Tp*> : public binary_function<_Tp*, _Tp*, bool>
3777166: {
3777166: constexpr bool
3777166: operator()(_Tp* __x, _Tp* __y) const noexcept
3777166: {
3777166:
3777166:
3777166: if (__builtin_is_constant_evaluated())
3777166:
3777166:
3777166:
3777166: return __x > __y;
3777166:
3777166: return (long unsigned int)__x > (long unsigned int)__y;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct less<_Tp*> : public binary_function<_Tp*, _Tp*, bool>
3777166: {
3777166: constexpr bool
3777166: operator()(_Tp* __x, _Tp* __y) const noexcept
3777166: {
3777166:
3777166:
3777166: if (__builtin_is_constant_evaluated())
3777166:
3777166:
3777166:
3777166: return __x < __y;
3777166:
3777166: return (long unsigned int)__x < (long unsigned int)__y;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct greater_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool>
3777166: {
3777166: constexpr bool
3777166: operator()(_Tp* __x, _Tp* __y) const noexcept
3777166: {
3777166:
3777166:
3777166: if (__builtin_is_constant_evaluated())
3777166:
3777166:
3777166:
3777166: return __x >= __y;
3777166:
3777166: return (long unsigned int)__x >= (long unsigned int)__y;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct less_equal<_Tp*> : public binary_function<_Tp*, _Tp*, bool>
3777166: {
3777166: constexpr bool
3777166: operator()(_Tp* __x, _Tp* __y) const noexcept
3777166: {
3777166:
3777166:
3777166: if (__builtin_is_constant_evaluated())
3777166:
3777166:
3777166:
3777166: return __x <= __y;
3777166:
3777166: return (long unsigned int)__x <= (long unsigned int)__y;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct equal_to<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) == std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) == std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct not_equal_to<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) != std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) != std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) != std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct greater<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) > std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) > std::forward<_Up>(__u))
3777166: {
3777166: return _S_cmp(std::forward<_Tp>(__t), std::forward<_Up>(__u),
3777166: __ptr_cmp<_Tp, _Up>{});
3777166: }
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: constexpr bool
3777166: operator()(_Tp* __t, _Up* __u) const noexcept
3777166: { return greater<common_type_t<_Tp*, _Up*>>{}(__t, __u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166:
3777166: private:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr decltype(auto)
3777166: _S_cmp(_Tp&& __t, _Up&& __u, false_type)
3777166: { return std::forward<_Tp>(__t) > std::forward<_Up>(__u); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr bool
3777166: _S_cmp(_Tp&& __t, _Up&& __u, true_type) noexcept
3777166: {
3777166: return greater<const volatile void*>{}(
3777166: static_cast<const volatile void*>(std::forward<_Tp>(__t)),
3777166: static_cast<const volatile void*>(std::forward<_Up>(__u)));
3777166: }
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded2 : true_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded2<_Tp, _Up, __void_t<
3777166: decltype(std::declval<_Tp>().operator>(std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded : __not_overloaded2<_Tp, _Up> { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded<_Tp, _Up, __void_t<
3777166: decltype(operator>(std::declval<_Tp>(), std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: using __ptr_cmp = __and_<__not_overloaded<_Tp, _Up>,
3777166: is_convertible<_Tp, const volatile void*>,
3777166: is_convertible<_Up, const volatile void*>>;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct less<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) < std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) < std::forward<_Up>(__u))
3777166: {
3777166: return _S_cmp(std::forward<_Tp>(__t), std::forward<_Up>(__u),
3777166: __ptr_cmp<_Tp, _Up>{});
3777166: }
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: constexpr bool
3777166: operator()(_Tp* __t, _Up* __u) const noexcept
3777166: { return less<common_type_t<_Tp*, _Up*>>{}(__t, __u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166:
3777166: private:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr decltype(auto)
3777166: _S_cmp(_Tp&& __t, _Up&& __u, false_type)
3777166: { return std::forward<_Tp>(__t) < std::forward<_Up>(__u); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr bool
3777166: _S_cmp(_Tp&& __t, _Up&& __u, true_type) noexcept
3777166: {
3777166: return less<const volatile void*>{}(
3777166: static_cast<const volatile void*>(std::forward<_Tp>(__t)),
3777166: static_cast<const volatile void*>(std::forward<_Up>(__u)));
3777166: }
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded2 : true_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded2<_Tp, _Up, __void_t<
3777166: decltype(std::declval<_Tp>().operator<(std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded : __not_overloaded2<_Tp, _Up> { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded<_Tp, _Up, __void_t<
3777166: decltype(operator<(std::declval<_Tp>(), std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: using __ptr_cmp = __and_<__not_overloaded<_Tp, _Up>,
3777166: is_convertible<_Tp, const volatile void*>,
3777166: is_convertible<_Up, const volatile void*>>;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct greater_equal<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) >= std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) >= std::forward<_Up>(__u))
3777166: {
3777166: return _S_cmp(std::forward<_Tp>(__t), std::forward<_Up>(__u),
3777166: __ptr_cmp<_Tp, _Up>{});
3777166: }
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: constexpr bool
3777166: operator()(_Tp* __t, _Up* __u) const noexcept
3777166: { return greater_equal<common_type_t<_Tp*, _Up*>>{}(__t, __u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166:
3777166: private:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr decltype(auto)
3777166: _S_cmp(_Tp&& __t, _Up&& __u, false_type)
3777166: { return std::forward<_Tp>(__t) >= std::forward<_Up>(__u); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr bool
3777166: _S_cmp(_Tp&& __t, _Up&& __u, true_type) noexcept
3777166: {
3777166: return greater_equal<const volatile void*>{}(
3777166: static_cast<const volatile void*>(std::forward<_Tp>(__t)),
3777166: static_cast<const volatile void*>(std::forward<_Up>(__u)));
3777166: }
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded2 : true_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded2<_Tp, _Up, __void_t<
3777166: decltype(std::declval<_Tp>().operator>=(std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded : __not_overloaded2<_Tp, _Up> { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded<_Tp, _Up, __void_t<
3777166: decltype(operator>=(std::declval<_Tp>(), std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: using __ptr_cmp = __and_<__not_overloaded<_Tp, _Up>,
3777166: is_convertible<_Tp, const volatile void*>,
3777166: is_convertible<_Up, const volatile void*>>;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct less_equal<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) <= std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) <= std::forward<_Up>(__u))
3777166: {
3777166: return _S_cmp(std::forward<_Tp>(__t), std::forward<_Up>(__u),
3777166: __ptr_cmp<_Tp, _Up>{});
3777166: }
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: constexpr bool
3777166: operator()(_Tp* __t, _Up* __u) const noexcept
3777166: { return less_equal<common_type_t<_Tp*, _Up*>>{}(__t, __u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166:
3777166: private:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr decltype(auto)
3777166: _S_cmp(_Tp&& __t, _Up&& __u, false_type)
3777166: { return std::forward<_Tp>(__t) <= std::forward<_Up>(__u); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: static constexpr bool
3777166: _S_cmp(_Tp&& __t, _Up&& __u, true_type) noexcept
3777166: {
3777166: return less_equal<const volatile void*>{}(
3777166: static_cast<const volatile void*>(std::forward<_Tp>(__t)),
3777166: static_cast<const volatile void*>(std::forward<_Up>(__u)));
3777166: }
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded2 : true_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded2<_Tp, _Up, __void_t<
3777166: decltype(std::declval<_Tp>().operator<=(std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, typename = void>
3777166: struct __not_overloaded : __not_overloaded2<_Tp, _Up> { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: struct __not_overloaded<_Tp, _Up, __void_t<
3777166: decltype(operator<=(std::declval<_Tp>(), std::declval<_Up>()))>>
3777166: : false_type { };
3777166:
3777166: template<typename _Tp, typename _Up>
3777166: using __ptr_cmp = __and_<__not_overloaded<_Tp, _Up>,
3777166: is_convertible<_Tp, const volatile void*>,
3777166: is_convertible<_Up, const volatile void*>>;
3777166: };
3777166: # 774 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Tp = void>
3777166: struct logical_and;
3777166:
3777166: template<typename _Tp = void>
3777166: struct logical_or;
3777166:
3777166: template<typename _Tp = void>
3777166: struct logical_not;
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct logical_and : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x && __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct logical_or : public binary_function<_Tp, _Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x || __y; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct logical_not : public unary_function<_Tp, bool>
3777166: {
3777166: constexpr
3777166: bool
3777166: operator()(const _Tp& __x) const
3777166: { return !__x; }
3777166: };
3777166:
3777166:
3777166:
3777166: template<>
3777166: struct logical_and<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) && std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) && std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) && std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct logical_or<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) || std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) || std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) || std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct logical_not<void>
3777166: {
3777166: template <typename _Tp>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t) const
3777166: noexcept(noexcept(!std::forward<_Tp>(__t)))
3777166: -> decltype(!std::forward<_Tp>(__t))
3777166: { return !std::forward<_Tp>(__t); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp = void>
3777166: struct bit_and;
3777166:
3777166: template<typename _Tp = void>
3777166: struct bit_or;
3777166:
3777166: template<typename _Tp = void>
3777166: struct bit_xor;
3777166:
3777166: template<typename _Tp = void>
3777166: struct bit_not;
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct bit_and : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x & __y; }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct bit_or : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x | __y; }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct bit_xor : public binary_function<_Tp, _Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x, const _Tp& __y) const
3777166: { return __x ^ __y; }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct bit_not : public unary_function<_Tp, _Tp>
3777166: {
3777166: constexpr
3777166: _Tp
3777166: operator()(const _Tp& __x) const
3777166: { return ~__x; }
3777166: };
3777166:
3777166:
3777166: template <>
3777166: struct bit_and<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) & std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) & std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) & std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166: template <>
3777166: struct bit_or<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) | std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) | std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) | std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166: template <>
3777166: struct bit_xor<void>
3777166: {
3777166: template <typename _Tp, typename _Up>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t, _Up&& __u) const
3777166: noexcept(noexcept(std::forward<_Tp>(__t) ^ std::forward<_Up>(__u)))
3777166: -> decltype(std::forward<_Tp>(__t) ^ std::forward<_Up>(__u))
3777166: { return std::forward<_Tp>(__t) ^ std::forward<_Up>(__u); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166:
3777166: template <>
3777166: struct bit_not<void>
3777166: {
3777166: template <typename _Tp>
3777166: constexpr
3777166: auto
3777166: operator()(_Tp&& __t) const
3777166: noexcept(noexcept(~std::forward<_Tp>(__t)))
3777166: -> decltype(~std::forward<_Tp>(__t))
3777166: { return ~std::forward<_Tp>(__t); }
3777166:
3777166: typedef __is_transparent is_transparent;
3777166: };
3777166: # 1002 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Predicate>
3777166: class unary_negate
3777166: : public unary_function<typename _Predicate::argument_type, bool>
3777166: {
3777166: protected:
3777166: _Predicate _M_pred;
3777166:
3777166: public:
3777166: constexpr
3777166: explicit
3777166: unary_negate(const _Predicate& __x) : _M_pred(__x) { }
3777166:
3777166: constexpr
3777166: bool
3777166: operator()(const typename _Predicate::argument_type& __x) const
3777166: { return !_M_pred(__x); }
3777166: };
3777166:
3777166:
3777166: template<typename _Predicate>
3777166: constexpr
3777166: inline unary_negate<_Predicate>
3777166: not1(const _Predicate& __pred)
3777166: { return unary_negate<_Predicate>(__pred); }
3777166:
3777166:
3777166: template<typename _Predicate>
3777166: class binary_negate
3777166: : public binary_function<typename _Predicate::first_argument_type,
3777166: typename _Predicate::second_argument_type, bool>
3777166: {
3777166: protected:
3777166: _Predicate _M_pred;
3777166:
3777166: public:
3777166: constexpr
3777166: explicit
3777166: binary_negate(const _Predicate& __x) : _M_pred(__x) { }
3777166:
3777166: constexpr
3777166: bool
3777166: operator()(const typename _Predicate::first_argument_type& __x,
3777166: const typename _Predicate::second_argument_type& __y) const
3777166: { return !_M_pred(__x, __y); }
3777166: };
3777166:
3777166:
3777166: template<typename _Predicate>
3777166: constexpr
3777166: inline binary_negate<_Predicate>
3777166: not2(const _Predicate& __pred)
3777166: { return binary_negate<_Predicate>(__pred); }
3777166: # 1079 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Arg, typename _Result>
3777166: class pointer_to_unary_function : public unary_function<_Arg, _Result>
3777166: {
3777166: protected:
3777166: _Result (*_M_ptr)(_Arg);
3777166:
3777166: public:
3777166: pointer_to_unary_function() { }
3777166:
3777166: explicit
3777166: pointer_to_unary_function(_Result (*__x)(_Arg))
3777166: : _M_ptr(__x) { }
3777166:
3777166: _Result
3777166: operator()(_Arg __x) const
3777166: { return _M_ptr(__x); }
3777166: };
3777166:
3777166:
3777166: template<typename _Arg, typename _Result>
3777166: inline pointer_to_unary_function<_Arg, _Result>
3777166: ptr_fun(_Result (*__x)(_Arg))
3777166: { return pointer_to_unary_function<_Arg, _Result>(__x); }
3777166:
3777166:
3777166: template<typename _Arg1, typename _Arg2, typename _Result>
3777166: class pointer_to_binary_function
3777166: : public binary_function<_Arg1, _Arg2, _Result>
3777166: {
3777166: protected:
3777166: _Result (*_M_ptr)(_Arg1, _Arg2);
3777166:
3777166: public:
3777166: pointer_to_binary_function() { }
3777166:
3777166: explicit
3777166: pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2))
3777166: : _M_ptr(__x) { }
3777166:
3777166: _Result
3777166: operator()(_Arg1 __x, _Arg2 __y) const
3777166: { return _M_ptr(__x, __y); }
3777166: };
3777166:
3777166:
3777166: template<typename _Arg1, typename _Arg2, typename _Result>
3777166: inline pointer_to_binary_function<_Arg1, _Arg2, _Result>
3777166: ptr_fun(_Result (*__x)(_Arg1, _Arg2))
3777166: { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); }
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct _Identity
3777166: : public unary_function<_Tp, _Tp>
3777166: {
3777166: _Tp&
3777166: operator()(_Tp& __x) const
3777166: { return __x; }
3777166:
3777166: const _Tp&
3777166: operator()(const _Tp& __x) const
3777166: { return __x; }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp> struct _Identity<const _Tp> : _Identity<_Tp> { };
3777166:
3777166: template<typename _Pair>
3777166: struct _Select1st
3777166: : public unary_function<_Pair, typename _Pair::first_type>
3777166: {
3777166: typename _Pair::first_type&
3777166: operator()(_Pair& __x) const
3777166: { return __x.first; }
3777166:
3777166: const typename _Pair::first_type&
3777166: operator()(const _Pair& __x) const
3777166: { return __x.first; }
3777166:
3777166:
3777166: template<typename _Pair2>
3777166: typename _Pair2::first_type&
3777166: operator()(_Pair2& __x) const
3777166: { return __x.first; }
3777166:
3777166: template<typename _Pair2>
3777166: const typename _Pair2::first_type&
3777166: operator()(const _Pair2& __x) const
3777166: { return __x.first; }
3777166:
3777166: };
3777166:
3777166: template<typename _Pair>
3777166: struct _Select2nd
3777166: : public unary_function<_Pair, typename _Pair::second_type>
3777166: {
3777166: typename _Pair::second_type&
3777166: operator()(_Pair& __x) const
3777166: { return __x.second; }
3777166:
3777166: const typename _Pair::second_type&
3777166: operator()(const _Pair& __x) const
3777166: { return __x.second; }
3777166: };
3777166: # 1202 "/usr/include/c++/10/bits/stl_function.h" 3
3777166: template<typename _Ret, typename _Tp>
3777166: class mem_fun_t : public unary_function<_Tp*, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: mem_fun_t(_Ret (_Tp::*__pf)())
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(_Tp* __p) const
3777166: { return (__p->*_M_f)(); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)();
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: const_mem_fun_t(_Ret (_Tp::*__pf)() const)
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(const _Tp* __p) const
3777166: { return (__p->*_M_f)(); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)() const;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: class mem_fun_ref_t : public unary_function<_Tp, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: mem_fun_ref_t(_Ret (_Tp::*__pf)())
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(_Tp& __r) const
3777166: { return (__r.*_M_f)(); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)();
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(const _Tp& __r) const
3777166: { return (__r.*_M_f)(); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)() const;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(_Tp* __p, _Arg __x) const
3777166: { return (__p->*_M_f)(__x); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)(_Arg);
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(const _Tp* __p, _Arg __x) const
3777166: { return (__p->*_M_f)(__x); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)(_Arg) const;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(_Tp& __r, _Arg __x) const
3777166: { return (__r.*_M_f)(__x); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)(_Arg);
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
3777166: {
3777166: public:
3777166: explicit
3777166: const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
3777166: : _M_f(__pf) { }
3777166:
3777166: _Ret
3777166: operator()(const _Tp& __r, _Arg __x) const
3777166: { return (__r.*_M_f)(__x); }
3777166:
3777166: private:
3777166: _Ret (_Tp::*_M_f)(_Arg) const;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: inline mem_fun_t<_Ret, _Tp>
3777166: mem_fun(_Ret (_Tp::*__f)())
3777166: { return mem_fun_t<_Ret, _Tp>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: inline const_mem_fun_t<_Ret, _Tp>
3777166: mem_fun(_Ret (_Tp::*__f)() const)
3777166: { return const_mem_fun_t<_Ret, _Tp>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: inline mem_fun_ref_t<_Ret, _Tp>
3777166: mem_fun_ref(_Ret (_Tp::*__f)())
3777166: { return mem_fun_ref_t<_Ret, _Tp>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp>
3777166: inline const_mem_fun_ref_t<_Ret, _Tp>
3777166: mem_fun_ref(_Ret (_Tp::*__f)() const)
3777166: { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: inline mem_fun1_t<_Ret, _Tp, _Arg>
3777166: mem_fun(_Ret (_Tp::*__f)(_Arg))
3777166: { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: inline const_mem_fun1_t<_Ret, _Tp, _Arg>
3777166: mem_fun(_Ret (_Tp::*__f)(_Arg) const)
3777166: { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
3777166: mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
3777166: { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
3777166:
3777166: template<typename _Ret, typename _Tp, typename _Arg>
3777166: inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
3777166: mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
3777166: { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/backward/binders.h" 1 3
3777166: # 60 "/usr/include/c++/10/backward/binders.h" 3
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 107 "/usr/include/c++/10/backward/binders.h" 3
3777166: template<typename _Operation>
3777166: class binder1st
3777166: : public unary_function<typename _Operation::second_argument_type,
3777166: typename _Operation::result_type>
3777166: {
3777166: protected:
3777166: _Operation op;
3777166: typename _Operation::first_argument_type value;
3777166:
3777166: public:
3777166: binder1st(const _Operation& __x,
3777166: const typename _Operation::first_argument_type& __y)
3777166: : op(__x), value(__y) { }
3777166:
3777166: typename _Operation::result_type
3777166: operator()(const typename _Operation::second_argument_type& __x) const
3777166: { return op(value, __x); }
3777166:
3777166:
3777166:
3777166: typename _Operation::result_type
3777166: operator()(typename _Operation::second_argument_type& __x) const
3777166: { return op(value, __x); }
3777166: } __attribute__ ((__deprecated__));
3777166:
3777166:
3777166: template<typename _Operation, typename _Tp>
3777166: inline binder1st<_Operation>
3777166: bind1st(const _Operation& __fn, const _Tp& __x)
3777166: {
3777166: typedef typename _Operation::first_argument_type _Arg1_type;
3777166: return binder1st<_Operation>(__fn, _Arg1_type(__x));
3777166: }
3777166:
3777166:
3777166: template<typename _Operation>
3777166: class binder2nd
3777166: : public unary_function<typename _Operation::first_argument_type,
3777166: typename _Operation::result_type>
3777166: {
3777166: protected:
3777166: _Operation op;
3777166: typename _Operation::second_argument_type value;
3777166:
3777166: public:
3777166: binder2nd(const _Operation& __x,
3777166: const typename _Operation::second_argument_type& __y)
3777166: : op(__x), value(__y) { }
3777166:
3777166: typename _Operation::result_type
3777166: operator()(const typename _Operation::first_argument_type& __x) const
3777166: { return op(__x, value); }
3777166:
3777166:
3777166:
3777166: typename _Operation::result_type
3777166: operator()(typename _Operation::first_argument_type& __x) const
3777166: { return op(__x, value); }
3777166: } __attribute__ ((__deprecated__));
3777166:
3777166:
3777166: template<typename _Operation, typename _Tp>
3777166: inline binder2nd<_Operation>
3777166: bind2nd(const _Operation& __fn, const _Tp& __x)
3777166: {
3777166: typedef typename _Operation::second_argument_type _Arg2_type;
3777166: return binder2nd<_Operation>(__fn, _Arg2_type(__x));
3777166: }
3777166:
3777166:
3777166:
3777166: }
3777166:
3777166: #pragma GCC diagnostic pop
3777166: # 1393 "/usr/include/c++/10/bits/stl_function.h" 2 3
3777166: # 79 "/usr/include/c++/10/memory" 2 3
3777166: # 1 "/usr/include/c++/10/bits/uses_allocator.h" 1 3
3777166: # 35 "/usr/include/c++/10/bits/uses_allocator.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166: struct __erased_type { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Alloc, typename _Tp>
3777166: using __is_erased_or_convertible
3777166: = __or_<is_convertible<_Alloc, _Tp>, is_same<_Tp, __erased_type>>;
3777166:
3777166:
3777166: struct allocator_arg_t { explicit allocator_arg_t() = default; };
3777166:
3777166: inline constexpr allocator_arg_t allocator_arg =
3777166: allocator_arg_t();
3777166:
3777166: template<typename _Tp, typename _Alloc, typename = __void_t<>>
3777166: struct __uses_allocator_helper
3777166: : false_type { };
3777166:
3777166: template<typename _Tp, typename _Alloc>
3777166: struct __uses_allocator_helper<_Tp, _Alloc,
3777166: __void_t<typename _Tp::allocator_type>>
3777166: : __is_erased_or_convertible<_Alloc, typename _Tp::allocator_type>::type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Alloc>
3777166: struct uses_allocator
3777166: : __uses_allocator_helper<_Tp, _Alloc>::type
3777166: { };
3777166:
3777166: struct __uses_alloc_base { };
3777166:
3777166: struct __uses_alloc0 : __uses_alloc_base
3777166: {
3777166: struct _Sink { void operator=(const void*) { } } _M_a;
3777166: };
3777166:
3777166: template<typename _Alloc>
3777166: struct __uses_alloc1 : __uses_alloc_base { const _Alloc* _M_a; };
3777166:
3777166: template<typename _Alloc>
3777166: struct __uses_alloc2 : __uses_alloc_base { const _Alloc* _M_a; };
3777166:
3777166: template<bool, typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __uses_alloc;
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __uses_alloc<true, _Tp, _Alloc, _Args...>
3777166: : conditional<
3777166: is_constructible<_Tp, allocator_arg_t, const _Alloc&, _Args...>::value,
3777166: __uses_alloc1<_Alloc>,
3777166: __uses_alloc2<_Alloc>>::type
3777166: {
3777166:
3777166:
3777166: static_assert(__or_<
3777166: is_constructible<_Tp, allocator_arg_t, const _Alloc&, _Args...>,
3777166: is_constructible<_Tp, _Args..., const _Alloc&>>::value,
3777166: "construction with an allocator must be possible"
3777166: " if uses_allocator is true");
3777166: };
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __uses_alloc<false, _Tp, _Alloc, _Args...>
3777166: : __uses_alloc0 { };
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: using __uses_alloc_t =
3777166: __uses_alloc<uses_allocator<_Tp, _Alloc>::value, _Tp, _Alloc, _Args...>;
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166:
3777166: inline __uses_alloc_t<_Tp, _Alloc, _Args...>
3777166: __use_alloc(const _Alloc& __a)
3777166: {
3777166: __uses_alloc_t<_Tp, _Alloc, _Args...> __ret;
3777166: __ret._M_a = std::__addressof(__a);
3777166: return __ret;
3777166: }
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: void
3777166: __use_alloc(const _Alloc&&) = delete;
3777166:
3777166:
3777166: template <typename _Tp, typename _Alloc>
3777166: inline constexpr bool uses_allocator_v =
3777166: uses_allocator<_Tp, _Alloc>::value;
3777166:
3777166:
3777166: template<template<typename...> class _Predicate,
3777166: typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __is_uses_allocator_predicate
3777166: : conditional<uses_allocator<_Tp, _Alloc>::value,
3777166: __or_<_Predicate<_Tp, allocator_arg_t, _Alloc, _Args...>,
3777166: _Predicate<_Tp, _Args..., _Alloc>>,
3777166: _Predicate<_Tp, _Args...>>::type { };
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __is_uses_allocator_constructible
3777166: : __is_uses_allocator_predicate<is_constructible, _Tp, _Alloc, _Args...>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: inline constexpr bool __is_uses_allocator_constructible_v =
3777166: __is_uses_allocator_constructible<_Tp, _Alloc, _Args...>::value;
3777166:
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: struct __is_nothrow_uses_allocator_constructible
3777166: : __is_uses_allocator_predicate<is_nothrow_constructible,
3777166: _Tp, _Alloc, _Args...>
3777166: { };
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: inline constexpr bool
3777166: __is_nothrow_uses_allocator_constructible_v =
3777166: __is_nothrow_uses_allocator_constructible<_Tp, _Alloc, _Args...>::value;
3777166:
3777166:
3777166: template<typename _Tp, typename... _Args>
3777166: void __uses_allocator_construct_impl(__uses_alloc0 __a, _Tp* __ptr,
3777166: _Args&&... __args)
3777166: { ::new ((void*)__ptr) _Tp(std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: void __uses_allocator_construct_impl(__uses_alloc1<_Alloc> __a, _Tp* __ptr,
3777166: _Args&&... __args)
3777166: {
3777166: ::new ((void*)__ptr) _Tp(allocator_arg, *__a._M_a,
3777166: std::forward<_Args>(__args)...);
3777166: }
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: void __uses_allocator_construct_impl(__uses_alloc2<_Alloc> __a, _Tp* __ptr,
3777166: _Args&&... __args)
3777166: { ::new ((void*)__ptr) _Tp(std::forward<_Args>(__args)..., *__a._M_a); }
3777166:
3777166: template<typename _Tp, typename _Alloc, typename... _Args>
3777166: void __uses_allocator_construct(const _Alloc& __a, _Tp* __ptr,
3777166: _Args&&... __args)
3777166: {
3777166: std::__uses_allocator_construct_impl(
3777166: std::__use_alloc<_Tp, _Alloc, _Args...>(__a), __ptr,
3777166: std::forward<_Args>(__args)...);
3777166: }
3777166:
3777166:
3777166: }
3777166: # 80 "/usr/include/c++/10/memory" 2 3
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/unique_ptr.h" 1 3
3777166: # 36 "/usr/include/c++/10/bits/unique_ptr.h" 3
3777166: # 1 "/usr/include/c++/10/utility" 1 3
3777166: # 58 "/usr/include/c++/10/utility" 3
3777166:
3777166: # 59 "/usr/include/c++/10/utility" 3
3777166: # 69 "/usr/include/c++/10/utility" 3
3777166: # 1 "/usr/include/c++/10/bits/stl_relops.h" 1 3
3777166: # 67 "/usr/include/c++/10/bits/stl_relops.h" 3
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: namespace rel_ops
3777166: {
3777166: # 85 "/usr/include/c++/10/bits/stl_relops.h" 3
3777166: template <class _Tp>
3777166: inline bool
3777166: operator!=(const _Tp& __x, const _Tp& __y)
3777166: { return !(__x == __y); }
3777166: # 98 "/usr/include/c++/10/bits/stl_relops.h" 3
3777166: template <class _Tp>
3777166: inline bool
3777166: operator>(const _Tp& __x, const _Tp& __y)
3777166: { return __y < __x; }
3777166: # 111 "/usr/include/c++/10/bits/stl_relops.h" 3
3777166: template <class _Tp>
3777166: inline bool
3777166: operator<=(const _Tp& __x, const _Tp& __y)
3777166: { return !(__y < __x); }
3777166: # 124 "/usr/include/c++/10/bits/stl_relops.h" 3
3777166: template <class _Tp>
3777166: inline bool
3777166: operator>=(const _Tp& __x, const _Tp& __y)
3777166: { return !(__x < __y); }
3777166: }
3777166:
3777166:
3777166: }
3777166: # 70 "/usr/include/c++/10/utility" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/initializer_list" 1 3
3777166: # 33 "/usr/include/c++/10/initializer_list" 3
3777166:
3777166: # 34 "/usr/include/c++/10/initializer_list" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: #pragma GCC visibility push(default)
3777166:
3777166:
3777166:
3777166: namespace std
3777166: {
3777166:
3777166: template<class _E>
3777166: class initializer_list
3777166: {
3777166: public:
3777166: typedef _E value_type;
3777166: typedef const _E& reference;
3777166: typedef const _E& const_reference;
3777166: typedef size_t size_type;
3777166: typedef const _E* iterator;
3777166: typedef const _E* const_iterator;
3777166:
3777166: private:
3777166: iterator _M_array;
3777166: size_type _M_len;
3777166:
3777166:
3777166: constexpr initializer_list(const_iterator __a, size_type __l)
3777166: : _M_array(__a), _M_len(__l) { }
3777166:
3777166: public:
3777166: constexpr initializer_list() noexcept
3777166: : _M_array(0), _M_len(0) { }
3777166:
3777166:
3777166: constexpr size_type
3777166: size() const noexcept { return _M_len; }
3777166:
3777166:
3777166: constexpr const_iterator
3777166: begin() const noexcept { return _M_array; }
3777166:
3777166:
3777166: constexpr const_iterator
3777166: end() const noexcept { return begin() + size(); }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<class _Tp>
3777166: constexpr const _Tp*
3777166: begin(initializer_list<_Tp> __ils) noexcept
3777166: { return __ils.begin(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<class _Tp>
3777166: constexpr const _Tp*
3777166: end(initializer_list<_Tp> __ils) noexcept
3777166: { return __ils.end(); }
3777166: }
3777166:
3777166: #pragma GCC visibility pop
3777166: # 77 "/usr/include/c++/10/utility" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct tuple_size;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp,
3777166: typename _Up = typename remove_cv<_Tp>::type,
3777166: typename = typename enable_if<is_same<_Tp, _Up>::value>::type,
3777166: size_t = tuple_size<_Tp>::value>
3777166: using __enable_if_has_tuple_size = _Tp;
3777166:
3777166: template<typename _Tp>
3777166: struct tuple_size<const __enable_if_has_tuple_size<_Tp>>
3777166: : public tuple_size<_Tp> { };
3777166:
3777166: template<typename _Tp>
3777166: struct tuple_size<volatile __enable_if_has_tuple_size<_Tp>>
3777166: : public tuple_size<_Tp> { };
3777166:
3777166: template<typename _Tp>
3777166: struct tuple_size<const volatile __enable_if_has_tuple_size<_Tp>>
3777166: : public tuple_size<_Tp> { };
3777166:
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: struct tuple_element;
3777166:
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: using __tuple_element_t = typename tuple_element<__i, _Tp>::type;
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: struct tuple_element<__i, const _Tp>
3777166: {
3777166: typedef typename add_const<__tuple_element_t<__i, _Tp>>::type type;
3777166: };
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: struct tuple_element<__i, volatile _Tp>
3777166: {
3777166: typedef typename add_volatile<__tuple_element_t<__i, _Tp>>::type type;
3777166: };
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: struct tuple_element<__i, const volatile _Tp>
3777166: {
3777166: typedef typename add_cv<__tuple_element_t<__i, _Tp>>::type type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<std::size_t __i, typename _Tp>
3777166: using tuple_element_t = typename tuple_element<__i, _Tp>::type;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: struct __is_tuple_like_impl<std::pair<_T1, _T2>> : true_type
3777166: { };
3777166:
3777166:
3777166: template<class _Tp1, class _Tp2>
3777166: struct tuple_size<std::pair<_Tp1, _Tp2>>
3777166: : public integral_constant<std::size_t, 2> { };
3777166:
3777166:
3777166: template<class _Tp1, class _Tp2>
3777166: struct tuple_element<0, std::pair<_Tp1, _Tp2>>
3777166: { typedef _Tp1 type; };
3777166:
3777166:
3777166: template<class _Tp1, class _Tp2>
3777166: struct tuple_element<1, std::pair<_Tp1, _Tp2>>
3777166: { typedef _Tp2 type; };
3777166:
3777166: template<std::size_t _Int>
3777166: struct __pair_get;
3777166:
3777166: template<>
3777166: struct __pair_get<0>
3777166: {
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr _Tp1&
3777166: __get(std::pair<_Tp1, _Tp2>& __pair) noexcept
3777166: { return __pair.first; }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr _Tp1&&
3777166: __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept
3777166: { return std::forward<_Tp1>(__pair.first); }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr const _Tp1&
3777166: __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept
3777166: { return __pair.first; }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr const _Tp1&&
3777166: __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept
3777166: { return std::forward<const _Tp1>(__pair.first); }
3777166: };
3777166:
3777166: template<>
3777166: struct __pair_get<1>
3777166: {
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr _Tp2&
3777166: __get(std::pair<_Tp1, _Tp2>& __pair) noexcept
3777166: { return __pair.second; }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr _Tp2&&
3777166: __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept
3777166: { return std::forward<_Tp2>(__pair.second); }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr const _Tp2&
3777166: __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept
3777166: { return __pair.second; }
3777166:
3777166: template<typename _Tp1, typename _Tp2>
3777166: static constexpr const _Tp2&&
3777166: __const_move_get(const std::pair<_Tp1, _Tp2>&& __pair) noexcept
3777166: { return std::forward<const _Tp2>(__pair.second); }
3777166: };
3777166:
3777166: template<std::size_t _Int, class _Tp1, class _Tp2>
3777166: constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&
3777166: get(std::pair<_Tp1, _Tp2>& __in) noexcept
3777166: { return __pair_get<_Int>::__get(__in); }
3777166:
3777166: template<std::size_t _Int, class _Tp1, class _Tp2>
3777166: constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&&
3777166: get(std::pair<_Tp1, _Tp2>&& __in) noexcept
3777166: { return __pair_get<_Int>::__move_get(std::move(__in)); }
3777166:
3777166: template<std::size_t _Int, class _Tp1, class _Tp2>
3777166: constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&
3777166: get(const std::pair<_Tp1, _Tp2>& __in) noexcept
3777166: { return __pair_get<_Int>::__const_get(__in); }
3777166:
3777166: template<std::size_t _Int, class _Tp1, class _Tp2>
3777166: constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&&
3777166: get(const std::pair<_Tp1, _Tp2>&& __in) noexcept
3777166: { return __pair_get<_Int>::__const_move_get(std::move(__in)); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr _Tp&
3777166: get(pair<_Tp, _Up>& __p) noexcept
3777166: { return __p.first; }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr const _Tp&
3777166: get(const pair<_Tp, _Up>& __p) noexcept
3777166: { return __p.first; }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr _Tp&&
3777166: get(pair<_Tp, _Up>&& __p) noexcept
3777166: { return std::move(__p.first); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr const _Tp&&
3777166: get(const pair<_Tp, _Up>&& __p) noexcept
3777166: { return std::move(__p.first); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr _Tp&
3777166: get(pair<_Up, _Tp>& __p) noexcept
3777166: { return __p.second; }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr const _Tp&
3777166: get(const pair<_Up, _Tp>& __p) noexcept
3777166: { return __p.second; }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr _Tp&&
3777166: get(pair<_Up, _Tp>&& __p) noexcept
3777166: { return std::move(__p.second); }
3777166:
3777166: template <typename _Tp, typename _Up>
3777166: constexpr const _Tp&&
3777166: get(const pair<_Up, _Tp>&& __p) noexcept
3777166: { return std::move(__p.second); }
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename _Up = _Tp>
3777166:
3777166: inline _Tp
3777166: exchange(_Tp& __obj, _Up&& __new_val)
3777166: { return std::__exchange(__obj, std::forward<_Up>(__new_val)); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<size_t... _Indexes> struct _Index_tuple { };
3777166: # 307 "/usr/include/c++/10/utility" 3
3777166: template<size_t _Num>
3777166: struct _Build_index_tuple
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: using __type = _Index_tuple<__integer_pack(_Num)...>;
3777166:
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, _Tp... _Idx>
3777166: struct integer_sequence
3777166: {
3777166: typedef _Tp value_type;
3777166: static constexpr size_t size() noexcept { return sizeof...(_Idx); }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, _Tp _Num>
3777166: using make_integer_sequence
3777166:
3777166:
3777166:
3777166: = integer_sequence<_Tp, __integer_pack(_Num)...>;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<size_t... _Idx>
3777166: using index_sequence = integer_sequence<size_t, _Idx...>;
3777166:
3777166:
3777166: template<size_t _Num>
3777166: using make_index_sequence = make_integer_sequence<size_t, _Num>;
3777166:
3777166:
3777166: template<typename... _Types>
3777166: using index_sequence_for = make_index_sequence<sizeof...(_Types)>;
3777166:
3777166:
3777166:
3777166:
3777166: struct in_place_t {
3777166: explicit in_place_t() = default;
3777166: };
3777166:
3777166: inline constexpr in_place_t in_place{};
3777166:
3777166: template<typename _Tp> struct in_place_type_t
3777166: {
3777166: explicit in_place_type_t() = default;
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr in_place_type_t<_Tp> in_place_type{};
3777166:
3777166: template<size_t _Idx> struct in_place_index_t
3777166: {
3777166: explicit in_place_index_t() = default;
3777166: };
3777166:
3777166: template<size_t _Idx>
3777166: inline constexpr in_place_index_t<_Idx> in_place_index{};
3777166:
3777166: template<typename>
3777166: struct __is_in_place_type_impl : false_type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_in_place_type_impl<in_place_type_t<_Tp>> : true_type
3777166: { };
3777166:
3777166: template<typename _Tp>
3777166: struct __is_in_place_type
3777166: : public __is_in_place_type_impl<_Tp>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: constexpr add_const_t<_Tp>& as_const(_Tp& __t) noexcept { return __t; }
3777166:
3777166: template<typename _Tp>
3777166: void as_const(const _Tp&&) = delete;
3777166: # 473 "/usr/include/c++/10/utility" 3
3777166:
3777166: }
3777166: # 37 "/usr/include/c++/10/bits/unique_ptr.h" 2 3
3777166: # 1 "/usr/include/c++/10/tuple" 1 3
3777166: # 32 "/usr/include/c++/10/tuple" 3
3777166:
3777166: # 33 "/usr/include/c++/10/tuple" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/array" 1 3
3777166: # 32 "/usr/include/c++/10/array" 3
3777166:
3777166: # 33 "/usr/include/c++/10/array" 3
3777166: # 41 "/usr/include/c++/10/array" 3
3777166: # 1 "/usr/include/c++/10/bits/range_access.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/range_access.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/range_access.h" 3
3777166:
3777166:
3777166:
3777166: # 1 "/usr/include/c++/10/bits/iterator_concepts.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/iterator_concepts.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/iterator_concepts.h" 3
3777166:
3777166: # 1 "/usr/include/c++/10/concepts" 1 3
3777166: # 36 "/usr/include/c++/10/bits/iterator_concepts.h" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/range_cmp.h" 1 3
3777166: # 38 "/usr/include/c++/10/bits/iterator_concepts.h" 2 3
3777166: # 38 "/usr/include/c++/10/bits/range_access.h" 2 3
3777166: # 1 "/usr/include/c++/10/bits/int_limits.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/int_limits.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/int_limits.h" 3
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: namespace __detail
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, bool = is_signed<_Tp>::value>
3777166: struct __int_limits
3777166: {
3777166: static_assert(is_integral<_Tp>::value, "unsupported specialization");
3777166: using _Up = typename make_unsigned<_Tp>::type;
3777166: static constexpr int digits = sizeof(_Tp) * 8 - 1;
3777166: static constexpr _Tp min() noexcept { return _Tp(_Up(1) << digits); }
3777166: static constexpr _Tp max() noexcept { return _Tp(_Up(~_Up(0)) >> 1); }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __int_limits<_Tp, false>
3777166: {
3777166: static_assert(is_integral<_Tp>::value, "unsupported specialization");
3777166: static constexpr int digits = sizeof(_Tp) * 8;
3777166: static constexpr _Tp min() noexcept { return 0; }
3777166: static constexpr _Tp max() noexcept { return _Tp(-1); }
3777166: };
3777166:
3777166: template<> struct __int_limits<bool>;
3777166: }
3777166:
3777166: }
3777166: # 39 "/usr/include/c++/10/bits/range_access.h" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: begin(_Container& __cont) -> decltype(__cont.begin())
3777166: { return __cont.begin(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: begin(const _Container& __cont) -> decltype(__cont.begin())
3777166: { return __cont.begin(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: end(_Container& __cont) -> decltype(__cont.end())
3777166: { return __cont.end(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: end(const _Container& __cont) -> decltype(__cont.end())
3777166: { return __cont.end(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166: inline constexpr _Tp*
3777166: begin(_Tp (&__arr)[_Nm])
3777166: { return __arr; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166: inline constexpr _Tp*
3777166: end(_Tp (&__arr)[_Nm])
3777166: { return __arr + _Nm; }
3777166:
3777166:
3777166:
3777166: template<typename _Tp> class valarray;
3777166:
3777166: template<typename _Tp> _Tp* begin(valarray<_Tp>&);
3777166: template<typename _Tp> const _Tp* begin(const valarray<_Tp>&);
3777166: template<typename _Tp> _Tp* end(valarray<_Tp>&);
3777166: template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))
3777166: -> decltype(std::begin(__cont))
3777166: { return std::begin(__cont); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))
3777166: -> decltype(std::end(__cont))
3777166: { return std::end(__cont); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: rbegin(_Container& __cont) -> decltype(__cont.rbegin())
3777166: { return __cont.rbegin(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: rbegin(const _Container& __cont) -> decltype(__cont.rbegin())
3777166: { return __cont.rbegin(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: rend(_Container& __cont) -> decltype(__cont.rend())
3777166: { return __cont.rend(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: rend(const _Container& __cont) -> decltype(__cont.rend())
3777166: { return __cont.rend(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166: inline constexpr reverse_iterator<_Tp*>
3777166: rbegin(_Tp (&__arr)[_Nm])
3777166: { return reverse_iterator<_Tp*>(__arr + _Nm); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp, size_t _Nm>
3777166: inline constexpr reverse_iterator<_Tp*>
3777166: rend(_Tp (&__arr)[_Nm])
3777166: { return reverse_iterator<_Tp*>(__arr); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr reverse_iterator<const _Tp*>
3777166: rbegin(initializer_list<_Tp> __il)
3777166: { return reverse_iterator<const _Tp*>(__il.end()); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: inline constexpr reverse_iterator<const _Tp*>
3777166: rend(initializer_list<_Tp> __il)
3777166: { return reverse_iterator<const _Tp*>(__il.begin()); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: crbegin(const _Container& __cont) -> decltype(std::rbegin(__cont))
3777166: { return std::rbegin(__cont); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Container>
3777166: inline constexpr auto
3777166: crend(const _Container& __cont) -> decltype(std::rend(__cont))
3777166: { return std::rend(__cont); }
3777166: # 243 "/usr/include/c++/10/bits/range_access.h" 3
3777166: template <typename _Container>
3777166: constexpr auto
3777166: size(const _Container& __cont) noexcept(noexcept(__cont.size()))
3777166: -> decltype(__cont.size())
3777166: { return __cont.size(); }
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, size_t _Nm>
3777166: constexpr size_t
3777166: size(const _Tp (&)[_Nm]) noexcept
3777166: { return _Nm; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Container>
3777166: [[nodiscard]] constexpr auto
3777166: empty(const _Container& __cont) noexcept(noexcept(__cont.empty()))
3777166: -> decltype(__cont.empty())
3777166: { return __cont.empty(); }
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, size_t _Nm>
3777166: [[nodiscard]] constexpr bool
3777166: empty(const _Tp (&)[_Nm]) noexcept
3777166: { return false; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp>
3777166: [[nodiscard]] constexpr bool
3777166: empty(initializer_list<_Tp> __il) noexcept
3777166: { return __il.size() == 0;}
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Container>
3777166: constexpr auto
3777166: data(_Container& __cont) noexcept(noexcept(__cont.data()))
3777166: -> decltype(__cont.data())
3777166: { return __cont.data(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Container>
3777166: constexpr auto
3777166: data(const _Container& __cont) noexcept(noexcept(__cont.data()))
3777166: -> decltype(__cont.data())
3777166: { return __cont.data(); }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, size_t _Nm>
3777166: constexpr _Tp*
3777166: data(_Tp (&__array)[_Nm]) noexcept
3777166: { return __array; }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp>
3777166: constexpr const _Tp*
3777166: data(initializer_list<_Tp> __il) noexcept
3777166: { return __il.begin(); }
3777166: # 1143 "/usr/include/c++/10/bits/range_access.h" 3
3777166:
3777166: }
3777166: # 42 "/usr/include/c++/10/array" 2 3
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166: struct __array_traits
3777166: {
3777166: typedef _Tp _Type[_Nm];
3777166: typedef __is_swappable<_Tp> _Is_swappable;
3777166: typedef __is_nothrow_swappable<_Tp> _Is_nothrow_swappable;
3777166:
3777166: static constexpr _Tp&
3777166: _S_ref(const _Type& __t, std::size_t __n) noexcept
3777166: { return const_cast<_Tp&>(__t[__n]); }
3777166:
3777166: static constexpr _Tp*
3777166: _S_ptr(const _Type& __t) noexcept
3777166: { return const_cast<_Tp*>(__t); }
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __array_traits<_Tp, 0>
3777166: {
3777166: struct _Type { };
3777166: typedef true_type _Is_swappable;
3777166: typedef true_type _Is_nothrow_swappable;
3777166:
3777166: static constexpr _Tp&
3777166: _S_ref(const _Type&, std::size_t) noexcept
3777166: { return *static_cast<_Tp*>(nullptr); }
3777166:
3777166: static constexpr _Tp*
3777166: _S_ptr(const _Type&) noexcept
3777166: { return nullptr; }
3777166: };
3777166: # 93 "/usr/include/c++/10/array" 3
3777166: template<typename _Tp, std::size_t _Nm>
3777166: struct array
3777166: {
3777166: typedef _Tp value_type;
3777166: typedef value_type* pointer;
3777166: typedef const value_type* const_pointer;
3777166: typedef value_type& reference;
3777166: typedef const value_type& const_reference;
3777166: typedef value_type* iterator;
3777166: typedef const value_type* const_iterator;
3777166: typedef std::size_t size_type;
3777166: typedef std::ptrdiff_t difference_type;
3777166: typedef std::reverse_iterator<iterator> reverse_iterator;
3777166: typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
3777166:
3777166:
3777166: typedef std::__array_traits<_Tp, _Nm> _AT_Type;
3777166: typename _AT_Type::_Type _M_elems;
3777166:
3777166:
3777166:
3777166:
3777166: void
3777166: fill(const value_type& __u)
3777166: { std::fill_n(begin(), size(), __u); }
3777166:
3777166: void
3777166: swap(array& __other)
3777166: noexcept(_AT_Type::_Is_nothrow_swappable::value)
3777166: { std::swap_ranges(begin(), end(), __other.begin()); }
3777166:
3777166:
3777166: constexpr iterator
3777166: begin() noexcept
3777166: { return iterator(data()); }
3777166:
3777166: constexpr const_iterator
3777166: begin() const noexcept
3777166: { return const_iterator(data()); }
3777166:
3777166: constexpr iterator
3777166: end() noexcept
3777166: { return iterator(data() + _Nm); }
3777166:
3777166: constexpr const_iterator
3777166: end() const noexcept
3777166: { return const_iterator(data() + _Nm); }
3777166:
3777166: constexpr reverse_iterator
3777166: rbegin() noexcept
3777166: { return reverse_iterator(end()); }
3777166:
3777166: constexpr const_reverse_iterator
3777166: rbegin() const noexcept
3777166: { return const_reverse_iterator(end()); }
3777166:
3777166: constexpr reverse_iterator
3777166: rend() noexcept
3777166: { return reverse_iterator(begin()); }
3777166:
3777166: constexpr const_reverse_iterator
3777166: rend() const noexcept
3777166: { return const_reverse_iterator(begin()); }
3777166:
3777166: constexpr const_iterator
3777166: cbegin() const noexcept
3777166: { return const_iterator(data()); }
3777166:
3777166: constexpr const_iterator
3777166: cend() const noexcept
3777166: { return const_iterator(data() + _Nm); }
3777166:
3777166: constexpr const_reverse_iterator
3777166: crbegin() const noexcept
3777166: { return const_reverse_iterator(end()); }
3777166:
3777166: constexpr const_reverse_iterator
3777166: crend() const noexcept
3777166: { return const_reverse_iterator(begin()); }
3777166:
3777166:
3777166: constexpr size_type
3777166: size() const noexcept { return _Nm; }
3777166:
3777166: constexpr size_type
3777166: max_size() const noexcept { return _Nm; }
3777166:
3777166: [[__nodiscard__]] constexpr bool
3777166: empty() const noexcept { return size() == 0; }
3777166:
3777166:
3777166: constexpr reference
3777166: operator[](size_type __n) noexcept
3777166: { return _AT_Type::_S_ref(_M_elems, __n); }
3777166:
3777166: constexpr const_reference
3777166: operator[](size_type __n) const noexcept
3777166: { return _AT_Type::_S_ref(_M_elems, __n); }
3777166:
3777166: constexpr reference
3777166: at(size_type __n)
3777166: {
3777166: if (__n >= _Nm)
3777166: std::__throw_out_of_range_fmt(("array::at: __n (which is %zu) " ">= _Nm (which is %zu)")
3777166: ,
3777166: __n, _Nm);
3777166: return _AT_Type::_S_ref(_M_elems, __n);
3777166: }
3777166:
3777166: constexpr const_reference
3777166: at(size_type __n) const
3777166: {
3777166:
3777166:
3777166: return __n < _Nm ? _AT_Type::_S_ref(_M_elems, __n)
3777166: : (std::__throw_out_of_range_fmt(("array::at: __n (which is %zu) " ">= _Nm (which is %zu)")
3777166: ,
3777166: __n, _Nm),
3777166: _AT_Type::_S_ref(_M_elems, 0));
3777166: }
3777166:
3777166: constexpr reference
3777166: front() noexcept
3777166: { return *begin(); }
3777166:
3777166: constexpr const_reference
3777166: front() const noexcept
3777166: { return _AT_Type::_S_ref(_M_elems, 0); }
3777166:
3777166: constexpr reference
3777166: back() noexcept
3777166: { return _Nm ? *(end() - 1) : *end(); }
3777166:
3777166: constexpr const_reference
3777166: back() const noexcept
3777166: {
3777166: return _Nm ? _AT_Type::_S_ref(_M_elems, _Nm - 1)
3777166: : _AT_Type::_S_ref(_M_elems, 0);
3777166: }
3777166:
3777166: constexpr pointer
3777166: data() noexcept
3777166: { return _AT_Type::_S_ptr(_M_elems); }
3777166:
3777166: constexpr const_pointer
3777166: data() const noexcept
3777166: { return _AT_Type::_S_ptr(_M_elems); }
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, typename... _Up>
3777166: array(_Tp, _Up...)
3777166: -> array<enable_if_t<(is_same_v<_Tp, _Up> && ...), _Tp>,
3777166: 1 + sizeof...(_Up)>;
3777166:
3777166:
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
3777166: { return std::equal(__one.begin(), __one.end(), __two.begin()); }
3777166: # 275 "/usr/include/c++/10/array" 3
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
3777166: { return !(__one == __two); }
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
3777166: {
3777166: return std::lexicographical_compare(__a.begin(), __a.end(),
3777166: __b.begin(), __b.end());
3777166: }
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
3777166: { return __two < __one; }
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator<=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
3777166: { return !(__one > __two); }
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline bool
3777166: operator>=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
3777166: { return !(__one < __two); }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166:
3777166: inline
3777166:
3777166:
3777166: typename enable_if<
3777166: std::__array_traits<_Tp, _Nm>::_Is_swappable::value
3777166: >::type
3777166:
3777166:
3777166:
3777166: swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two)
3777166: noexcept(noexcept(__one.swap(__two)))
3777166: { __one.swap(__two); }
3777166:
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166: typename enable_if<
3777166: !std::__array_traits<_Tp, _Nm>::_Is_swappable::value>::type
3777166: swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete;
3777166:
3777166:
3777166: template<std::size_t _Int, typename _Tp, std::size_t _Nm>
3777166: constexpr _Tp&
3777166: get(array<_Tp, _Nm>& __arr) noexcept
3777166: {
3777166: static_assert(_Int < _Nm, "array index is within bounds");
3777166: return std::__array_traits<_Tp, _Nm>::
3777166: _S_ref(__arr._M_elems, _Int);
3777166: }
3777166:
3777166: template<std::size_t _Int, typename _Tp, std::size_t _Nm>
3777166: constexpr _Tp&&
3777166: get(array<_Tp, _Nm>&& __arr) noexcept
3777166: {
3777166: static_assert(_Int < _Nm, "array index is within bounds");
3777166: return std::move(std::get<_Int>(__arr));
3777166: }
3777166:
3777166: template<std::size_t _Int, typename _Tp, std::size_t _Nm>
3777166: constexpr const _Tp&
3777166: get(const array<_Tp, _Nm>& __arr) noexcept
3777166: {
3777166: static_assert(_Int < _Nm, "array index is within bounds");
3777166: return std::__array_traits<_Tp, _Nm>::
3777166: _S_ref(__arr._M_elems, _Int);
3777166: }
3777166:
3777166: template<std::size_t _Int, typename _Tp, std::size_t _Nm>
3777166: constexpr const _Tp&&
3777166: get(const array<_Tp, _Nm>&& __arr) noexcept
3777166: {
3777166: static_assert(_Int < _Nm, "array index is within bounds");
3777166: return std::move(std::get<_Int>(__arr));
3777166: }
3777166: # 404 "/usr/include/c++/10/array" 3
3777166:
3777166: }
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct tuple_size;
3777166:
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166: struct tuple_size<std::array<_Tp, _Nm>>
3777166: : public integral_constant<std::size_t, _Nm> { };
3777166:
3777166:
3777166: template<std::size_t _Int, typename _Tp>
3777166: struct tuple_element;
3777166:
3777166:
3777166: template<std::size_t _Int, typename _Tp, std::size_t _Nm>
3777166: struct tuple_element<_Int, std::array<_Tp, _Nm>>
3777166: {
3777166: static_assert(_Int < _Nm, "index is out of bounds");
3777166: typedef _Tp type;
3777166: };
3777166:
3777166: template<typename _Tp, std::size_t _Nm>
3777166: struct __is_tuple_like_impl<std::array<_Tp, _Nm>> : true_type
3777166: { };
3777166:
3777166:
3777166: }
3777166: # 40 "/usr/include/c++/10/tuple" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/invoke.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/invoke.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/invoke.h" 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 52 "/usr/include/c++/10/bits/invoke.h" 3
3777166: template<typename _Tp, typename _Up = typename __inv_unwrap<_Tp>::type>
3777166: constexpr _Up&&
3777166: __invfwd(typename remove_reference<_Tp>::type& __t) noexcept
3777166: { return static_cast<_Up&&>(__t); }
3777166:
3777166: template<typename _Res, typename _Fn, typename... _Args>
3777166: constexpr _Res
3777166: __invoke_impl(__invoke_other, _Fn&& __f, _Args&&... __args)
3777166: { return std::forward<_Fn>(__f)(std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Res, typename _MemFun, typename _Tp, typename... _Args>
3777166: constexpr _Res
3777166: __invoke_impl(__invoke_memfun_ref, _MemFun&& __f, _Tp&& __t,
3777166: _Args&&... __args)
3777166: { return (__invfwd<_Tp>(__t).*__f)(std::forward<_Args>(__args)...); }
3777166:
3777166: template<typename _Res, typename _MemFun, typename _Tp, typename... _Args>
3777166: constexpr _Res
3777166: __invoke_impl(__invoke_memfun_deref, _MemFun&& __f, _Tp&& __t,
3777166: _Args&&... __args)
3777166: {
3777166: return ((*std::forward<_Tp>(__t)).*__f)(std::forward<_Args>(__args)...);
3777166: }
3777166:
3777166: template<typename _Res, typename _MemPtr, typename _Tp>
3777166: constexpr _Res
3777166: __invoke_impl(__invoke_memobj_ref, _MemPtr&& __f, _Tp&& __t)
3777166: { return __invfwd<_Tp>(__t).*__f; }
3777166:
3777166: template<typename _Res, typename _MemPtr, typename _Tp>
3777166: constexpr _Res
3777166: __invoke_impl(__invoke_memobj_deref, _MemPtr&& __f, _Tp&& __t)
3777166: { return (*std::forward<_Tp>(__t)).*__f; }
3777166:
3777166:
3777166: template<typename _Callable, typename... _Args>
3777166: constexpr typename __invoke_result<_Callable, _Args...>::type
3777166: __invoke(_Callable&& __fn, _Args&&... __args)
3777166: noexcept(__is_nothrow_invocable<_Callable, _Args...>::value)
3777166: {
3777166: using __result = __invoke_result<_Callable, _Args...>;
3777166: using __type = typename __result::type;
3777166: using __tag = typename __result::__invoke_type;
3777166: return std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn),
3777166: std::forward<_Args>(__args)...);
3777166: }
3777166:
3777166:
3777166:
3777166: template<typename _Res, typename _Callable, typename... _Args>
3777166: constexpr enable_if_t<is_invocable_r_v<_Res, _Callable, _Args...>, _Res>
3777166: __invoke_r(_Callable&& __fn, _Args&&... __args)
3777166: noexcept(is_nothrow_invocable_r_v<_Res, _Callable, _Args...>)
3777166: {
3777166: using __result = __invoke_result<_Callable, _Args...>;
3777166: using __type = typename __result::type;
3777166: using __tag = typename __result::__invoke_type;
3777166: if constexpr (is_void_v<_Res>)
3777166: std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn),
3777166: std::forward<_Args>(__args)...);
3777166: else
3777166: return std::__invoke_impl<__type>(__tag{},
3777166: std::forward<_Callable>(__fn),
3777166: std::forward<_Args>(__args)...);
3777166: }
3777166: # 158 "/usr/include/c++/10/bits/invoke.h" 3
3777166:
3777166: }
3777166: # 42 "/usr/include/c++/10/tuple" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: class tuple;
3777166:
3777166: template<typename _Tp>
3777166: struct __is_empty_non_tuple : is_empty<_Tp> { };
3777166:
3777166:
3777166: template<typename _El0, typename... _El>
3777166: struct __is_empty_non_tuple<tuple<_El0, _El...>> : false_type { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: using __empty_not_final
3777166: = typename conditional<__is_final(_Tp), false_type,
3777166: __is_empty_non_tuple<_Tp>>::type;
3777166:
3777166: template<std::size_t _Idx, typename _Head,
3777166: bool = __empty_not_final<_Head>::value>
3777166: struct _Head_base;
3777166:
3777166: template<std::size_t _Idx, typename _Head>
3777166: struct _Head_base<_Idx, _Head, true>
3777166: : public _Head
3777166: {
3777166: constexpr _Head_base()
3777166: : _Head() { }
3777166:
3777166: constexpr _Head_base(const _Head& __h)
3777166: : _Head(__h) { }
3777166:
3777166: constexpr _Head_base(const _Head_base&) = default;
3777166: constexpr _Head_base(_Head_base&&) = default;
3777166:
3777166: template<typename _UHead>
3777166: constexpr _Head_base(_UHead&& __h)
3777166: : _Head(std::forward<_UHead>(__h)) { }
3777166:
3777166: _Head_base(allocator_arg_t, __uses_alloc0)
3777166: : _Head() { }
3777166:
3777166: template<typename _Alloc>
3777166: _Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a)
3777166: : _Head(allocator_arg, *__a._M_a) { }
3777166:
3777166: template<typename _Alloc>
3777166: _Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a)
3777166: : _Head(*__a._M_a) { }
3777166:
3777166: template<typename _UHead>
3777166: _Head_base(__uses_alloc0, _UHead&& __uhead)
3777166: : _Head(std::forward<_UHead>(__uhead)) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166: _Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead)
3777166: : _Head(allocator_arg, *__a._M_a, std::forward<_UHead>(__uhead)) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166: _Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead)
3777166: : _Head(std::forward<_UHead>(__uhead), *__a._M_a) { }
3777166:
3777166: static constexpr _Head&
3777166: _M_head(_Head_base& __b) noexcept { return __b; }
3777166:
3777166: static constexpr const _Head&
3777166: _M_head(const _Head_base& __b) noexcept { return __b; }
3777166: };
3777166:
3777166: template<std::size_t _Idx, typename _Head>
3777166: struct _Head_base<_Idx, _Head, false>
3777166: {
3777166: constexpr _Head_base()
3777166: : _M_head_impl() { }
3777166:
3777166: constexpr _Head_base(const _Head& __h)
3777166: : _M_head_impl(__h) { }
3777166:
3777166: constexpr _Head_base(const _Head_base&) = default;
3777166: constexpr _Head_base(_Head_base&&) = default;
3777166:
3777166: template<typename _UHead>
3777166: constexpr _Head_base(_UHead&& __h)
3777166: : _M_head_impl(std::forward<_UHead>(__h)) { }
3777166:
3777166:
3777166: _Head_base(allocator_arg_t, __uses_alloc0)
3777166: : _M_head_impl() { }
3777166:
3777166: template<typename _Alloc>
3777166: _Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a)
3777166: : _M_head_impl(allocator_arg, *__a._M_a) { }
3777166:
3777166: template<typename _Alloc>
3777166: _Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a)
3777166: : _M_head_impl(*__a._M_a) { }
3777166:
3777166: template<typename _UHead>
3777166:
3777166: _Head_base(__uses_alloc0, _UHead&& __uhead)
3777166: : _M_head_impl(std::forward<_UHead>(__uhead)) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166: _Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead)
3777166: : _M_head_impl(allocator_arg, *__a._M_a, std::forward<_UHead>(__uhead))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166: _Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead)
3777166: : _M_head_impl(std::forward<_UHead>(__uhead), *__a._M_a) { }
3777166:
3777166: static constexpr _Head&
3777166: _M_head(_Head_base& __b) noexcept { return __b._M_head_impl; }
3777166:
3777166: static constexpr const _Head&
3777166: _M_head(const _Head_base& __b) noexcept { return __b._M_head_impl; }
3777166:
3777166: _Head _M_head_impl;
3777166: };
3777166: # 182 "/usr/include/c++/10/tuple" 3
3777166: template<std::size_t _Idx, typename... _Elements>
3777166: struct _Tuple_impl;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<std::size_t _Idx, typename _Head, typename... _Tail>
3777166: struct _Tuple_impl<_Idx, _Head, _Tail...>
3777166: : public _Tuple_impl<_Idx + 1, _Tail...>,
3777166: private _Head_base<_Idx, _Head>
3777166: {
3777166: template<std::size_t, typename...> friend class _Tuple_impl;
3777166:
3777166: typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited;
3777166: typedef _Head_base<_Idx, _Head> _Base;
3777166:
3777166: static constexpr _Head&
3777166: _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); }
3777166:
3777166: static constexpr const _Head&
3777166: _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); }
3777166:
3777166: static constexpr _Inherited&
3777166: _M_tail(_Tuple_impl& __t) noexcept { return __t; }
3777166:
3777166: static constexpr const _Inherited&
3777166: _M_tail(const _Tuple_impl& __t) noexcept { return __t; }
3777166:
3777166: constexpr _Tuple_impl()
3777166: : _Inherited(), _Base() { }
3777166:
3777166: explicit
3777166: constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
3777166: : _Inherited(__tail...), _Base(__head) { }
3777166:
3777166: template<typename _UHead, typename... _UTail, typename = typename
3777166: enable_if<sizeof...(_Tail) == sizeof...(_UTail)>::type>
3777166: explicit
3777166: constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
3777166: : _Inherited(std::forward<_UTail>(__tail)...),
3777166: _Base(std::forward<_UHead>(__head)) { }
3777166:
3777166: constexpr _Tuple_impl(const _Tuple_impl&) = default;
3777166:
3777166:
3777166:
3777166: _Tuple_impl& operator=(const _Tuple_impl&) = delete;
3777166:
3777166: constexpr
3777166: _Tuple_impl(_Tuple_impl&& __in)
3777166: noexcept(__and_<is_nothrow_move_constructible<_Head>,
3777166: is_nothrow_move_constructible<_Inherited>>::value)
3777166: : _Inherited(std::move(_M_tail(__in))),
3777166: _Base(std::forward<_Head>(_M_head(__in))) { }
3777166:
3777166: template<typename... _UElements>
3777166: constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
3777166: : _Inherited(_Tuple_impl<_Idx, _UElements...>::_M_tail(__in)),
3777166: _Base(_Tuple_impl<_Idx, _UElements...>::_M_head(__in)) { }
3777166:
3777166: template<typename _UHead, typename... _UTails>
3777166: constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
3777166: : _Inherited(std::move
3777166: (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in))),
3777166: _Base(std::forward<_UHead>
3777166: (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in))) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
3777166: : _Inherited(__tag, __a),
3777166: _Base(__tag, __use_alloc<_Head>(__a)) { }
3777166:
3777166: template<typename _Alloc>
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Head& __head, const _Tail&... __tail)
3777166: : _Inherited(__tag, __a, __tail...),
3777166: _Base(__use_alloc<_Head, _Alloc, _Head>(__a), __head) { }
3777166:
3777166: template<typename _Alloc, typename _UHead, typename... _UTail,
3777166: typename = typename enable_if<sizeof...(_Tail)
3777166: == sizeof...(_UTail)>::type>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _UHead&& __head, _UTail&&... __tail)
3777166: : _Inherited(__tag, __a, std::forward<_UTail>(__tail)...),
3777166: _Base(__use_alloc<_Head, _Alloc, _UHead>(__a),
3777166: std::forward<_UHead>(__head)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Tuple_impl& __in)
3777166: : _Inherited(__tag, __a, _M_tail(__in)),
3777166: _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _M_head(__in)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _Tuple_impl&& __in)
3777166: : _Inherited(__tag, __a, std::move(_M_tail(__in))),
3777166: _Base(__use_alloc<_Head, _Alloc, _Head>(__a),
3777166: std::forward<_Head>(_M_head(__in))) { }
3777166:
3777166: template<typename _Alloc, typename... _UElements>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Tuple_impl<_Idx, _UElements...>& __in)
3777166: : _Inherited(__tag, __a,
3777166: _Tuple_impl<_Idx, _UElements...>::_M_tail(__in)),
3777166: _Base(__use_alloc<_Head, _Alloc, _Head>(__a),
3777166: _Tuple_impl<_Idx, _UElements...>::_M_head(__in)) { }
3777166:
3777166: template<typename _Alloc, typename _UHead, typename... _UTails>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
3777166: : _Inherited(__tag, __a, std::move
3777166: (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in))),
3777166: _Base(__use_alloc<_Head, _Alloc, _UHead>(__a),
3777166: std::forward<_UHead>
3777166: (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in))) { }
3777166:
3777166: template<typename... _UElements>
3777166:
3777166: void
3777166: _M_assign(const _Tuple_impl<_Idx, _UElements...>& __in)
3777166: {
3777166: _M_head(*this) = _Tuple_impl<_Idx, _UElements...>::_M_head(__in);
3777166: _M_tail(*this)._M_assign(
3777166: _Tuple_impl<_Idx, _UElements...>::_M_tail(__in));
3777166: }
3777166:
3777166: template<typename _UHead, typename... _UTails>
3777166:
3777166: void
3777166: _M_assign(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
3777166: {
3777166: _M_head(*this) = std::forward<_UHead>
3777166: (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in));
3777166: _M_tail(*this)._M_assign(
3777166: std::move(_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in)));
3777166: }
3777166:
3777166: protected:
3777166:
3777166: void
3777166: _M_swap(_Tuple_impl& __in)
3777166: {
3777166: using std::swap;
3777166: swap(_M_head(*this), _M_head(__in));
3777166: _Inherited::_M_swap(_M_tail(__in));
3777166: }
3777166: };
3777166:
3777166:
3777166: template<std::size_t _Idx, typename _Head>
3777166: struct _Tuple_impl<_Idx, _Head>
3777166: : private _Head_base<_Idx, _Head>
3777166: {
3777166: template<std::size_t, typename...> friend class _Tuple_impl;
3777166:
3777166: typedef _Head_base<_Idx, _Head> _Base;
3777166:
3777166: static constexpr _Head&
3777166: _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); }
3777166:
3777166: static constexpr const _Head&
3777166: _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); }
3777166:
3777166: constexpr _Tuple_impl()
3777166: : _Base() { }
3777166:
3777166: explicit
3777166: constexpr _Tuple_impl(const _Head& __head)
3777166: : _Base(__head) { }
3777166:
3777166: template<typename _UHead>
3777166: explicit
3777166: constexpr _Tuple_impl(_UHead&& __head)
3777166: : _Base(std::forward<_UHead>(__head)) { }
3777166:
3777166: constexpr _Tuple_impl(const _Tuple_impl&) = default;
3777166:
3777166:
3777166:
3777166: _Tuple_impl& operator=(const _Tuple_impl&) = delete;
3777166:
3777166: constexpr
3777166: _Tuple_impl(_Tuple_impl&& __in)
3777166: noexcept(is_nothrow_move_constructible<_Head>::value)
3777166: : _Base(std::forward<_Head>(_M_head(__in))) { }
3777166:
3777166: template<typename _UHead>
3777166: constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
3777166: : _Base(_Tuple_impl<_Idx, _UHead>::_M_head(__in)) { }
3777166:
3777166: template<typename _UHead>
3777166: constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
3777166: : _Base(std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in)))
3777166: { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
3777166: : _Base(__tag, __use_alloc<_Head>(__a)) { }
3777166:
3777166: template<typename _Alloc>
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Head& __head)
3777166: : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), __head) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _UHead&& __head)
3777166: : _Base(__use_alloc<_Head, _Alloc, _UHead>(__a),
3777166: std::forward<_UHead>(__head)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Tuple_impl& __in)
3777166: : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _M_head(__in)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _Tuple_impl&& __in)
3777166: : _Base(__use_alloc<_Head, _Alloc, _Head>(__a),
3777166: std::forward<_Head>(_M_head(__in))) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Tuple_impl<_Idx, _UHead>& __in)
3777166: : _Base(__use_alloc<_Head, _Alloc, _Head>(__a),
3777166: _Tuple_impl<_Idx, _UHead>::_M_head(__in)) { }
3777166:
3777166: template<typename _Alloc, typename _UHead>
3777166:
3777166: _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
3777166: _Tuple_impl<_Idx, _UHead>&& __in)
3777166: : _Base(__use_alloc<_Head, _Alloc, _UHead>(__a),
3777166: std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in)))
3777166: { }
3777166:
3777166: template<typename _UHead>
3777166:
3777166: void
3777166: _M_assign(const _Tuple_impl<_Idx, _UHead>& __in)
3777166: {
3777166: _M_head(*this) = _Tuple_impl<_Idx, _UHead>::_M_head(__in);
3777166: }
3777166:
3777166: template<typename _UHead>
3777166:
3777166: void
3777166: _M_assign(_Tuple_impl<_Idx, _UHead>&& __in)
3777166: {
3777166: _M_head(*this)
3777166: = std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in));
3777166: }
3777166:
3777166: protected:
3777166:
3777166: void
3777166: _M_swap(_Tuple_impl& __in)
3777166: {
3777166: using std::swap;
3777166: swap(_M_head(*this), _M_head(__in));
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: template<bool, typename... _Types>
3777166: struct _TupleConstraints
3777166: {
3777166:
3777166:
3777166:
3777166: template<typename... _UTypes>
3777166: static constexpr bool __is_implicitly_constructible()
3777166: {
3777166: return __and_<is_constructible<_Types, _UTypes>...,
3777166: is_convertible<_UTypes, _Types>...
3777166: >::value;
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename... _UTypes>
3777166: static constexpr bool __is_explicitly_constructible()
3777166: {
3777166: return __and_<is_constructible<_Types, _UTypes>...,
3777166: __not_<__and_<is_convertible<_UTypes, _Types>...>>
3777166: >::value;
3777166: }
3777166:
3777166: static constexpr bool __is_implicitly_default_constructible()
3777166: {
3777166: return __and_<std::__is_implicitly_default_constructible<_Types>...
3777166: >::value;
3777166: }
3777166:
3777166: static constexpr bool __is_explicitly_default_constructible()
3777166: {
3777166: return __and_<is_default_constructible<_Types>...,
3777166: __not_<__and_<
3777166: std::__is_implicitly_default_constructible<_Types>...>
3777166: >>::value;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename... _Types>
3777166: struct _TupleConstraints<false, _Types...>
3777166: {
3777166: template<typename... _UTypes>
3777166: static constexpr bool __is_implicitly_constructible()
3777166: { return false; }
3777166:
3777166: template<typename... _UTypes>
3777166: static constexpr bool __is_explicitly_constructible()
3777166: { return false; }
3777166: };
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: class tuple : public _Tuple_impl<0, _Elements...>
3777166: {
3777166: typedef _Tuple_impl<0, _Elements...> _Inherited;
3777166:
3777166: template<bool _Cond>
3777166: using _TCC = _TupleConstraints<_Cond, _Elements...>;
3777166:
3777166:
3777166: template<bool _Dummy>
3777166: using _ImplicitDefaultCtor = __enable_if_t<
3777166: _TCC<_Dummy>::__is_implicitly_default_constructible(),
3777166: bool>;
3777166:
3777166:
3777166: template<bool _Dummy>
3777166: using _ExplicitDefaultCtor = __enable_if_t<
3777166: _TCC<_Dummy>::__is_explicitly_default_constructible(),
3777166: bool>;
3777166:
3777166:
3777166: template<bool _Cond, typename... _Args>
3777166: using _ImplicitCtor = __enable_if_t<
3777166: _TCC<_Cond>::template __is_implicitly_constructible<_Args...>(),
3777166: bool>;
3777166:
3777166:
3777166: template<bool _Cond, typename... _Args>
3777166: using _ExplicitCtor = __enable_if_t<
3777166: _TCC<_Cond>::template __is_explicitly_constructible<_Args...>(),
3777166: bool>;
3777166:
3777166: template<typename... _UElements>
3777166: static constexpr
3777166: __enable_if_t<sizeof...(_UElements) == sizeof...(_Elements), bool>
3777166: __assignable()
3777166: { return __and_<is_assignable<_Elements&, _UElements>...>::value; }
3777166:
3777166:
3777166: template<typename... _UElements>
3777166: static constexpr bool __nothrow_assignable()
3777166: {
3777166: return
3777166: __and_<is_nothrow_assignable<_Elements&, _UElements>...>::value;
3777166: }
3777166:
3777166:
3777166: template<typename... _UElements>
3777166: static constexpr bool __nothrow_constructible()
3777166: {
3777166: return
3777166: __and_<is_nothrow_constructible<_Elements, _UElements>...>::value;
3777166: }
3777166:
3777166:
3777166: template<typename _Up>
3777166: static constexpr bool __valid_args()
3777166: {
3777166: return sizeof...(_Elements) == 1
3777166: && !is_same<tuple, __remove_cvref_t<_Up>>::value;
3777166: }
3777166:
3777166:
3777166: template<typename, typename, typename... _Tail>
3777166: static constexpr bool __valid_args()
3777166: { return (sizeof...(_Tail) + 2) == sizeof...(_Elements); }
3777166: # 591 "/usr/include/c++/10/tuple" 3
3777166: template<typename _Tuple, typename = tuple,
3777166: typename = __remove_cvref_t<_Tuple>>
3777166: struct _UseOtherCtor
3777166: : false_type
3777166: { };
3777166:
3777166:
3777166: template<typename _Tuple, typename _Tp, typename _Up>
3777166: struct _UseOtherCtor<_Tuple, tuple<_Tp>, tuple<_Up>>
3777166: : __or_<is_convertible<_Tuple, _Tp>, is_constructible<_Tp, _Tuple>>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tuple, typename _Tp>
3777166: struct _UseOtherCtor<_Tuple, tuple<_Tp>, tuple<_Tp>>
3777166: : true_type
3777166: { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tuple>
3777166: static constexpr bool __use_other_ctor()
3777166: { return _UseOtherCtor<_Tuple>::value; }
3777166:
3777166: public:
3777166: template<typename _Dummy = void,
3777166: _ImplicitDefaultCtor<is_void<_Dummy>::value> = true>
3777166: constexpr
3777166: tuple()
3777166: noexcept(__and_<is_nothrow_default_constructible<_Elements>...>::value)
3777166: : _Inherited() { }
3777166:
3777166: template<typename _Dummy = void,
3777166: _ExplicitDefaultCtor<is_void<_Dummy>::value> = false>
3777166: explicit constexpr
3777166: tuple()
3777166: noexcept(__and_<is_nothrow_default_constructible<_Elements>...>::value)
3777166: : _Inherited() { }
3777166:
3777166: template<bool _NotEmpty = (sizeof...(_Elements) >= 1),
3777166: _ImplicitCtor<_NotEmpty, const _Elements&...> = true>
3777166: constexpr
3777166: tuple(const _Elements&... __elements)
3777166: noexcept(__nothrow_constructible<const _Elements&...>())
3777166: : _Inherited(__elements...) { }
3777166:
3777166: template<bool _NotEmpty = (sizeof...(_Elements) >= 1),
3777166: _ExplicitCtor<_NotEmpty, const _Elements&...> = false>
3777166: explicit constexpr
3777166: tuple(const _Elements&... __elements)
3777166: noexcept(__nothrow_constructible<const _Elements&...>())
3777166: : _Inherited(__elements...) { }
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = __valid_args<_UElements...>(),
3777166: _ImplicitCtor<_Valid, _UElements...> = true>
3777166: constexpr
3777166: tuple(_UElements&&... __elements)
3777166: noexcept(__nothrow_constructible<_UElements...>())
3777166: : _Inherited(std::forward<_UElements>(__elements)...) { }
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = __valid_args<_UElements...>(),
3777166: _ExplicitCtor<_Valid, _UElements...> = false>
3777166: explicit constexpr
3777166: tuple(_UElements&&... __elements)
3777166: noexcept(__nothrow_constructible<_UElements...>())
3777166: : _Inherited(std::forward<_UElements>(__elements)...) { }
3777166:
3777166: constexpr tuple(const tuple&) = default;
3777166:
3777166: constexpr tuple(tuple&&) = default;
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<const tuple<_UElements...>&>(),
3777166: _ImplicitCtor<_Valid, const _UElements&...> = true>
3777166: constexpr
3777166: tuple(const tuple<_UElements...>& __in)
3777166: noexcept(__nothrow_constructible<const _UElements&...>())
3777166: : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(__in))
3777166: { }
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<const tuple<_UElements...>&>(),
3777166: _ExplicitCtor<_Valid, const _UElements&...> = false>
3777166: explicit constexpr
3777166: tuple(const tuple<_UElements...>& __in)
3777166: noexcept(__nothrow_constructible<const _UElements&...>())
3777166: : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(__in))
3777166: { }
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<tuple<_UElements...>&&>(),
3777166: _ImplicitCtor<_Valid, _UElements...> = true>
3777166: constexpr
3777166: tuple(tuple<_UElements...>&& __in)
3777166: noexcept(__nothrow_constructible<_UElements...>())
3777166: : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { }
3777166:
3777166: template<typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<tuple<_UElements...>&&>(),
3777166: _ExplicitCtor<_Valid, _UElements...> = false>
3777166: explicit constexpr
3777166: tuple(tuple<_UElements...>&& __in)
3777166: noexcept(__nothrow_constructible<_UElements...>())
3777166: : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { }
3777166:
3777166:
3777166:
3777166: template<typename _Alloc,
3777166: _ImplicitDefaultCtor<is_object<_Alloc>::value> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a)
3777166: : _Inherited(__tag, __a) { }
3777166:
3777166: template<typename _Alloc, bool _NotEmpty = (sizeof...(_Elements) >= 1),
3777166: _ImplicitCtor<_NotEmpty, const _Elements&...> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Elements&... __elements)
3777166: : _Inherited(__tag, __a, __elements...) { }
3777166:
3777166: template<typename _Alloc, bool _NotEmpty = (sizeof...(_Elements) >= 1),
3777166: _ExplicitCtor<_NotEmpty, const _Elements&...> = false>
3777166:
3777166: explicit
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _Elements&... __elements)
3777166: : _Inherited(__tag, __a, __elements...) { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = __valid_args<_UElements...>(),
3777166: _ImplicitCtor<_Valid, _UElements...> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: _UElements&&... __elements)
3777166: : _Inherited(__tag, __a, std::forward<_UElements>(__elements)...)
3777166: { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = __valid_args<_UElements...>(),
3777166: _ExplicitCtor<_Valid, _UElements...> = false>
3777166:
3777166: explicit
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: _UElements&&... __elements)
3777166: : _Inherited(__tag, __a, std::forward<_UElements>(__elements)...)
3777166: { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
3777166: : _Inherited(__tag, __a, static_cast<const _Inherited&>(__in)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
3777166: : _Inherited(__tag, __a, static_cast<_Inherited&&>(__in)) { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<const tuple<_UElements...>&>(),
3777166: _ImplicitCtor<_Valid, const _UElements&...> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const tuple<_UElements...>& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<const _Tuple_impl<0, _UElements...>&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<const tuple<_UElements...>&>(),
3777166: _ExplicitCtor<_Valid, const _UElements&...> = false>
3777166:
3777166: explicit
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const tuple<_UElements...>& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<const _Tuple_impl<0, _UElements...>&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<tuple<_UElements...>&&>(),
3777166: _ImplicitCtor<_Valid, _UElements...> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: tuple<_UElements...>&& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<_Tuple_impl<0, _UElements...>&&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename... _UElements,
3777166: bool _Valid = (sizeof...(_Elements) == sizeof...(_UElements))
3777166: && !__use_other_ctor<tuple<_UElements...>&&>(),
3777166: _ExplicitCtor<_Valid, _UElements...> = false>
3777166:
3777166: explicit
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: tuple<_UElements...>&& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<_Tuple_impl<0, _UElements...>&&>(__in))
3777166: { }
3777166:
3777166:
3777166:
3777166:
3777166: tuple&
3777166: operator=(typename conditional<__assignable<const _Elements&...>(),
3777166: const tuple&,
3777166: const __nonesuch&>::type __in)
3777166: noexcept(__nothrow_assignable<const _Elements&...>())
3777166: {
3777166: this->_M_assign(__in);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: tuple&
3777166: operator=(typename conditional<__assignable<_Elements...>(),
3777166: tuple&&,
3777166: __nonesuch&&>::type __in)
3777166: noexcept(__nothrow_assignable<_Elements...>())
3777166: {
3777166: this->_M_assign(std::move(__in));
3777166: return *this;
3777166: }
3777166:
3777166: template<typename... _UElements>
3777166:
3777166: __enable_if_t<__assignable<const _UElements&...>(), tuple&>
3777166: operator=(const tuple<_UElements...>& __in)
3777166: noexcept(__nothrow_assignable<const _UElements&...>())
3777166: {
3777166: this->_M_assign(__in);
3777166: return *this;
3777166: }
3777166:
3777166: template<typename... _UElements>
3777166:
3777166: __enable_if_t<__assignable<_UElements...>(), tuple&>
3777166: operator=(tuple<_UElements...>&& __in)
3777166: noexcept(__nothrow_assignable<_UElements...>())
3777166: {
3777166: this->_M_assign(std::move(__in));
3777166: return *this;
3777166: }
3777166:
3777166:
3777166:
3777166: void
3777166: swap(tuple& __in)
3777166: noexcept(__and_<__is_nothrow_swappable<_Elements>...>::value)
3777166: { _Inherited::_M_swap(__in); }
3777166: };
3777166:
3777166:
3777166: template<typename... _UTypes>
3777166: tuple(_UTypes...) -> tuple<_UTypes...>;
3777166: template<typename _T1, typename _T2>
3777166: tuple(pair<_T1, _T2>) -> tuple<_T1, _T2>;
3777166: template<typename _Alloc, typename... _UTypes>
3777166: tuple(allocator_arg_t, _Alloc, _UTypes...) -> tuple<_UTypes...>;
3777166: template<typename _Alloc, typename _T1, typename _T2>
3777166: tuple(allocator_arg_t, _Alloc, pair<_T1, _T2>) -> tuple<_T1, _T2>;
3777166: template<typename _Alloc, typename... _UTypes>
3777166: tuple(allocator_arg_t, _Alloc, tuple<_UTypes...>) -> tuple<_UTypes...>;
3777166:
3777166:
3777166:
3777166: template<>
3777166: class tuple<>
3777166: {
3777166: public:
3777166: void swap(tuple&) noexcept { }
3777166:
3777166:
3777166: tuple() = default;
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t, const _Alloc&) noexcept { }
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t, const _Alloc&, const tuple&) noexcept { }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _T1, typename _T2>
3777166: class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
3777166: {
3777166: typedef _Tuple_impl<0, _T1, _T2> _Inherited;
3777166:
3777166:
3777166: template<bool _Dummy, typename _U1, typename _U2>
3777166: using _ImplicitDefaultCtor = __enable_if_t<
3777166: _TupleConstraints<_Dummy, _U1, _U2>::
3777166: __is_implicitly_default_constructible(),
3777166: bool>;
3777166:
3777166:
3777166: template<bool _Dummy, typename _U1, typename _U2>
3777166: using _ExplicitDefaultCtor = __enable_if_t<
3777166: _TupleConstraints<_Dummy, _U1, _U2>::
3777166: __is_explicitly_default_constructible(),
3777166: bool>;
3777166:
3777166: template<bool _Dummy>
3777166: using _TCC = _TupleConstraints<_Dummy, _T1, _T2>;
3777166:
3777166:
3777166: template<bool _Cond, typename _U1, typename _U2>
3777166: using _ImplicitCtor = __enable_if_t<
3777166: _TCC<_Cond>::template __is_implicitly_constructible<_U1, _U2>(),
3777166: bool>;
3777166:
3777166:
3777166: template<bool _Cond, typename _U1, typename _U2>
3777166: using _ExplicitCtor = __enable_if_t<
3777166: _TCC<_Cond>::template __is_explicitly_constructible<_U1, _U2>(),
3777166: bool>;
3777166:
3777166: template<typename _U1, typename _U2>
3777166: static constexpr bool __assignable()
3777166: {
3777166: return __and_<is_assignable<_T1&, _U1>,
3777166: is_assignable<_T2&, _U2>>::value;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166: static constexpr bool __nothrow_assignable()
3777166: {
3777166: return __and_<is_nothrow_assignable<_T1&, _U1>,
3777166: is_nothrow_assignable<_T2&, _U2>>::value;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166: static constexpr bool __nothrow_constructible()
3777166: {
3777166: return __and_<is_nothrow_constructible<_T1, _U1>,
3777166: is_nothrow_constructible<_T2, _U2>>::value;
3777166: }
3777166:
3777166: static constexpr bool __nothrow_default_constructible()
3777166: {
3777166: return __and_<is_nothrow_default_constructible<_T1>,
3777166: is_nothrow_default_constructible<_T2>>::value;
3777166: }
3777166:
3777166: template<typename _U1>
3777166: static constexpr bool __is_alloc_arg()
3777166: { return is_same<__remove_cvref_t<_U1>, allocator_arg_t>::value; }
3777166:
3777166: public:
3777166: template<bool _Dummy = true,
3777166: _ImplicitDefaultCtor<_Dummy, _T1, _T2> = true>
3777166: constexpr
3777166: tuple()
3777166: noexcept(__nothrow_default_constructible())
3777166: : _Inherited() { }
3777166:
3777166: template<bool _Dummy = true,
3777166: _ExplicitDefaultCtor<_Dummy, _T1, _T2> = false>
3777166: explicit constexpr
3777166: tuple()
3777166: noexcept(__nothrow_default_constructible())
3777166: : _Inherited() { }
3777166:
3777166: template<bool _Dummy = true,
3777166: _ImplicitCtor<_Dummy, const _T1&, const _T2&> = true>
3777166: constexpr
3777166: tuple(const _T1& __a1, const _T2& __a2)
3777166: noexcept(__nothrow_constructible<const _T1&, const _T2&>())
3777166: : _Inherited(__a1, __a2) { }
3777166:
3777166: template<bool _Dummy = true,
3777166: _ExplicitCtor<_Dummy, const _T1&, const _T2&> = false>
3777166: explicit constexpr
3777166: tuple(const _T1& __a1, const _T2& __a2)
3777166: noexcept(__nothrow_constructible<const _T1&, const _T2&>())
3777166: : _Inherited(__a1, __a2) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ImplicitCtor<!__is_alloc_arg<_U1>(), _U1, _U2> = true>
3777166: constexpr
3777166: tuple(_U1&& __a1, _U2&& __a2)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ExplicitCtor<!__is_alloc_arg<_U1>(), _U1, _U2> = false>
3777166: explicit constexpr
3777166: tuple(_U1&& __a1, _U2&& __a2)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { }
3777166:
3777166: constexpr tuple(const tuple&) = default;
3777166:
3777166: constexpr tuple(tuple&&) = default;
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ImplicitCtor<true, const _U1&, const _U2&> = true>
3777166: constexpr
3777166: tuple(const tuple<_U1, _U2>& __in)
3777166: noexcept(__nothrow_constructible<const _U1&, const _U2&>())
3777166: : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(__in)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ExplicitCtor<true, const _U1&, const _U2&> = false>
3777166: explicit constexpr
3777166: tuple(const tuple<_U1, _U2>& __in)
3777166: noexcept(__nothrow_constructible<const _U1&, const _U2&>())
3777166: : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(__in)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ImplicitCtor<true, _U1, _U2> = true>
3777166: constexpr
3777166: tuple(tuple<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ExplicitCtor<true, _U1, _U2> = false>
3777166: explicit constexpr
3777166: tuple(tuple<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ImplicitCtor<true, const _U1&, const _U2&> = true>
3777166: constexpr
3777166: tuple(const pair<_U1, _U2>& __in)
3777166: noexcept(__nothrow_constructible<const _U1&, const _U2&>())
3777166: : _Inherited(__in.first, __in.second) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ExplicitCtor<true, const _U1&, const _U2&> = false>
3777166: explicit constexpr
3777166: tuple(const pair<_U1, _U2>& __in)
3777166: noexcept(__nothrow_constructible<const _U1&, const _U2&>())
3777166: : _Inherited(__in.first, __in.second) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ImplicitCtor<true, _U1, _U2> = true>
3777166: constexpr
3777166: tuple(pair<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(std::forward<_U1>(__in.first),
3777166: std::forward<_U2>(__in.second)) { }
3777166:
3777166: template<typename _U1, typename _U2,
3777166: _ExplicitCtor<true, _U1, _U2> = false>
3777166: explicit constexpr
3777166: tuple(pair<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_constructible<_U1, _U2>())
3777166: : _Inherited(std::forward<_U1>(__in.first),
3777166: std::forward<_U2>(__in.second)) { }
3777166:
3777166:
3777166:
3777166: template<typename _Alloc,
3777166: _ImplicitDefaultCtor<is_object<_Alloc>::value, _T1, _T2> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a)
3777166: : _Inherited(__tag, __a) { }
3777166:
3777166: template<typename _Alloc, bool _Dummy = true,
3777166: _ImplicitCtor<_Dummy, const _T1&, const _T2&> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _T1& __a1, const _T2& __a2)
3777166: : _Inherited(__tag, __a, __a1, __a2) { }
3777166:
3777166: template<typename _Alloc, bool _Dummy = true,
3777166: _ExplicitCtor<_Dummy, const _T1&, const _T2&> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const _T1& __a1, const _T2& __a2)
3777166: : _Inherited(__tag, __a, __a1, __a2) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ImplicitCtor<true, _U1, _U2> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2)
3777166: : _Inherited(__tag, __a, std::forward<_U1>(__a1),
3777166: std::forward<_U2>(__a2)) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ExplicitCtor<true, _U1, _U2> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: _U1&& __a1, _U2&& __a2)
3777166: : _Inherited(__tag, __a, std::forward<_U1>(__a1),
3777166: std::forward<_U2>(__a2)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
3777166: : _Inherited(__tag, __a, static_cast<const _Inherited&>(__in)) { }
3777166:
3777166: template<typename _Alloc>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
3777166: : _Inherited(__tag, __a, static_cast<_Inherited&&>(__in)) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ImplicitCtor<true, const _U1&, const _U2&> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const tuple<_U1, _U2>& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<const _Tuple_impl<0, _U1, _U2>&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ExplicitCtor<true, const _U1&, const _U2&> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const tuple<_U1, _U2>& __in)
3777166: : _Inherited(__tag, __a,
3777166: static_cast<const _Tuple_impl<0, _U1, _U2>&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ImplicitCtor<true, _U1, _U2> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in)
3777166: : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ExplicitCtor<true, _U1, _U2> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in)
3777166: : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in))
3777166: { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ImplicitCtor<true, const _U1&, const _U2&> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const pair<_U1, _U2>& __in)
3777166: : _Inherited(__tag, __a, __in.first, __in.second) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ExplicitCtor<true, const _U1&, const _U2&> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a,
3777166: const pair<_U1, _U2>& __in)
3777166: : _Inherited(__tag, __a, __in.first, __in.second) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ImplicitCtor<true, _U1, _U2> = true>
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in)
3777166: : _Inherited(__tag, __a, std::forward<_U1>(__in.first),
3777166: std::forward<_U2>(__in.second)) { }
3777166:
3777166: template<typename _Alloc, typename _U1, typename _U2,
3777166: _ExplicitCtor<true, _U1, _U2> = false>
3777166: explicit
3777166:
3777166: tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in)
3777166: : _Inherited(__tag, __a, std::forward<_U1>(__in.first),
3777166: std::forward<_U2>(__in.second)) { }
3777166:
3777166:
3777166:
3777166:
3777166: tuple&
3777166: operator=(typename conditional<__assignable<const _T1&, const _T2&>(),
3777166: const tuple&,
3777166: const __nonesuch&>::type __in)
3777166: noexcept(__nothrow_assignable<const _T1&, const _T2&>())
3777166: {
3777166: this->_M_assign(__in);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: tuple&
3777166: operator=(typename conditional<__assignable<_T1, _T2>(),
3777166: tuple&&,
3777166: __nonesuch&&>::type __in)
3777166: noexcept(__nothrow_assignable<_T1, _T2>())
3777166: {
3777166: this->_M_assign(std::move(__in));
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: __enable_if_t<__assignable<const _U1&, const _U2&>(), tuple&>
3777166: operator=(const tuple<_U1, _U2>& __in)
3777166: noexcept(__nothrow_assignable<const _U1&, const _U2&>())
3777166: {
3777166: this->_M_assign(__in);
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: __enable_if_t<__assignable<_U1, _U2>(), tuple&>
3777166: operator=(tuple<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_assignable<_U1, _U2>())
3777166: {
3777166: this->_M_assign(std::move(__in));
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: __enable_if_t<__assignable<const _U1&, const _U2&>(), tuple&>
3777166: operator=(const pair<_U1, _U2>& __in)
3777166: noexcept(__nothrow_assignable<const _U1&, const _U2&>())
3777166: {
3777166: this->_M_head(*this) = __in.first;
3777166: this->_M_tail(*this)._M_head(*this) = __in.second;
3777166: return *this;
3777166: }
3777166:
3777166: template<typename _U1, typename _U2>
3777166:
3777166: __enable_if_t<__assignable<_U1, _U2>(), tuple&>
3777166: operator=(pair<_U1, _U2>&& __in)
3777166: noexcept(__nothrow_assignable<_U1, _U2>())
3777166: {
3777166: this->_M_head(*this) = std::forward<_U1>(__in.first);
3777166: this->_M_tail(*this)._M_head(*this) = std::forward<_U2>(__in.second);
3777166: return *this;
3777166: }
3777166:
3777166:
3777166: void
3777166: swap(tuple& __in)
3777166: noexcept(__and_<__is_nothrow_swappable<_T1>,
3777166: __is_nothrow_swappable<_T2>>::value)
3777166: { _Inherited::_M_swap(__in); }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: struct tuple_size<tuple<_Elements...>>
3777166: : public integral_constant<std::size_t, sizeof...(_Elements)> { };
3777166:
3777166:
3777166: template <typename _Tp>
3777166: inline constexpr size_t tuple_size_v = tuple_size<_Tp>::value;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<std::size_t __i, typename _Head, typename... _Tail>
3777166: struct tuple_element<__i, tuple<_Head, _Tail...> >
3777166: : tuple_element<__i - 1, tuple<_Tail...> > { };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Head, typename... _Tail>
3777166: struct tuple_element<0, tuple<_Head, _Tail...> >
3777166: {
3777166: typedef _Head type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<size_t __i>
3777166: struct tuple_element<__i, tuple<>>
3777166: {
3777166: static_assert(__i < tuple_size<tuple<>>::value,
3777166: "tuple index is in range");
3777166: };
3777166:
3777166: template<std::size_t __i, typename _Head, typename... _Tail>
3777166: constexpr _Head&
3777166: __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
3777166: { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
3777166:
3777166: template<std::size_t __i, typename _Head, typename... _Tail>
3777166: constexpr const _Head&
3777166: __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
3777166: { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
3777166:
3777166:
3777166: template<std::size_t __i, typename... _Elements>
3777166: constexpr __tuple_element_t<__i, tuple<_Elements...>>&
3777166: get(tuple<_Elements...>& __t) noexcept
3777166: { return std::__get_helper<__i>(__t); }
3777166:
3777166:
3777166: template<std::size_t __i, typename... _Elements>
3777166: constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
3777166: get(const tuple<_Elements...>& __t) noexcept
3777166: { return std::__get_helper<__i>(__t); }
3777166:
3777166:
3777166: template<std::size_t __i, typename... _Elements>
3777166: constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
3777166: get(tuple<_Elements...>&& __t) noexcept
3777166: {
3777166: typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type;
3777166: return std::forward<__element_type&&>(std::get<__i>(__t));
3777166: }
3777166:
3777166:
3777166: template<std::size_t __i, typename... _Elements>
3777166: constexpr const __tuple_element_t<__i, tuple<_Elements...>>&&
3777166: get(const tuple<_Elements...>&& __t) noexcept
3777166: {
3777166: typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type;
3777166: return std::forward<const __element_type&&>(std::get<__i>(__t));
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Head, size_t __i, typename... _Tail>
3777166: constexpr _Head&
3777166: __get_helper2(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
3777166: { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
3777166:
3777166: template<typename _Head, size_t __i, typename... _Tail>
3777166: constexpr const _Head&
3777166: __get_helper2(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
3777166: { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
3777166:
3777166:
3777166: template <typename _Tp, typename... _Types>
3777166: constexpr _Tp&
3777166: get(tuple<_Types...>& __t) noexcept
3777166: { return std::__get_helper2<_Tp>(__t); }
3777166:
3777166:
3777166: template <typename _Tp, typename... _Types>
3777166: constexpr _Tp&&
3777166: get(tuple<_Types...>&& __t) noexcept
3777166: { return std::forward<_Tp&&>(std::__get_helper2<_Tp>(__t)); }
3777166:
3777166:
3777166: template <typename _Tp, typename... _Types>
3777166: constexpr const _Tp&
3777166: get(const tuple<_Types...>& __t) noexcept
3777166: { return std::__get_helper2<_Tp>(__t); }
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename... _Types>
3777166: constexpr const _Tp&&
3777166: get(const tuple<_Types...>&& __t) noexcept
3777166: { return std::forward<const _Tp&&>(std::__get_helper2<_Tp>(__t)); }
3777166:
3777166:
3777166:
3777166: template<typename _Tp, typename _Up, size_t __i, size_t __size>
3777166: struct __tuple_compare
3777166: {
3777166: static constexpr bool
3777166: __eq(const _Tp& __t, const _Up& __u)
3777166: {
3777166: return bool(std::get<__i>(__t) == std::get<__i>(__u))
3777166: && __tuple_compare<_Tp, _Up, __i + 1, __size>::__eq(__t, __u);
3777166: }
3777166:
3777166: static constexpr bool
3777166: __less(const _Tp& __t, const _Up& __u)
3777166: {
3777166: return bool(std::get<__i>(__t) < std::get<__i>(__u))
3777166: || (!bool(std::get<__i>(__u) < std::get<__i>(__t))
3777166: && __tuple_compare<_Tp, _Up, __i + 1, __size>::__less(__t, __u));
3777166: }
3777166: };
3777166:
3777166: template<typename _Tp, typename _Up, size_t __size>
3777166: struct __tuple_compare<_Tp, _Up, __size, __size>
3777166: {
3777166: static constexpr bool
3777166: __eq(const _Tp&, const _Up&) { return true; }
3777166:
3777166: static constexpr bool
3777166: __less(const _Tp&, const _Up&) { return false; }
3777166: };
3777166:
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator==(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: {
3777166: static_assert(sizeof...(_TElements) == sizeof...(_UElements),
3777166: "tuple objects can only be compared if they have equal sizes.");
3777166: using __compare = __tuple_compare<tuple<_TElements...>,
3777166: tuple<_UElements...>,
3777166: 0, sizeof...(_TElements)>;
3777166: return __compare::__eq(__t, __u);
3777166: }
3777166: # 1433 "/usr/include/c++/10/tuple" 3
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator<(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: {
3777166: static_assert(sizeof...(_TElements) == sizeof...(_UElements),
3777166: "tuple objects can only be compared if they have equal sizes.");
3777166: using __compare = __tuple_compare<tuple<_TElements...>,
3777166: tuple<_UElements...>,
3777166: 0, sizeof...(_TElements)>;
3777166: return __compare::__less(__t, __u);
3777166: }
3777166:
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator!=(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: { return !(__t == __u); }
3777166:
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator>(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: { return __u < __t; }
3777166:
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator<=(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: { return !(__u < __t); }
3777166:
3777166: template<typename... _TElements, typename... _UElements>
3777166: constexpr bool
3777166: operator>=(const tuple<_TElements...>& __t,
3777166: const tuple<_UElements...>& __u)
3777166: { return !(__t < __u); }
3777166:
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: constexpr tuple<typename __decay_and_strip<_Elements>::__type...>
3777166: make_tuple(_Elements&&... __args)
3777166: {
3777166: typedef tuple<typename __decay_and_strip<_Elements>::__type...>
3777166: __result_type;
3777166: return __result_type(std::forward<_Elements>(__args)...);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: constexpr tuple<_Elements&&...>
3777166: forward_as_tuple(_Elements&&... __args) noexcept
3777166: { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); }
3777166:
3777166: template<size_t, typename, typename, size_t>
3777166: struct __make_tuple_impl;
3777166:
3777166: template<size_t _Idx, typename _Tuple, typename... _Tp, size_t _Nm>
3777166: struct __make_tuple_impl<_Idx, tuple<_Tp...>, _Tuple, _Nm>
3777166: : __make_tuple_impl<_Idx + 1,
3777166: tuple<_Tp..., __tuple_element_t<_Idx, _Tuple>>,
3777166: _Tuple, _Nm>
3777166: { };
3777166:
3777166: template<std::size_t _Nm, typename _Tuple, typename... _Tp>
3777166: struct __make_tuple_impl<_Nm, tuple<_Tp...>, _Tuple, _Nm>
3777166: {
3777166: typedef tuple<_Tp...> __type;
3777166: };
3777166:
3777166: template<typename _Tuple>
3777166: struct __do_make_tuple
3777166: : __make_tuple_impl<0, tuple<>, _Tuple, std::tuple_size<_Tuple>::value>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tuple>
3777166: struct __make_tuple
3777166: : public __do_make_tuple<__remove_cvref_t<_Tuple>>
3777166: { };
3777166:
3777166:
3777166: template<typename...>
3777166: struct __combine_tuples;
3777166:
3777166: template<>
3777166: struct __combine_tuples<>
3777166: {
3777166: typedef tuple<> __type;
3777166: };
3777166:
3777166: template<typename... _Ts>
3777166: struct __combine_tuples<tuple<_Ts...>>
3777166: {
3777166: typedef tuple<_Ts...> __type;
3777166: };
3777166:
3777166: template<typename... _T1s, typename... _T2s, typename... _Rem>
3777166: struct __combine_tuples<tuple<_T1s...>, tuple<_T2s...>, _Rem...>
3777166: {
3777166: typedef typename __combine_tuples<tuple<_T1s..., _T2s...>,
3777166: _Rem...>::__type __type;
3777166: };
3777166:
3777166:
3777166: template<typename... _Tpls>
3777166: struct __tuple_cat_result
3777166: {
3777166: typedef typename __combine_tuples
3777166: <typename __make_tuple<_Tpls>::__type...>::__type __type;
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename...>
3777166: struct __make_1st_indices;
3777166:
3777166: template<>
3777166: struct __make_1st_indices<>
3777166: {
3777166: typedef std::_Index_tuple<> __type;
3777166: };
3777166:
3777166: template<typename _Tp, typename... _Tpls>
3777166: struct __make_1st_indices<_Tp, _Tpls...>
3777166: {
3777166: typedef typename std::_Build_index_tuple<std::tuple_size<
3777166: typename std::remove_reference<_Tp>::type>::value>::__type __type;
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Ret, typename _Indices, typename... _Tpls>
3777166: struct __tuple_concater;
3777166:
3777166: template<typename _Ret, std::size_t... _Is, typename _Tp, typename... _Tpls>
3777166: struct __tuple_concater<_Ret, std::_Index_tuple<_Is...>, _Tp, _Tpls...>
3777166: {
3777166: template<typename... _Us>
3777166: static constexpr _Ret
3777166: _S_do(_Tp&& __tp, _Tpls&&... __tps, _Us&&... __us)
3777166: {
3777166: typedef typename __make_1st_indices<_Tpls...>::__type __idx;
3777166: typedef __tuple_concater<_Ret, __idx, _Tpls...> __next;
3777166: return __next::_S_do(std::forward<_Tpls>(__tps)...,
3777166: std::forward<_Us>(__us)...,
3777166: std::get<_Is>(std::forward<_Tp>(__tp))...);
3777166: }
3777166: };
3777166:
3777166: template<typename _Ret>
3777166: struct __tuple_concater<_Ret, std::_Index_tuple<>>
3777166: {
3777166: template<typename... _Us>
3777166: static constexpr _Ret
3777166: _S_do(_Us&&... __us)
3777166: {
3777166: return _Ret(std::forward<_Us>(__us)...);
3777166: }
3777166: };
3777166:
3777166:
3777166: template<typename... _Tpls, typename = typename
3777166: enable_if<__and_<__is_tuple_like<_Tpls>...>::value>::type>
3777166: constexpr auto
3777166: tuple_cat(_Tpls&&... __tpls)
3777166: -> typename __tuple_cat_result<_Tpls...>::__type
3777166: {
3777166: typedef typename __tuple_cat_result<_Tpls...>::__type __ret;
3777166: typedef typename __make_1st_indices<_Tpls...>::__type __idx;
3777166: typedef __tuple_concater<__ret, __idx, _Tpls...> __concater;
3777166: return __concater::_S_do(std::forward<_Tpls>(__tpls)...);
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166: template<typename... _Elements>
3777166: constexpr tuple<_Elements&...>
3777166: tie(_Elements&... __args) noexcept
3777166: { return tuple<_Elements&...>(__args...); }
3777166:
3777166:
3777166: template<typename... _Elements>
3777166:
3777166: inline
3777166:
3777166:
3777166: typename enable_if<__and_<__is_swappable<_Elements>...>::value
3777166: >::type
3777166:
3777166:
3777166:
3777166: swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y)
3777166: noexcept(noexcept(__x.swap(__y)))
3777166: { __x.swap(__y); }
3777166:
3777166:
3777166: template<typename... _Elements>
3777166:
3777166: typename enable_if<!__and_<__is_swappable<_Elements>...>::value>::type
3777166: swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: struct _Swallow_assign
3777166: {
3777166: template<class _Tp>
3777166: constexpr const _Swallow_assign&
3777166: operator=(const _Tp&) const
3777166: { return *this; }
3777166: };
3777166:
3777166:
3777166:
3777166: inline constexpr _Swallow_assign ignore{};
3777166:
3777166:
3777166: template<typename... _Types, typename _Alloc>
3777166: struct uses_allocator<tuple<_Types...>, _Alloc> : true_type { };
3777166: # 1669 "/usr/include/c++/10/tuple" 3
3777166: template<class _T1, class _T2>
3777166: template<typename... _Args1, typename... _Args2>
3777166:
3777166: inline
3777166: pair<_T1, _T2>::
3777166: pair(piecewise_construct_t,
3777166: tuple<_Args1...> __first, tuple<_Args2...> __second)
3777166: : pair(__first, __second,
3777166: typename _Build_index_tuple<sizeof...(_Args1)>::__type(),
3777166: typename _Build_index_tuple<sizeof...(_Args2)>::__type())
3777166: { }
3777166:
3777166: template<class _T1, class _T2>
3777166: template<typename... _Args1, std::size_t... _Indexes1,
3777166: typename... _Args2, std::size_t... _Indexes2>
3777166: inline
3777166: pair<_T1, _T2>::
3777166: pair(tuple<_Args1...>& __tuple1, tuple<_Args2...>& __tuple2,
3777166: _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>)
3777166: : first(std::forward<_Args1>(std::get<_Indexes1>(__tuple1))...),
3777166: second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
3777166: { }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<template<typename...> class _Trait, typename _Tp, typename _Tuple>
3777166: inline constexpr bool __unpack_std_tuple = false;
3777166:
3777166: template<template<typename...> class _Trait, typename _Tp, typename... _Up>
3777166: inline constexpr bool __unpack_std_tuple<_Trait, _Tp, tuple<_Up...>>
3777166: = _Trait<_Tp, _Up...>::value;
3777166:
3777166: template<template<typename...> class _Trait, typename _Tp, typename... _Up>
3777166: inline constexpr bool __unpack_std_tuple<_Trait, _Tp, tuple<_Up...>&>
3777166: = _Trait<_Tp, _Up&...>::value;
3777166:
3777166: template<template<typename...> class _Trait, typename _Tp, typename... _Up>
3777166: inline constexpr bool __unpack_std_tuple<_Trait, _Tp, const tuple<_Up...>>
3777166: = _Trait<_Tp, const _Up...>::value;
3777166:
3777166: template<template<typename...> class _Trait, typename _Tp, typename... _Up>
3777166: inline constexpr bool __unpack_std_tuple<_Trait, _Tp, const tuple<_Up...>&>
3777166: = _Trait<_Tp, const _Up&...>::value;
3777166:
3777166:
3777166:
3777166: template <typename _Fn, typename _Tuple, size_t... _Idx>
3777166: constexpr decltype(auto)
3777166: __apply_impl(_Fn&& __f, _Tuple&& __t, index_sequence<_Idx...>)
3777166: {
3777166: return std::__invoke(std::forward<_Fn>(__f),
3777166: std::get<_Idx>(std::forward<_Tuple>(__t))...);
3777166: }
3777166:
3777166: template <typename _Fn, typename _Tuple>
3777166: constexpr decltype(auto)
3777166: apply(_Fn&& __f, _Tuple&& __t)
3777166: noexcept(__unpack_std_tuple<is_nothrow_invocable, _Fn, _Tuple>)
3777166: {
3777166: using _Indices
3777166: = make_index_sequence<tuple_size_v<remove_reference_t<_Tuple>>>;
3777166: return std::__apply_impl(std::forward<_Fn>(__f),
3777166: std::forward<_Tuple>(__t),
3777166: _Indices{});
3777166: }
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename _Tuple, size_t... _Idx>
3777166: constexpr _Tp
3777166: __make_from_tuple_impl(_Tuple&& __t, index_sequence<_Idx...>)
3777166: { return _Tp(std::get<_Idx>(std::forward<_Tuple>(__t))...); }
3777166:
3777166: template <typename _Tp, typename _Tuple>
3777166: constexpr _Tp
3777166: make_from_tuple(_Tuple&& __t)
3777166: noexcept(__unpack_std_tuple<is_nothrow_constructible, _Tp, _Tuple>)
3777166: {
3777166: return __make_from_tuple_impl<_Tp>(
3777166: std::forward<_Tuple>(__t),
3777166: make_index_sequence<tuple_size_v<remove_reference_t<_Tuple>>>{});
3777166: }
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: }
3777166: # 38 "/usr/include/c++/10/bits/unique_ptr.h" 2 3
3777166:
3777166: # 1 "/usr/include/c++/10/bits/functional_hash.h" 1 3
3777166: # 33 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166:
3777166: # 34 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166: # 49 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166: template<typename _Result, typename _Arg>
3777166: struct __hash_base
3777166: {
3777166: typedef _Result result_type [[__deprecated__]];
3777166: typedef _Arg argument_type [[__deprecated__]];
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct hash;
3777166:
3777166: template<typename _Tp, typename = void>
3777166: struct __poison_hash
3777166: {
3777166: static constexpr bool __enable_hash_call = false;
3777166: private:
3777166:
3777166: __poison_hash(__poison_hash&&);
3777166: ~__poison_hash();
3777166: };
3777166:
3777166: template<typename _Tp>
3777166: struct __poison_hash<_Tp, __void_t<decltype(hash<_Tp>()(declval<_Tp>()))>>
3777166: {
3777166: static constexpr bool __enable_hash_call = true;
3777166: };
3777166:
3777166:
3777166: template<typename _Tp, bool = is_enum<_Tp>::value>
3777166: struct __hash_enum
3777166: {
3777166: private:
3777166:
3777166: __hash_enum(__hash_enum&&);
3777166: ~__hash_enum();
3777166: };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct __hash_enum<_Tp, true> : public __hash_base<size_t, _Tp>
3777166: {
3777166: size_t
3777166: operator()(_Tp __val) const noexcept
3777166: {
3777166: using __type = typename underlying_type<_Tp>::type;
3777166: return hash<__type>{}(static_cast<__type>(__val));
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct hash : __hash_enum<_Tp>
3777166: { };
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct hash<_Tp*> : public __hash_base<size_t, _Tp*>
3777166: {
3777166: size_t
3777166: operator()(_Tp* __p) const noexcept
3777166: { return reinterpret_cast<size_t>(__p); }
3777166: };
3777166: # 124 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166: template<> struct hash<bool> : public __hash_base<size_t, bool> { size_t operator()(bool __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<char> : public __hash_base<size_t, char> { size_t operator()(char __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<signed char> : public __hash_base<size_t, signed char> { size_t operator()(signed char __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<unsigned char> : public __hash_base<size_t, unsigned char> { size_t operator()(unsigned char __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<wchar_t> : public __hash_base<size_t, wchar_t> { size_t operator()(wchar_t __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<> struct hash<char16_t> : public __hash_base<size_t, char16_t> { size_t operator()(char16_t __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<char32_t> : public __hash_base<size_t, char32_t> { size_t operator()(char32_t __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<short> : public __hash_base<size_t, short> { size_t operator()(short __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<int> : public __hash_base<size_t, int> { size_t operator()(int __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<long> : public __hash_base<size_t, long> { size_t operator()(long __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<long long> : public __hash_base<size_t, long long> { size_t operator()(long long __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<unsigned short> : public __hash_base<size_t, unsigned short> { size_t operator()(unsigned short __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<unsigned int> : public __hash_base<size_t, unsigned int> { size_t operator()(unsigned int __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<unsigned long> : public __hash_base<size_t, unsigned long> { size_t operator()(unsigned long __val) const noexcept { return static_cast<size_t>(__val); } };
3777166:
3777166:
3777166: template<> struct hash<unsigned long long> : public __hash_base<size_t, unsigned long long> { size_t operator()(unsigned long long __val) const noexcept { return static_cast<size_t>(__val); } };
3777166: # 192 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166: struct _Hash_impl
3777166: {
3777166: static size_t
3777166: hash(const void* __ptr, size_t __clength,
3777166: size_t __seed = static_cast<size_t>(0xc70f6907UL))
3777166: { return _Hash_bytes(__ptr, __clength, __seed); }
3777166:
3777166: template<typename _Tp>
3777166: static size_t
3777166: hash(const _Tp& __val)
3777166: { return hash(&__val, sizeof(__val)); }
3777166:
3777166: template<typename _Tp>
3777166: static size_t
3777166: __hash_combine(const _Tp& __val, size_t __hash)
3777166: { return hash(&__val, sizeof(__val), __hash); }
3777166: };
3777166:
3777166:
3777166: struct _Fnv_hash_impl
3777166: {
3777166: static size_t
3777166: hash(const void* __ptr, size_t __clength,
3777166: size_t __seed = static_cast<size_t>(2166136261UL))
3777166: { return _Fnv_hash_bytes(__ptr, __clength, __seed); }
3777166:
3777166: template<typename _Tp>
3777166: static size_t
3777166: hash(const _Tp& __val)
3777166: { return hash(&__val, sizeof(__val)); }
3777166:
3777166: template<typename _Tp>
3777166: static size_t
3777166: __hash_combine(const _Tp& __val, size_t __hash)
3777166: { return hash(&__val, sizeof(__val), __hash); }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct hash<float> : public __hash_base<size_t, float>
3777166: {
3777166: size_t
3777166: operator()(float __val) const noexcept
3777166: {
3777166:
3777166: return __val != 0.0f ? std::_Hash_impl::hash(__val) : 0;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct hash<double> : public __hash_base<size_t, double>
3777166: {
3777166: size_t
3777166: operator()(double __val) const noexcept
3777166: {
3777166:
3777166: return __val != 0.0 ? std::_Hash_impl::hash(__val) : 0;
3777166: }
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct hash<long double>
3777166: : public __hash_base<size_t, long double>
3777166: {
3777166: __attribute__ ((__pure__)) size_t
3777166: operator()(long double __val) const noexcept;
3777166: };
3777166:
3777166:
3777166: template<>
3777166: struct hash<nullptr_t> : public __hash_base<size_t, nullptr_t>
3777166: {
3777166: size_t
3777166: operator()(nullptr_t) const noexcept
3777166: { return 0; }
3777166: };
3777166: # 278 "/usr/include/c++/10/bits/functional_hash.h" 3
3777166: template<typename _Hash>
3777166: struct __is_fast_hash : public std::true_type
3777166: { };
3777166:
3777166: template<>
3777166: struct __is_fast_hash<hash<long double>> : public std::false_type
3777166: { };
3777166:
3777166:
3777166: }
3777166: # 40 "/usr/include/c++/10/bits/unique_ptr.h" 2 3
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: namespace std __attribute__ ((__visibility__ ("default")))
3777166: {
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: #pragma GCC diagnostic push
3777166: #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
3777166: template<typename> class auto_ptr;
3777166: #pragma GCC diagnostic pop
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct default_delete
3777166: {
3777166:
3777166: constexpr default_delete() noexcept = default;
3777166:
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Up,
3777166: typename = _Require<is_convertible<_Up*, _Tp*>>>
3777166: default_delete(const default_delete<_Up>&) noexcept { }
3777166:
3777166:
3777166: void
3777166: operator()(_Tp* __ptr) const
3777166: {
3777166: static_assert(!is_void<_Tp>::value,
3777166: "can't delete pointer to incomplete type");
3777166: static_assert(sizeof(_Tp)>0,
3777166: "can't delete pointer to incomplete type");
3777166: delete __ptr;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166:
3777166: template<typename _Tp>
3777166: struct default_delete<_Tp[]>
3777166: {
3777166: public:
3777166:
3777166: constexpr default_delete() noexcept = default;
3777166: # 109 "/usr/include/c++/10/bits/unique_ptr.h" 3
3777166: template<typename _Up,
3777166: typename = _Require<is_convertible<_Up(*)[], _Tp(*)[]>>>
3777166: default_delete(const default_delete<_Up[]>&) noexcept { }
3777166:
3777166:
3777166: template<typename _Up>
3777166: typename enable_if<is_convertible<_Up(*)[], _Tp(*)[]>::value>::type
3777166: operator()(_Up* __ptr) const
3777166: {
3777166: static_assert(sizeof(_Tp)>0,
3777166: "can't delete pointer to incomplete type");
3777166: delete [] __ptr;
3777166: }
3777166: };
3777166:
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename _Dp>
3777166: class __uniq_ptr_impl
3777166: {
3777166: template <typename _Up, typename _Ep, typename = void>
3777166: struct _Ptr
3777166: {
3777166: using type = _Up*;
3777166: };
3777166:
3777166: template <typename _Up, typename _Ep>
3777166: struct
3777166: _Ptr<_Up, _Ep, __void_t<typename remove_reference<_Ep>::type::pointer>>
3777166: {
3777166: using type = typename remove_reference<_Ep>::type::pointer;
3777166: };
3777166:
3777166: public:
3777166: using _DeleterConstraint = enable_if<
3777166: __and_<__not_<is_pointer<_Dp>>,
3777166: is_default_constructible<_Dp>>::value>;
3777166:
3777166: using pointer = typename _Ptr<_Tp, _Dp>::type;
3777166:
3777166: static_assert( !is_rvalue_reference<_Dp>::value,
3777166: "unique_ptr's deleter type must be a function object type"
3777166: " or an lvalue reference type" );
3777166:
3777166: __uniq_ptr_impl() = default;
3777166: __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; }
3777166:
3777166: template<typename _Del>
3777166: __uniq_ptr_impl(pointer __p, _Del&& __d)
3777166: : _M_t(__p, std::forward<_Del>(__d)) { }
3777166:
3777166: __uniq_ptr_impl(__uniq_ptr_impl&& __u) noexcept
3777166: : _M_t(std::move(__u._M_t))
3777166: { __u._M_ptr() = nullptr; }
3777166:
3777166: __uniq_ptr_impl& operator=(__uniq_ptr_impl&& __u) noexcept
3777166: {
3777166: reset(__u.release());
3777166: _M_deleter() = std::forward<_Dp>(__u._M_deleter());
3777166: return *this;
3777166: }
3777166:
3777166: pointer& _M_ptr() { return std::get<0>(_M_t); }
3777166: pointer _M_ptr() const { return std::get<0>(_M_t); }
3777166: _Dp& _M_deleter() { return std::get<1>(_M_t); }
3777166: const _Dp& _M_deleter() const { return std::get<1>(_M_t); }
3777166:
3777166: void reset(pointer __p) noexcept
3777166: {
3777166: const pointer __old_p = _M_ptr();
3777166: _M_ptr() = __p;
3777166: if (__old_p)
3777166: _M_deleter()(__old_p);
3777166: }
3777166:
3777166: pointer release() noexcept
3777166: {
3777166: pointer __p = _M_ptr();
3777166: _M_ptr() = nullptr;
3777166: return __p;
3777166: }
3777166:
3777166: void
3777166: swap(__uniq_ptr_impl& __rhs) noexcept
3777166: {
3777166: using std::swap;
3777166: swap(this->_M_ptr(), __rhs._M_ptr());
3777166: swap(this->_M_deleter(), __rhs._M_deleter());
3777166: }
3777166:
3777166: private:
3777166: tuple<pointer, _Dp> _M_t;
3777166: };
3777166:
3777166:
3777166: template <typename _Tp, typename _Dp,
3777166: bool = is_move_constructible<_Dp>::value,
3777166: bool = is_move_assignable<_Dp>::value>
3777166: struct __uniq_ptr_data : __uniq_ptr_impl<_Tp, _Dp>
3777166: {
3777166: using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
3777166: __uniq_ptr_data(__uniq_ptr_data&&) = default;
3777166: __uniq_ptr_data& operator=(__uniq_ptr_data&&) = default;
3777166: };
3777166:
3777166: template <typename _Tp, typename _Dp>
3777166: struct __uniq_ptr_data<_Tp, _Dp, true, false> : __uniq_ptr_impl<_Tp, _Dp>
3777166: {
3777166: using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
3777166: __uniq_ptr_data(__uniq_ptr_data&&) = default;
3777166: __uniq_ptr_data& operator=(__uniq_ptr_data&&) = delete;
3777166: };
3777166:
3777166: template <typename _Tp, typename _Dp>
3777166: struct __uniq_ptr_data<_Tp, _Dp, false, true> : __uniq_ptr_impl<_Tp, _Dp>
3777166: {
3777166: using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
3777166: __uniq_ptr_data(__uniq_ptr_data&&) = delete;
3777166: __uniq_ptr_data& operator=(__uniq_ptr_data&&) = default;
3777166: };
3777166:
3777166: template <typename _Tp, typename _Dp>
3777166: struct __uniq_ptr_data<_Tp, _Dp, false, false> : __uniq_ptr_impl<_Tp, _Dp>
3777166: {
3777166: using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
3777166: __uniq_ptr_data(__uniq_ptr_data&&) = delete;
3777166: __uniq_ptr_data& operator=(__uniq_ptr_data&&) = delete;
3777166: };
3777166:
3777166:
3777166:
3777166: template <typename _Tp, typename _Dp = default_delete<_Tp>>
3777166: class unique_ptr
3777166: {
3777166: template <typename _Up>
3777166: using _DeleterConstraint =
3777166: typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
3777166:
3777166: __uniq_ptr_data<_Tp, _Dp> _M_t;
3777166:
3777166: public:
3777166: us
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment