Skip to content

Commit f7977b0

Browse files
committed
[func.wrap.func] Remove declarations already in [functional.syn]
0 parents  commit f7977b0

File tree

177 files changed

+248219
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+248219
-0
lines changed

.ctags

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--langdef=latex
2+
--langmap=latex:.tex
3+
--regex-latex=/\\rSec[0-9](\[[a-zA-Z0-9_.:-]+\])/\1/s,section/
4+
--exclude=*.html
5+
--exclude=*.cpp
6+
--exclude=Makefile

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*.aux
2+
std.pdf
3+
std-gram.ext
4+
*.idx
5+
*.toc
6+
*.log
7+
*.lof
8+
*.lot
9+
*.out
10+
*.ilg
11+
*.ind
12+
*.tmp
13+
*.gls
14+
*.glo
15+
.DS_Store
16+
*.fdb_latexmk
17+
*.fls
18+
*.xtr
19+
.tags
20+
.tags_sorted_by_file
21+
tools/sections
22+
*.synctex.gz
23+
*.synctex*

.gitorder

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
source/std.tex
2+
source/layout.tex
3+
source/styles.tex
4+
source/macros.tex
5+
source/tables.tex
6+
source/cover-*.tex
7+
source/front.tex
8+
source/intro.tex
9+
source/lex.tex
10+
source/basic.tex
11+
source/expressions.tex
12+
source/statements.tex
13+
source/declarations.tex
14+
source/modules.tex
15+
source/classes.tex
16+
source/overloading.tex
17+
source/templates.tex
18+
source/exceptions.tex
19+
source/preprocessor.tex
20+
source/lib-intro.tex
21+
source/support.tex
22+
source/concepts.tex
23+
source/diagnostics.tex
24+
source/utilities.tex
25+
source/strings.tex
26+
source/containers.tex
27+
source/iterators.tex
28+
source/ranges.tex
29+
source/algorithms.tex
30+
source/numerics.tex
31+
source/time.tex
32+
source/locales.tex
33+
source/iostreams.tex
34+
source/regex.tex
35+
source/atomics.tex
36+
source/threads.tex
37+
source/grammar.tex
38+
source/limits.tex
39+
source/compatibility.tex
40+
source/future.tex
41+
source/back.tex
42+
source/xrefdelta.tex

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Builds the C++ standard document on Travis CI <https://travis-ci.com/cplusplus/draft>
3+
#
4+
5+
dist: trusty
6+
language: shell
7+
8+
services:
9+
- docker
10+
11+
before_install:
12+
- docker pull godbyk/texlive-basic:latest
13+
- docker run -itd -v $TRAVIS_BUILD_DIR:/$TRAVIS_REPO_SLUG --name texlive-basic godbyk/texlive-basic
14+
15+
script:
16+
# Build std.pdf and check it.
17+
- docker exec -it texlive-basic bash -c "cd /$TRAVIS_REPO_SLUG/source && make quiet && ../tools/check.sh";

README.rst

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
==========================
2+
C++ Standard Draft Sources
3+
==========================
4+
5+
These are the sources used to generate drafts of the C++
6+
standard. These sources should not be considered an ISO publication,
7+
nor should documents generated from them unless officially adopted by
8+
the C++ working group (ISO/IEC JTC1/SC22/WG21).
9+
10+
Get involved:
11+
12+
- `How to submit an editorial issue <https://github.com/cplusplus/draft/wiki/How-to-submit-an-editorial-issue>`_
13+
- `How to tell if an issue is editorial <https://github.com/cplusplus/draft/wiki/How-to-tell-if-an-issue-is-editorial>`_
14+
- `How to submit a new issue/defect report <https://isocpp.org/std/submit-issue>`_ for non-editorial issues
15+
16+
More information about the C++ standard can be found at `isocpp.org <http://isocpp.org/std>`_.
17+
18+
---------------------------
19+
Getting Started on Mac OS X
20+
---------------------------
21+
22+
Install the `MacTeX distribution <http://tug.org/mactex/>`_.
23+
24+
If you are on a slow network, you'll want to get the `BasicTeX package <http://tug.org/mactex/morepackages.html>`_ instead,
25+
then run the following command to install the other packages that the draft requires:
26+
27+
sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem l3packages l3kernel
28+
29+
---------------------------------------
30+
Getting Started on Debian-based Systems
31+
---------------------------------------
32+
33+
Install the following packages:
34+
35+
sudo apt-get install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-generic-recommended lmodern
36+
37+
-------------------------
38+
Getting Started on Fedora
39+
-------------------------
40+
41+
Install the following packages:
42+
43+
dnf install latexmk texlive texlive-isodate texlive-relsize texlive-ulem texlive-fixme texlive-extract texlive-l3kernel texlive-l3packages
44+
45+
-----------------------------
46+
Getting Started on Arch Linux
47+
-----------------------------
48+
49+
Install the following packages:
50+
51+
latex-mk from the Arch User Repository.
52+
pacman -S texlive-latexextra
53+
54+
-----------------------------
55+
Getting Started on Microsoft Windows
56+
-----------------------------
57+
58+
Install Perl (for example, using a `Cygwin installation <https://cygwin.com/install.html>`_ and adding perl.
59+
See `sample instructions <https://bennierobinson.com/programming/2016/01/24/perl-windows-2016.html>`_ for more details)
60+
61+
Install `MiKTeX <https://miktex.org/download>`_
62+
63+
------------
64+
Instructions
65+
------------
66+
67+
To typeset the draft document, from the ``source`` directory run::
68+
69+
make
70+
71+
That's it! You should now have an ``std.pdf`` containing the typeset draft.
72+
73+
Generated input files
74+
=====================
75+
76+
To regenerate figures from .dot files, run::
77+
78+
make <pdfname>
79+
80+
For example::
81+
82+
make figstreampos.pdf
83+
84+
----------------
85+
Acknowledgements
86+
----------------
87+
88+
A great deal of gratitude goes out to Pete Becker for his amazing work
89+
in the original conversion of the C++ standard drafts to LaTeX, and
90+
his subsequent maintenance of the standard drafts up to C++11. Thank
91+
you Pete.
92+
93+
Thanks to Walter Brown for suggesting the use of ``latexmk``.

