forked from cplusplus/draft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathn4138.html
More file actions
1026 lines (717 loc) · 33.6 KB
/
n4138.html
File metadata and controls
1026 lines (717 loc) · 33.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html><head><meta charset="utf-8"><style>html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body{
color:#444;
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman',
"Hiragino Sans GB", "STXihei", "微软雅黑", serif;
font-size:12px;
line-height:1.5em;
background:#fefefe;
width: 45em;
margin: 10px auto;
padding: 1em;
outline: 1300px solid #FAFAFA;
}
a{ color: #0645ad; text-decoration:none;}
a:visited{ color: #0b0080; }
a:hover{ color: #06e; }
a:active{ color:#faa700; }
a:focus{ outline: thin dotted; }
a:hover, a:active{ outline: 0; }
span.backtick {
border:1px solid #EAEAEA;
border-radius:3px;
background:#F8F8F8;
padding:0 3px 0 3px;
}
::-moz-selection{background:rgba(255,255,0,0.3);color:#000}
::selection{background:rgba(255,255,0,0.3);color:#000}
a::-moz-selection{background:rgba(255,255,0,0.3);color:#0645ad}
a::selection{background:rgba(255,255,0,0.3);color:#0645ad}
p{
margin:1em 0;
}
img{
max-width:100%;
}
h1,h2,h3,h4,h5,h6{
font-weight:normal;
color:#111;
line-height:1em;
}
h4,h5,h6{ font-weight: bold; }
h1{ font-size:2.5em; }
h2{ font-size:2em; border-bottom:1px solid silver; padding-bottom: 5px; }
h3{ font-size:1.5em; }
h4{ font-size:1.2em; }
h5{ font-size:1em; }
h6{ font-size:0.9em; }
blockquote{
color:#666666;
margin:0;
padding-left: 3em;
border-left: 0.5em #EEE solid;
}
hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }
pre , code, kbd, samp {
color: #000;
font-family: monospace;
font-size: 0.88em;
border-radius:3px;
background-color: #F8F8F8;
border: 1px solid #CCC;
}
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 5px 12px;}
pre code { border: 0px !important; padding: 0;}
code { padding: 0 3px 0 3px; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 2em; }
li p:last-child { margin:0 }
dd { margin: 0 0 0 2em; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
@media only screen and (min-width: 480px) {
body{font-size:14px;}
}
@media only screen and (min-width: 768px) {
body{font-size:16px;}
}
@media print {
* { background: transparent !important; color: black !important; filter:none !important; -ms-filter: none !important; }
body{font-size:12pt; max-width:100%; outline:none;}
a, a:visited { text-decoration: underline; }
hr { height: 1px; border:0; border-bottom:1px solid black; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
pre, blockquote { border: 1px solid #999; padding-right: 1em; page-break-inside: avoid; }
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
@page :left { margin: 15mm 20mm 15mm 10mm; }
@page :right { margin: 15mm 10mm 15mm 20mm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
}
</style><title>N4138</title></head><body>
<h1>N4138 Editor's Report -- Working Draft, Standard for Programming Language C++</h1>
<p>2014-10-07<br/>
Richard Smith<br/>
Google Inc<br/>
<code><cxxeditor@gmail.com></code></p>
<h2>Acknowledgements</h2>
<p>Special thanks to Stefanus Du Toit, the previous project editor, for all
his efforts in maintaining the specification, modernizing our editing process,
and helping to make the transition to a new editor as smooth as possible.</p>
<p>Special thanks to my sub-editors, Dawn Perchik, Jonathan Wakely, and Walter
Brown, for all the work they've put into fixing editorial issues and reviewing
fixes produced by others.</p>
<p>Thanks to all those who have <a href="https://github.com/cplusplus/draft/wiki/How-to-submit-an-editorial-issue">submitted editorial
issues</a>
and those who have provided pull requests with fixes.</p>
<h2>New Papers</h2>
<ul>
<li>N4138 is this Editor's Report for the current working draft.</li>
<li>N4139 is the Editor's Report for the C++14 IS.</li>
<li>N4140 is the current working draft. It replaces N3936.</li>
<li>N4141 is the C++14 IS.</li>
</ul>
<h3>Notable Changes to Issues and Papers as Moved</h3>
<p>No motions have been voted into the working draft since N3936.</p>
<h3>Other Notable Editorial Changes:</h3>
<h4>C++14 CD NB comment US-1: Numbered bulleted lists</h4>
<p>Each bullet in a bulleted list now has an accompanying parenthesized
bullet number in addition to the bullet.</p>
<h4>Horizontal and vertical spacing</h4>
<p>A small amount of vertical space has been added between numbered
paragraphs, and various issues where too little vertical space was
present have been fixed.</p>
<p>In cases where a paragraph continues after an example, note, or
bulleted list, the following sentence was sometimes indented. Such
indentation has been removed.</p>
<h2>Minor Editorial Fixes</h2>
<p>A log of all editorial fixes made since N3936 is below:</p>
<pre><code>commit 3974aee60d94d0bae3949f808e58bdfcbbd9990d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Oct 7 13:47:39 2014 -0700
[over.literal] Use a valid parameter-declaration-clause for a literal
operator in example that claims to be "OK".
commit e17586537d43bd6916b93d07d9941f393964f4a6
Author: Richard Smith <richard@metafoo.co.uk>
Date: Fri Oct 3 11:20:01 2014 -0700
[temp] Add L suffix to literal value example definition of constexpr
variable template 'pi', to address questions about whether it would
do the right thing for 'long double'.
commit 120f503dc966d8b9161b1499b16c3ad039627368
Author: Richard Smith <richard@metafoo.co.uk>
Date: Wed Sep 24 18:57:44 2014 -0700
[dcl.enum] Use more natural and unambiguous phrasing around the
definition of whether an enumeration type's underlying type is fixed.
commit 61e6eaba01707a5a59f478bd5d2f74721b8ba947
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Sep 23 16:19:18 2014 -0700
[stmt.for] Dehyphenate for-statement; there is no such grammar term.
commit cca7c26af4ea4e20fd139bf417b1a2481ab8cd9d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Sep 23 16:17:17 2014 -0700
[stmt.for] Remove misplaced hyphen in "declarative region".
commit ef6c5a099def532dd165bb72bdc6289e4901f960
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Sep 23 15:57:26 2014 -0700
[expr.const] Fix typo 'evalution'.
commit 0aef09114a750cf2961b120d9128543dde608fde
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Sep 23 10:06:29 2014 +0100
[ostreambuf.iter.cons] Null pointer is not a verb.
Combine adjacent paragraphs into one itemdescr.
Fixes #384.
commit fd42e6803ceea9fe6f50d968268283dd31f17b5a
Author: Jonathan Wakely <cxx@kayari.org>
Date: Thu Sep 18 14:49:08 2014 +0100
[stringstream.cons], [stringstream.members] Replace rSec2 with rSec3.
commit ad452bc457b744a7c68bd43913baf2184126db8e
Author: Jonathan Wakely <cxx@kayari.org>
Date: Thu Sep 18 14:40:31 2014 +0100
[ios.overview] Remove stray space
commit 8f275f4414b002b5458cec88b491658b70e3fb4f
Author: Jonathan Wakely <cxx@kayari.org>
Date: Thu Sep 18 14:39:20 2014 +0100
[thread.lock.algorithm] Use code font for try_lock().
commit e07db6359aa3bad7b20d54883af80f2a2fce2141
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Sep 16 17:05:47 2014 -0700
[associative.reqmts] Fix double-appearance of table caption on page 751. Thanks
to Thomas Koeppe for diagnosing the problem and identifying the fix.
Fixes #382.
commit f654b0b03cba1ac5c47ff289677e873406a58592
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Sep 16 16:53:24 2014 -0700
[lex.comment] Slightly clarify what "terminates with" means in the context of a
line comment.
commit 88bf52a8dd2941cd0c1b622bf2f8479b86c98a49
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 17:31:26 2014 -0700
[basic.def.odr] Use "is", rather than "shall", when describing the behavior of
the implementation.
Fixes #168.
commit 8d818e62b94dbcd0dbe1b8878d3a78051bf57e1a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 17:27:05 2014 -0700
[thread.condition] Move index entry for library name from main index to library
index.
commit 1f4eaef271c231ede28c0df4e8ca960c5973ac2a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 17:26:06 2014 -0700
[tuple.creation] Add library index entry for std::ignore.
Fixes #124.
commit afa83e839fc375a97716680b9819707a09f877dc
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 15:08:43 2014 -0700
Consistently use `constexpr explicit` rather than `explicit constexpr`.
Fixes #119.
commit f314930a036981d601f920c9e5d136e90dcb8b80
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 15:01:21 2014 -0700
[basic] Fix inconsistency between here and [temp.type]p1: define when two
template-ids referring to variable template specializations are the same.
This is the clear and unambiguous intent.
Fixes #239.
commit 71fa07df0f862c399f56ecc9ba13770c75956bb4
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:57:36 2014 -0700
[utilities] Use `{}` rather than ` = T()` to default-construct
piecewise_construct and allocator_arg.
Fixes #250.
commit bba5cbf7a73454b208de14b0a4d0bb98d0f4c3a0
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:49:48 2014 -0700
[iterator.traits] An implementation that provides __far pointers doesn't need
the standard to tell it (non-normatively) how to implement them.
Fixes #260.
commit f6d097a5a8dc1f310b6e2800aec64748fafeb08d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:45:00 2014 -0700
[expr.call] Change word order to clarify that it is only the main function
that cannot be called, not any arbitrary function whose name is main.
Fixes #261.
commit 4711588293fd87e749079e6045792949a8b5c2e9
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:40:21 2014 -0700
[re.synopt], [re.matchflag] Use code formatting in definition of regex flag
values.
commit 26d689564a9fa04325a274aeeb53a595f0d4bf26
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:29:04 2014 -0700
[re.alg.replace] Add whitespace and bullets to make this paragraph more
readable and disambiguate the binding of the "Then calls" clause in the third
sentence.
Fixes #279.
commit 0736e04de826a69abd998b6adea8b217782c8b46
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 14:03:36 2014 -0700
[dcl.link] Use "obtained" rather than "gotten" in comment in example.
Fixes #274.
commit 8f8a40f571a0c4aab7c77ad64101883a6fe12e2f
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 11:37:29 2014 -0700
[bind] Delete the essentially-empty [bind] subclause and move its only
contents, [func.bind], up a level. This removes the existing 20.9.9 and renames
20.9.9.1 to 20.9.9. [bind] used to group together other binders, but those
are now in [depr].
Fixes #284.
commit 25aa6a57a59c1f08d5ab45f7e738631825262b99
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 11:27:14 2014 -0700
[support.initlist] Don't claim that std::initializer_list is a type; it's a
class template.
Fixes #280.
commit 3ac8fd51726be2d5831cc25007b5a777a27aada0
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 11:19:30 2014 -0700
[expr.delete] Move footnote to more appropriate place.
Fixes #314.
commit cc8c491810f8cfe814a909b171a6da3c5861a8f7
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Sep 8 11:03:54 2014 -0700
[support.exception], [except.nested]: Attributes should be written after
'template<...>', not before.
Fixes #363.
commit 3223c1cd68969667caf52db38fb60d723d7caaca
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 17:27:30 2014 -0700
[exception] Remove redundant description. Per [res.on.exception.handling]p4,
destructors do not throw unless otherwise specified, and functions declared
noexcept may not throw.
Fixes #339.
commit 1a59739348a8ebe039a218944811a02b16fb8c30
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 17:21:12 2014 -0700
[except.handle] Add a missing ", or" after penultimate bullet.
Fixes #344.
commit c24e2c5e4770efa8732758a7f0d435990037fda8
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 17:14:06 2014 -0700
[over.oper] Clarify that the 'has a parameter of class or enum type' constraint
on overloaded operators only applies to the non-member case.
commit 54c6bf66d97c1d0f8a7ded3c0a2228093d8d3b5d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 16:54:15 2014 -0700
[over.inc] Add 'non-static' to the description of a member operator++
or operator-- to avoid confusion when comparing this wording to that
of similar paragraphs in other clauses. The normative rule already
exists in [over.oper]p6.
Fixes #346.
commit 667f54a1217fe1e957746e63f271d076e7b40231
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 16:35:31 2014 -0700
[depr.strstreambuf.virtuals] Fix a collection of formatting issues (paragraph
numbers in the middle of a bullet in the middle of a paragraph, half of a
paragraph accidentally incorporated into a table, missing begin/end of bulleted
list).
Fixes #381.
commit 4a58c6824c12ee4461edd9f5c891d050feca9032
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 16:07:44 2014 -0700
[stmt.ambig] Don't start a several-paragraph note in the middle of a paragraph;
that makes it hard to notice that the second paragraph is not normative. Fix
the note to avoid suggesting that unambiguous cases need disambiguation.
commit a361e26605834b7d90fc4d72fe48c352daaf9100
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Aug 30 12:42:05 2014 -0700
[basic.start.main] Don't use terminal font for comma separating a list of
keywords.
commit 1bf763d4c8d23272a4b6f73e25f5f2c953844f9a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat Jun 28 06:11:14 2014 -0700
[cpp.predefined] Make double-underscore names searchable by switching from a
thin space to a kerning gap between the underscores.
commit 73ced7924ce2df7e5d96ce903014f16b57025c1d
Author: FrankHB <frankhb1989@gmail.com>
Date: Thu Aug 28 04:47:26 2014 +0800
[expr.new] Avoid "heap allocation"
The term "heap allocation" is not normatively defined, and the term "heap" has other meaning in the standard. Here "heap allocation" is typical implementation details, likely close to "free store". To clarify the intent, it would be better never used at all, even in an example.
commit 802ce675d22a413f66e9f51e1ae05b10a8c9cfb9
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Aug 26 21:29:44 2014 -0700
JP 04: [lex.icon] Consistently order descriptions of integer literals in
increasing radix order.
Fixes #368.
commit f761e41ebfafe396d1594967a09a79cd8b330e00
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Aug 26 21:15:00 2014 -0700
[lex.ppnumber] Reorder grammar rule to make the similarities and
differences between the digit separator and non-digit-separator
productions more obvious.
commit ca58778f57fab8cdbd560961d9bd945c4fefcbef
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Aug 26 13:30:12 2014 -0700
JP 11: [thread.mutex.requirements.general] Remove outdated sentence.
This sentence directly contradicts several other portions of the
standard, and does not reflect the intended meaning.
commit b6d072b7bdec269fd25ffd40d85f8502b4488744
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 18:01:45 2014 -0700
[complex.ops] Reorder 'bool constexpr' to 'constexpr bool' for
consistency.
commit 83cedc7b814ed59a2a6c840ea9ff35a88bb9eef3
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 17:59:02 2014 -0700
[multiset.cons] Add missing parameter type.
Fixes #189.
commit 8d43245c43b6733f77b8c774dc0552caba29e561
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 17:56:32 2014 -0700
JP 16: [thread.sharedtimedmutex.class] Add missing 'or' at end of
bullet.
Fixes #375.
commit 43ee8ada14f3f333276d0a80fe1274e99dcd8fd5
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 17:47:43 2014 -0700
JP 14: [thread.sharedtimedmutex.class] Reformat synopsis for consistency
with nearby subclauses. Add "// blocking" comment systematically to
lock() on all timed mutex classes.
Fixes #374.
commit 7ddc8957079459ae9fce91555cce3b040fb0b659
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 17:19:50 2014 -0700
JP 06: [dcl.constexpr] Remove incorrect example.
Also fixes #370.
commit c7ee7c64fd4ce6f051714d70cfe4a69e65c45933
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 16:53:32 2014 -0700
Fix to 2013-09 LWG Motion 7:
[comparisons] Fix incorrect application of N3789 to the working paper:
- Add 'constexpr' to
std::equal_to<>::operator()
std::not_equal_to<>::operator()
std::greater<>::operator()
std::less<>::operator()
std::greater_equal<>::operator()
std::less_equal<>::operator()
- Reorder 'bool constexpr' to 'constexpr bool' in
std::logical_or<T>::operator()
std::logical_and<T>::operator()
std::logical_not<T>::operator()
Also fixes 14882:2014 DIS JP 08, fixes 14882:2014 DIS JP 09, fixes #291.
commit d833639b745cb3373d7fb9f6698e4b22a4250d0e
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 25 16:46:56 2014 -0700
[basic.lookup.classref] Use code font for `~`.
commit 5961b150e16572225481e8db383b73c837780121
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Aug 21 15:40:18 2014 -0700
Replace all '\sim's with '\~'s, to give more consistent formatting for ~s.
commit 92d831349991ab00462cbb163dec39e4fe26fb5b
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Aug 21 15:27:54 2014 -0700
Use a consistent size and position for all tildes.
commit c4ce2ae3c7d3b2ca5a18caf9592172d20af953db
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Aug 21 15:24:55 2014 -0700
[gram] Don't convert one space to two after a `.` or `!` in the grammar.
These do not mark the end of a sentence.
commit 7dd60658927bf6ca2e0a3c550f074ad63fcb8659
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Aug 21 15:22:26 2014 -0700
[cpp] Fix font of # in non-directive.
commit 312772bce2468c65ff3556a2207734cf3f0aab69
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Aug 21 14:19:25 2014 -0700
[expr.prim.general] Use code font for ~.
commit 4d1b4c404758249ae7ef2957b1b83a50c490071e
Author: Richard Smith <richard@metafoo.co.uk>
Date: Wed Aug 13 11:45:44 2014 -0700
[basic.types] Italicize the definitions of 'incompletely-defined object
type' and 'incomplete type', and add index entries.
commit 009b092e6c3cdfefb8566e21ce593d6e715abdd0
Author: Mitsuru Kariya <kariya_mitsuru@hotmail.com>
Date: Sun Aug 10 18:39:11 2014 +0900
Fix several omissions of semicolon.
commit 28b5d355e74d283c40287f302b603d6c53a038af
Author: Jonathan Wakely <cxx@kayari.org>
Date: Wed Aug 6 11:11:29 2014 +0100
[atomics.syn] Fix typo by replacing ')' with '_'
Fixes #359
commit 12a17b0b3df075752a1f063b90675cbfaeea3423
Author: Takatoshi Kondo <redboltz@gmail.com>
Date: Wed Aug 6 12:54:09 2014 +0900
[util.smartptr.shared.const]
[util.smartptr.shared.obs]
Replace literal 0 with nullptr.
commit 8d993530a9af19a21f5169a11f93d22612908152
Author: K-ballo <k@fusionfenix.com>
Date: Tue Aug 5 20:15:50 2014 -0300
[refwrap] Use injected class name in reference_wrapper special member functions
commit 5dece362367f3aaad60b5ebe12d5cf0f2806bac0
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue Aug 5 14:09:23 2014 -0700
[over.ics.rank] Correct the example in p3.1.5 to demonstrate that
bullet; previously the example was ordered by 3.1.1 because one of
the overloads did not require a qualification conversion.
commit 9076e26c96d89ddeb812fd4c38014374984e8f57
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 12:46:13 2014 +0100
[new.delete.single], [smartptr.util.getdeleter] Replace literal 0 with nullptr.
Fixes #243 and #244
commit ae896e938af506b077467061c7e9e3e89fef0e7e
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 12:37:18 2014 +0100
[adjacent.difference] Use code font for *i expression.
Fixes #287
commit 87f84ec2c30569aa17be2228a3dbfcc5467c531a
Author: Jonathan Wakely <cxx@kayari.org>
Date: Fri Aug 1 12:01:53 2014 +0100
[utility] Add index_sequence et al to the library index.
Addresses #245
commit 607583a47e9d6e623c0592b3ab2b6a4316684fa1
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 12:17:22 2014 +0100
[memory.syn] Change "template functions" to "function templates"
Fixes #302
commit 25a61066569db45a919ae210d442ee1ae5bf1d20
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 12:10:46 2014 +0100
[func.bind.bind] Fix "template parameter back" typo.
Fixes #316
commit 43002cef3445608eac0e8b772270ca1616c607e5
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 11:40:22 2014 +0100
[futures.overview] Add ArgTypes... to swap declaration.
Fixes #336
commit 12eb4b6a113e2ba16ce6ae08af59f315597fb22f
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 11:33:37 2014 +0100
[util.smartptr.shared.const], [util.smartptr.weak.const] Remove "the"
Fixes #335
commit e3a55d2f8d834743e963a84e28ac5a5f3145813c
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue Aug 5 10:58:28 2014 +0100
[stack.defn] Fix swap signature.
Reported by Stephan T Lavavej. Fixes #242
commit ab93130a122d38b33d424df7a0379c1190a64c8d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Aug 4 18:33:43 2014 -0700
[class] Fix unclear phrase "only one" to clearer phrase "at most one"
used in [class.union], to make it more obvious that a union can have
no active members.
commit e26be95253370c374d4d3471d14cf376b15b278f
Author: Thomas Köppe <tkoeppe@google.com>
Date: Fri Aug 1 21:38:11 2014 +0100
Fix typography of "C." (spacing)
commit 898a67758969d24aa9d47f726418c2be3951e5e8
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jul 10 16:53:25 2014 -0700
[global.functions] Clarify note by adding a cross-reference to make it
clearer that we're quoting another part of the standard. Update the
quotation to match, and clean it up slightly.
commit 4c0d9385493140ab50c36612a951370077d5c135
Author: Richard Smith <richard@metafoo.co.uk>
Date: Wed Jul 2 14:54:30 2014 -0700
Do not number bullets within tables.
commit 33a5a69f6dd6cca4ad476e2d0fdf9da871ae7b3e
Author: Jonathan Wakely <cxx@kayari.org>
Date: Mon Jun 30 11:10:09 2014 +0100
[atomics.syn] Replace comma with period
Reported by Stephan T. Lavavej. Fixes #340
commit 4a6e06f69c751b130932ae0e6857b2eaeb523417
Author: Richard Smith <richard@metafoo.co.uk>
Date: Fri Jun 27 07:49:16 2014 -0700
[depr.str.strstreams] Fix typo and inconsistent formatting.
commit 02ccd2f8d19235be0a768a7ead35912fcb4fc18f
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 15:23:46 2014 -0700
Remove bullet numbering for bullets outside of any paragraph.
commit d4ff07bec2a1bcaf9c708f1f12f41ae2bb92fad5
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 15:18:19 2014 -0700
[ratio.syn] Fix formatting of codeblock with digit separators.
commit 60a4e5fe9bd442c50ca01eadd70a8b183755e14c
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 14:42:41 2014 -0700
[toc] Make room for page numbers >= 1000 in table of contents.
commit 0ff421faaae2e8fef3054c69c62cc60b6d27528a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 14:28:36 2014 -0700
[rand] Use modern spelling of \frac and \binom to remove LaTeX warning.
commit e2bf02ae11d6eb27b49c514895fcf8bc86316361
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 14:21:08 2014 -0700
Fix 'tokens not allowed' warnings when building PDF.
commit 6c602b653a211953a2c3caedb66cccbf13793b17
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 13:34:10 2014 -0700
[ratio.syn] Use digit separators to make large numbers more readable.
commit 45aba4256a46c21b323d70545d0710aa58be5ca2
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 13:24:22 2014 -0700
[class] Move paragraph breaks to improve vertical whitespace.
commit 9c952214bbab5b0fd78ad274d26601aa9aa24f23
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 13:23:29 2014 -0700
Parenthesize bullet numbers to make it more obvious that text after the bullets
is part of the preceding paragraph.
commit 72d2edaad6c5db7f0181461d7d7ef33aac73dbca
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 13:20:47 2014 -0700
[memory.general] Add missing `<` character to C header name.
commit d7cf23cb988e58c4d8b878576cacb0fed59b9f47
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun Jun 22 08:15:17 2014 -0700
US-1 Add numbering for bullets. Bullets are numbered within the surrounding
paragraph or bullet, not within the relevant bulleted list, so that numbers are
unique. The main text formatting is unchanged; bullet numbers are placed in the
left margin, just like paragraph numbers.
Also fixes #177.
commit a01847465c96ed44e4b1305636351b336e179dbd
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 12:21:33 2014 -0700
Remove trailing blank lines at ends of grammar productions.
commit 3650ebb51c7cda0d8abf21244c77da05a1908206
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 12:10:24 2014 -0700
Fix vertical whitespace around grammar definitions and bullets.
commit 85d64aa6af217d2191a705db3b13865b9dfd01c6
Author: Richard Smith <richard@metafoo.co.uk>
Date: Thu Jun 26 07:38:39 2014 -0700
Tighten the words we use in "Throughout this [sub]clause" wording
to introduce a set of requirements for template arguments based
on their names, and make these paragraphs consistent.
commit 50dfba2293729baf00f8bf98eeaaebcd8e5a5d2b
Author: Richard Smith <richard@metafoo.co.uk>
Date: Wed Jun 25 03:59:44 2014 -0700
Remove unused definitions of terms 'formal argument', 'actual argument', and
'actual parameter'. Unify uses of 'formal parameter' and 'parameter' to all use
the vastly more common term 'parameter' and remove the definition of 'formal
parameter'.
commit ab1e49a22e78386e263e787cd1e705f9c81e951f
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun Jun 22 08:48:01 2014 -0700
[dcl.dcl] Split the introduction of *declaration*, *simple-declaration*, and
*attribute-declaration* into three separate paragraphs, rather than having a
single paragraph spanning a whole page.
commit 4844f804e7a9cd438d17cdae3c84dbf74f4d8d1a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun Jun 22 08:43:38 2014 -0700
Add 1ex of vertical space between numbered paragraphs.
commit b7a07da99905151d946713214e2a26e589c4c2d2
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun Jun 22 04:45:54 2014 -0700
[class.mem] Format definition of 'layout-compatible' as a definition,
add it to the index, and unify spelling of this index entry across the
three places where it is defined.
commit cfd280a0fae206a6cb80022a5d29a88d77bf723c
Author: Richard Smith <richard@metafoo.co.uk>
Date: Fri Jun 20 23:38:23 2014 -0700
[expr.const] Add missing 'const' to examples invalidated by N3598.
Fixes CWG1683.
commit 48b767d93a773cae1c4d0cb58cae8f8711b9ba8e
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon Jun 16 01:59:26 2014 -0700
[basic.lval] Correct example of xvalue to not suggest that a function call
returning an rvalue reference to a function type is an xvalue.
Fixes #315
commit e1f93bccfa94f5344d89958630a90362e54ba6b9
Author: Richard Smith <richard@metafoo.co.uk>
Date: Wed Jun 11 13:13:17 2014 -0700
[expr.alignof] Use "is", not "shall be", to express a requirement on the
implementation rather than one on the program.
commit 77bee81349d30d7c23a19ebf81aedbd63b2fcaab
Author: Zhihao Yuan <zhihao.yuan@rackspace.com>
Date: Mon Jun 9 15:45:13 2014 -0400
SFINAE is a Remark not Requires.
commit ef8cac8d005d9e107566a41209187da264d60f59
Author: Richard Smith <richard@metafoo.co.uk>
Date: Fri May 23 14:15:33 2014 -0700
[temp] Fix example to match a modern understanding of Quantum Mechanics.
commit 18ebd12b5ad21dcc271dfb72f9f5a94efaadb445
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue May 20 16:24:39 2014 -0700
Remove indentation after line breaks within the same paragraph.
commit aaa38668c2cd903b7c42101c916b9d02890501bb
Author: Jonathan Wakely <cxx@kayari.org>
Date: Fri May 23 15:21:11 2014 +0100
[refwrap] Remove stray period.
commit ddc30cc6d3f1737597948fc1a0c9a3bc3311b09d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue May 20 16:23:25 2014 -0700
[temp.mem.enum] Add a paragraph break to remove unwanted whitespace at
the start of an example.
commit 910119129a7b91ccdc13a298e03921619d18911e
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue May 20 16:22:28 2014 -0700
[gram] Fix formatting of 'class' and 'enumeration' -- these don't refer
to keywords, so they shouldn't be in teletype font.
commit f5db6003384bf612f907939c50d7e7f43ca9dfa7
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue May 20 15:31:08 2014 -0700
Fix missing space before bulleted lists.
commit 293bd127d7f767d726dc02ec5c4d5bd4a3772a2f
Author: Zhihao Yuan <lichray@gmail.com>
Date: Tue May 20 10:43:17 2014 -0500
instantiation -> specialization in [refwrap]
To match the wording of http://cplusplus.github.io/LWG/lwg-active.html#2106 (The wording of 2106 is taken from here, but we decided to use the term "specialization".
commit e3b1fbb1a043b3695e7e3ff1208782272cb2ad25
Author: Jonathan Wakely <cxx@kayari.org>
Date: Tue May 20 16:04:21 2014 +0100
[atomics.types.operations.req] Hyphenate "non member".
Change "their corresponding explicit" to "their corresponding explicit
functions".
commit 713bdee8b10f2d555d047cd159c10372919641cb
Author: Jonathan Wakely <cxx@kayari.org>
Date: Wed Apr 23 16:57:31 2014 +0100
[atomics.types.operations.req] Remove mention of atomic_address.
commit 3ceb78783cb564aaada9538c0282aea889a2fd09
Author: Mitsuru Kariya <kariya_mitsuru@hotmail.com>
Date: Tue May 20 23:14:12 2014 +0900
[lib.complex.member.ops] fix operator declarations
In 26.4.2 (class definition), four arithmetic operators which take a complex argument are declared as member templates.
commit cc9580b14a41549a942a1e60330cbfd670949c41
Author: Richard Smith <richard@metafoo.co.uk>
Date: Tue May 13 13:21:00 2014 -0700
[basic.def.odr] Fix example to perform the lvalue-to-rvalue conversion
outside the conditional expression, as intended.
commit aaaf8ae73d38389d25becc4a97f88f26a76457c1
Author: Richard Smith <richard@metafoo.co.uk>
Date: Mon May 12 17:19:44 2014 -0700
[basic.def.odr] Clarify the meaning of the set of potential results of
an expression and how that relates to odr-use.
commit cf23c2d08fdcc2f8992beadec692bacfcf317cda
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun May 11 21:27:58 2014 -0700
[bitset.cons] Fix typo and surrounding inconsistencies.
Fixes #294.
commit 4d62df7355370c15e0cccac76beba3e4c04d872b
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sun May 11 15:01:00 2014 -0700
[temp.names] Add missing comma.
commit 877e671654e22aa386db630b680422626ec7529a
Author: Richard Smith <richard@metafoo.co.uk>
Date: Sat May 10 12:43:53 2014 -0700
[gram] Rebuild grammar after eb18f34d.
commit 8043471445ffd7632dcddc2aeb7eb87ef671e30d
Author: Richard Smith <richard@metafoo.co.uk>
Date: Fri May 9 18:22:56 2014 -0700
[lex.ext] Fully-qualify std::size_t in example.