papers/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pdf -diff

papers/N3338.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
6+
<head>
7+
<title>N3338 - Editor's Report 2012-01</title>
8+
9+
</head>
10+
11+
<body>
12+
<pre>
13+
Document number N3338=12-0028
14+
Date 2012-01-16
15+
Project Programming Language C++
16+
Reference ISO/IEC IS 14882:2011(E)
17+
Reply to Stefanus Du Toit
18+
Intel
19+
20+
</pre>
21+
<h1>C++ Editor's Report, January 2012</h1>
22+
<p>
23+
N3337 is the latest C++ draft specification. The only changes since N3291 are editorial.
24+
</p>
25+
<h2>Summary of changes</h2>
26+
<p>The following editorial changes were made:</p>
27+
<ul>
28+
<li>Fix parameter names in inner_product</li>
29+
<li>Fixed typeface in [thread.thread.destr] and locales</li>
30+
<li>Fixed some wording in [thread.thread.destr].</li>
31+
<li>Fixed "terminate()" -> "std::terminate()" in a bunch of places, and</li>
32+
similar fixes for "unexpected()".
33+
<li>Fix small issue in [pointer.traits.functions]</li>
34+
<li>Fix "contructor" typo in [expr.call].</li>
35+
<li>Fix typo "anotherside" -> "another side"</li>
36+
<li>Ensure unique_ptr::unique_ptr(nullptr_t) is noexcept for the T[]</li>
37+
specialization of unique_ptr.
38+
<li>Remove "noexcept" from tuple::operator=(pair&amp;&amp;) as intended in N3279.</li>
39+
<li>Remove accidentally added const to UTypes&amp;&amp; parameter of tuple constructor.</li>
40+
<li>Fix "An shared state" -> "A shared state".</li>
41+
<li>Fix indentation in code example in [temp.variadic].</li>
42+
<li>[locale.members] - remove stray text.</li>
43+
<li>[locale.time.put.virtuals] - replace period with comma.</li>
44+
<li>[unordered] - replace "implementation-defined" with "see below" for unordered_set and unordered_multiset</li>
45+
<li>Add missing "of" in [lex.ext]/6, "type of ch".</li>
46+
<li>Add aligned_union declaration to type_traits synopsis.</li>
47+
<li>Fix formatting of aligned_union description.</li>
48+
<li>cosntant -> constant</li>
49+
<li>Remove const from &amp;&amp; parameter to scoped_allocator_adaptor constructor.</li>
50+
<li>Replace static_cast&lt;Outer&gt; with static_cast&lt;OuterAlloc&gt; in [allocator.adaptor.members]/3&amp;4.</li>
51+
<li>Fix instances of "if such a type exits" -> "... exists" in [allocator.traits.types] (thanks Jonathan Wakely)</li>
52+
<li>Type T should be charT in [string.access] (thanks Jonathan Wakely)</li>
53+
<li>Several font fixes for requirements such as CopyConstructible (thanks Jonathan Wakely)</li>
54+
<li>Formatting fixes in [diagnostics] (thanks Jonathan Wakely)</li>
55+
<li>Missing colon in nested-name-specifier in [futures.async] (thanks Jonathan Wakely)</li>
56+
<li>Removal of redundant template argument lists throughout [containers] (thanks Jonathan Wakely)</li>
57+
<li>Correcting "T" to "value_type" in [associative.reqmts] (thanks Jonathan Wakely)</li>
58+
<li>"behavor" -> "behavior" in compatibility annex (thanks Jonathan Wakely)</li>
59+
<li>Remove duplicate ATOMIC_LLONG_LOCK_FREE definition in [atomics.syn] (thanks Jonathan Wakely)</li>
60+
<li>Several typo fixes in the index (thanks Jonathan Wakely)</li>
61+
<li>Simple fixes to non-normative example in [thread.once.callonce] (thanks Nico Josuttis)</li>
62+
<li>Remove redundant "non-reference" from object type in [allocator.requirements] Table 27 (thanks Jens Maur</li>
63+
<li>Fix "template function" -> "member function" in [pointer.traits.functions] (thanks Jens Maurer)</li>
64+
<li>Fix "template function" -> "function template" throughout [unique_ptr], [shared_ptr], and in [futures.as</li>
65+
<li>Fix typo cstding -> cstdint in [diff.cpp03.library] (thanks Daniel Krügler)</li>
66+
<li>Fixed typo theads -> threads in [thread] (thanks Mark de Wever)</li>
67+
<li>Add missing closing parenthesis in [vector.bool] (thanks Stephan T. Lavajev)</li>
68+
<li>Remove spurious period in [reverse.iter.requirements] (thanks Daniel Krügler)</li>
69+
<li>Remove spurious closing brace in [locale.num.get] and clean up declarations (thanks Nico Josuttis)</li>
70+
<li>Fix 'osterambuf' -> 'ostreambuf' typo in [localy.syn] (thanks Nico Josuttis)</li>
71+
<li>Add default template argument 'default-alignment' to aligned_storage declaration in <type_traits> synopsis (thanks Daniel Krügler and Nico Josuttis)</li>
72+
<li>Add declarations for generic_category() and system_category() to <system_error> synopsis in [syserr.errcat.overview] (thanks Nico Josuttis)</li>
73+
<li>Add virtual to function declarations in override example in [class.virtual] (thanks Torsten Will)</li>
74+
<li>Only reference types to literal types are literal types in [basic.types] (thanks Andrew Koenig)</li>
75+
<li>Clarify definition of literal type in [basic.types] (thanks Andrew Koenig)</li>
76+
<li>Fix a few Effects clauses in [string.modifiers] and a broken Returns clause (thanks Bo Persson)</li>
77+
<li>More fixes and improvements to operator+= effects clauses in [string.modifiers] (thanks Chandler Carruth</li>
78+
<li>Fix location of #include &lt;initializer_list&gt; in synopses in [sequences.general] (thanks Jon Benito)</li>
79+
<li>Add missing paragraph number and fix double semicolons in [thread.thread] (thanks Pete Becker)</li>
80+
<li>Several tiny fixes in [thread] (thanks Pete Becker)</li>
81+
<li>Missing paragraph number in [futures] (thanks Pete Becker)</li>
82+
<li>Remove extraneous sentence from [hash.requirements] (thanks Pete Becker)</li>
83+
<li>Add returns clause for thread::operator=() in [thread.thread.assign] (thanks Pete Becker)</li>
84+
<li>Remove extraneous parentheses in [thread.req.timing] (thanks Pete Becker)</li>
85+
<li>Remove redundancy from 'should' sentence in [thread.req.timing] (thanks Pete Becker)</li>
86+
<li>Fix string inserters and extractors in synopsis to match [string.io] (thanks Daniel Krügler)</li>
87+
<li>Fix many obvious spelling mistakes (thanks Eelis van der Weegen)</li>
88+
<li>Fix second parameter of two-parameter forward_list::erase_after() to be const_iterator in [forwardlist] (thanks Daniel Krügler)</li>
89+
<li>Change sometype/some_type to onlydouble in example in [dcl.fct.def.delete] (thanks Peter Sommerlad)</li>
90+
<li>Add &lt;scoped_allocator&gt; to the list of headers in [headers] (thanks to Pete Becker and Daniel Krügler)</li>
91+
<li>Remove confusing 'empty class' index entries (thanks Daniel Krügler)</li>
92+
<li>Small fixes in [string::insert] (thanks Nico Josuttis)</li>
93+
<li>'Two threads' -> 'Two or more threads' in [intro.memory] (thanks Roger Orr)</li>
94+
</ul>
95+
96+
<h2>Acknowledgments</h2>
97+
<p>Special thanks go out to Pete Becker, the previous project editor, for all his efforts in maintaining the specification this far, and his help in getting started on a daunting task.</p>
98+
<p>Thank you to all of the people listed in the changes above who submitted editorial problems, and apologies to any who were missed in some of the early changes.</p>
99+
<p>If you would like to report an issue, please follow <a href="https://github.com/cplusplus/draft/wiki/How-to-submit-an-editorial-issue">these instructions</a>.</p>
100+
101+
</body>
102+
</html>

papers/N3376.pdf

4.85 MB
Binary file not shown.

0 commit comments

Comments
 (0)