Skip to content

Commit 0f66c50

Browse files
committed
propagate_const: add semicolons at the end of signatures for consistency
1 parent a7148af commit 0f66c50

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

utilities.html

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ <h1><code>propagate_const</code> constructors</h1>
812812
</p>
813813
<cxx-function>
814814
<cxx-signature>template &lt;class U&gt;
815-
<i>see below</i> constexpr propagate_const(propagate_const&lt;U&gt;&amp;&amp; pu)</cxx-signature>
815+
<i>see below</i> constexpr propagate_const(propagate_const&lt;U&gt;&amp;&amp; pu);</cxx-signature>
816816

817817
<cxx-remarks>
818818
This constructor shall not participate in overload resolution unless
@@ -829,7 +829,7 @@ <h1><code>propagate_const</code> constructors</h1>
829829

830830
<cxx-function>
831831
<cxx-signature>template &lt;class U&gt;
832-
<i>see below</i> constexpr propagate_const(U&amp;&amp; u)</cxx-signature>
832+
<i>see below</i> constexpr propagate_const(U&amp;&amp; u);</cxx-signature>
833833

834834
<cxx-remarks>
835835
This constructor shall not participate in overload resolution unless
@@ -851,7 +851,7 @@ <h1><code>propagate_const</code> assignment</h1>
851851

852852
<cxx-function>
853853
<cxx-signature>template &lt;class U&gt;
854-
constexpr propagate_const operator=(propagate_const&lt;U&gt;&amp;&amp; pu)</cxx-signature>
854+
constexpr propagate_const operator=(propagate_const&lt;U&gt;&amp;&amp; pu);</cxx-signature>
855855

856856
<cxx-remarks>
857857
This function shall not participate in overload resolution unless
@@ -863,7 +863,7 @@ <h1><code>propagate_const</code> assignment</h1>
863863

864864
<cxx-function>
865865
<cxx-signature>template &lt;class U&gt;
866-
constexpr propagate_const operator=(U&amp;&amp; u)</cxx-signature>
866+
constexpr propagate_const operator=(U&amp;&amp; u);</cxx-signature>
867867

868868
<cxx-remarks>
869869
This function shall not participate in overload resolution unless
@@ -879,20 +879,20 @@ <h1><code>propagate_const</code> assignment</h1>
879879
<h1><code>propagate_const</code> const observers</h1>
880880

881881
<cxx-function>
882-
<cxx-signature>explicit constexpr operator bool() const</cxx-signature>
882+
<cxx-signature>explicit constexpr operator bool() const;</cxx-signature>
883883

884884
<cxx-returns><code>(bool)t_</code>.</cxx-returns>
885885
</cxx-function>
886886

887887
<cxx-function>
888-
<cxx-signature>constexpr const element_type* operator-&gt;() const</cxx-signature>
888+
<cxx-signature>constexpr const element_type* operator-&gt;() const;</cxx-signature>
889889

890890
<cxx-requires><code>get() != nullptr</code>.</cxx-requires>
891891
<cxx-returns><code>get()</code>.</cxx-returns>
892892
</cxx-function>
893893

894894
<cxx-function>
895-
<cxx-signature>constexpr operator const element_type*() const</cxx-signature>
895+
<cxx-signature>constexpr operator const element_type*() const;</cxx-signature>
896896

897897
<cxx-returns><code>get()</code>.</cxx-returns>
898898
<cxx-remarks>
@@ -903,14 +903,14 @@ <h1><code>propagate_const</code> const observers</h1>
903903
</cxx-function>
904904

905905
<cxx-function>
906-
<cxx-signature>constexpr const element_type&amp; operator*() const</cxx-signature>
906+
<cxx-signature>constexpr const element_type&amp; operator*() const;</cxx-signature>
907907

908908
<cxx-requires><code>get() != nullptr</code>.</cxx-requires>
909909
<cxx-returns><code>*get()</code>.</cxx-returns>
910910
</cxx-function>
911911

912912
<cxx-function>
913-
<cxx-signature>constexpr const element_type* get() const</cxx-signature>
913+
<cxx-signature>constexpr const element_type* get() const;</cxx-signature>
914914

915915
<cxx-returns>
916916
<code>t_</code> if <code>T</code> is an object pointer type,
@@ -923,14 +923,14 @@ <h1><code>propagate_const</code> const observers</h1>
923923
<h1><code>propagate_const</code> non-const observers</h1>
924924

925925
<cxx-function>
926-
<cxx-signature>constexpr element_type* operator-&gt;()</cxx-signature>
926+
<cxx-signature>constexpr element_type* operator-&gt;();</cxx-signature>
927927

928928
<cxx-requires><code>get() != nullptr</code>.</cxx-requires>
929929
<cxx-returns><code>get()</code>.</cxx-returns>
930930
</cxx-function>
931931

932932
<cxx-function>
933-
<cxx-signature>constexpr operator element_type*()</cxx-signature>
933+
<cxx-signature>constexpr operator element_type*();</cxx-signature>
934934

935935
<cxx-returns><code>get()</code>.</cxx-returns>
936936
<cxx-remarks>
@@ -941,14 +941,14 @@ <h1><code>propagate_const</code> non-const observers</h1>
941941
</cxx-function>
942942

943943
<cxx-function>
944-
<cxx-signature>constexpr element_type&amp; operator*()</cxx-signature>
944+
<cxx-signature>constexpr element_type&amp; operator*();</cxx-signature>
945945

946946
<cxx-requires><code>get() != nullptr</code>.</cxx-requires>
947947
<cxx-returns><code>*get()</code>.</cxx-returns>
948948
</cxx-function>
949949

950950
<cxx-function>
951-
<cxx-signature>constexpr element_type* get()</cxx-signature>
951+
<cxx-signature>constexpr element_type* get();</cxx-signature>
952952

953953
<cxx-returns>
954954
<code>t_</code> if <code>T</code> is an object pointer type,
@@ -961,7 +961,7 @@ <h1><code>propagate_const</code> non-const observers</h1>
961961
<h1><code>propagate_const</code> modifiers</h1>
962962

963963
<cxx-function>
964-
<cxx-signature>constexpr void swap(propagate_const&amp; pt) noexcept(<i>see below</i>)</cxx-signature>
964+
<cxx-signature>constexpr void swap(propagate_const&amp; pt) noexcept(<i>see below</i>);</cxx-signature>
965965

966966
<p>
967967
The constant-expression in the exception-specification is <code>noexcept(swap(t_, pt.t_))</code>.
@@ -976,153 +976,153 @@ <h1><code>propagate_const</code> relational operators</h1>
976976

977977
<cxx-function>
978978
<cxx-signature>template &lt;class T&gt;
979-
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, nullptr_t)</cxx-signature>
979+
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, nullptr_t);</cxx-signature>
980980

981981
<cxx-returns><code>pt.t_ == nullptr</code>.</cxx-returns>
982982
</cxx-function>
983983

984984
<cxx-function>
985985
<cxx-signature>template &lt;class T&gt;
986-
constexpr bool operator==(nullptr_t, const propagate_const&lt;U&gt;&amp; pt)</cxx-signature>
986+
constexpr bool operator==(nullptr_t, const propagate_const&lt;U&gt;&amp; pt);</cxx-signature>
987987

988988
<cxx-returns><code>nullptr == pt.t_</code>.</cxx-returns>
989989
</cxx-function>
990990

991991
<cxx-function>
992992
<cxx-signature>template &lt;class T&gt;
993-
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, nullptr_t)</cxx-signature>
993+
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, nullptr_t);</cxx-signature>
994994

995995
<cxx-returns><code>pt.t_ != nullptr</code>.</cxx-returns>
996996
</cxx-function>
997997

998998
<cxx-function>
999999
<cxx-signature>template &lt;class T&gt;
1000-
constexpr bool operator!=(nullptr_t, const propagate_const&lt;T&gt;&amp; pt)</cxx-signature>
1000+
constexpr bool operator!=(nullptr_t, const propagate_const&lt;T&gt;&amp; pt);</cxx-signature>
10011001

10021002
<cxx-returns><code>nullptr != pt.t_</code>.</cxx-returns>
10031003
</cxx-function>
10041004

10051005
<cxx-function>
10061006
<cxx-signature>template &lt;class T, class U&gt;
1007-
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1007+
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10081008

10091009
<cxx-returns><code>pt.t_ == pu.t_</code>.</cxx-returns>
10101010
</cxx-function>
10111011

10121012
<cxx-function>
10131013
<cxx-signature>template &lt;class T, class U&gt;
1014-
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1014+
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10151015

10161016
<cxx-returns><code>pt.t_ != pu.t_</code>.</cxx-returns>
10171017
</cxx-function>
10181018

10191019
<cxx-function>
10201020
<cxx-signature>template &lt;class T, class U&gt;
1021-
constexpr bool operator&lt;(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1021+
constexpr bool operator&lt;(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10221022

10231023
<cxx-returns><code>pt.t_ &lt; pu.t_</code>.</cxx-returns>
10241024
</cxx-function>
10251025

10261026
<cxx-function>
10271027
<cxx-signature>template &lt;class T, class U&gt;
1028-
constexpr bool operator&gt;(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1028+
constexpr bool operator&gt;(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10291029

10301030
<cxx-returns><code>pt.t_ &gt; pu.t_</code>.</cxx-returns>
10311031
</cxx-function>
10321032

10331033
<cxx-function>
10341034
<cxx-signature>template &lt;class T, class U&gt;
1035-
constexpr bool operator&lt;=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1035+
constexpr bool operator&lt;=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10361036

10371037
<cxx-returns><code>pt.t_ &lt;= pu.t_</code>.</cxx-returns>
10381038
</cxx-function>
10391039

10401040
<cxx-function>
10411041
<cxx-signature>template &lt;class T, class U&gt;
1042-
constexpr bool operator&gt;=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1042+
constexpr bool operator&gt;=(const propagate_const&lt;T&gt;&amp; pt, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10431043

10441044
<cxx-returns><code>pt.t_ &gt;= pu.t_</code>.</cxx-returns>
10451045
</cxx-function>
10461046

10471047
<cxx-function>
10481048
<cxx-signature>template &lt;class T, class U&gt;
1049-
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1049+
constexpr bool operator==(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10501050

10511051
<cxx-returns><code>pt.t_ == u</code>.</cxx-returns>
10521052
</cxx-function>
10531053

10541054
<cxx-function>
10551055
<cxx-signature>template &lt;class T, class U&gt;
1056-
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1056+
constexpr bool operator!=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10571057
<cxx-returns><code>pt.t_ != u</code>.</cxx-returns>
10581058
</cxx-function>
10591059

10601060
<cxx-function>
10611061
<cxx-signature>template &lt;class T, class U&gt;
1062-
constexpr bool operator&lt;(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1062+
constexpr bool operator&lt;(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10631063

10641064
<cxx-returns><code>pt.t_ &lt; u</code>.</cxx-returns>
10651065
</cxx-function>
10661066

10671067
<cxx-function>
10681068
<cxx-signature>template &lt;class T, class U&gt;
1069-
constexpr bool operator&gt;(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1069+
constexpr bool operator&gt;(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10701070

10711071
<cxx-returns><code>pt.t_ &gt; u</code>.</cxx-returns>
10721072
</cxx-function>
10731073

10741074
<cxx-function>
10751075
<cxx-signature>template &lt;class T, class U&gt;
1076-
constexpr bool operator&lt;=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1076+
constexpr bool operator&lt;=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10771077

10781078
<cxx-returns><code>pt.t_ &lt;= u</code>.</cxx-returns>
10791079
</cxx-function>
10801080

10811081
<cxx-function>
10821082
<cxx-signature>template &lt;class T, class U&gt;
1083-
constexpr bool operator&gt;=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u)</cxx-signature>
1083+
constexpr bool operator&gt;=(const propagate_const&lt;T&gt;&amp; pt, const U&amp; u);</cxx-signature>
10841084

10851085
<cxx-returns><code>pt.t_ &gt;= u</code>.</cxx-returns>
10861086
</cxx-function>
10871087

10881088
<cxx-function>
10891089
<cxx-signature>template &lt;class T, class U&gt;
1090-
constexpr bool operator==(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1090+
constexpr bool operator==(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10911091

10921092
<cxx-returns><code>t == pu.t_</code>.</cxx-returns>
10931093
</cxx-function>
10941094

10951095
<cxx-function>
10961096
<cxx-signature>template &lt;class T, class U&gt;
1097-
constexpr bool operator!=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1097+
constexpr bool operator!=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
10981098

10991099
<cxx-returns><code>t != pu.t_</code>.</cxx-returns>
11001100
</cxx-function>
11011101

11021102
<cxx-function>
11031103
<cxx-signature>template &lt;class T, class U&gt;
1104-
constexpr bool operator&lt;(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1104+
constexpr bool operator&lt;(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
11051105

11061106
<cxx-returns><code>t &lt; pu.t_</code>.</cxx-returns>
11071107
</cxx-function>
11081108

11091109
<cxx-function>
11101110
<cxx-signature>template &lt;class T, class U&gt;
1111-
constexpr bool operator&gt;(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1111+
constexpr bool operator&gt;(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
11121112

11131113
<cxx-returns><code>t &gt; pu.t_</code>.</cxx-returns>
11141114
</cxx-function>
11151115

11161116
<cxx-function>
11171117
<cxx-signature>template &lt;class T, class U&gt;
1118-
constexpr bool operator&lt;=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1118+
constexpr bool operator&lt;=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
11191119

11201120
<cxx-returns><code>t &lt;= pu.t_</code>.</cxx-returns>
11211121
</cxx-function>
11221122

11231123
<cxx-function>
11241124
<cxx-signature>template &lt;class T, class U&gt;
1125-
constexpr bool operator&gt;=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu)</cxx-signature>
1125+
constexpr bool operator&gt;=(const T&amp; t, const propagate_const&lt;U&gt;&amp; pu);</cxx-signature>
11261126

11271127
<cxx-returns><code>t &gt;= pu.t_</code>.</cxx-returns>
11281128
</cxx-function>
@@ -1132,7 +1132,7 @@ <h1><code>propagate_const</code> specialized algorithms</h1>
11321132

11331133
<cxx-function>
11341134
<cxx-signature>template &lt;class T&gt;
1135-
constexpr void swap(propagate_const&lt;T&gt;&amp; pt1, propagate_const&lt;T&gt;&amp; pt2) noexcept(<i>see below</i>)</cxx-signature>
1135+
constexpr void swap(propagate_const&lt;T&gt;&amp; pt1, propagate_const&lt;T&gt;&amp; pt2) noexcept(<i>see below</i>);</cxx-signature>
11361136

11371137
<p>
11381138
The constant-expression in the exception-specification is <code>noexcept(swap(pt1.t_, pt2.t_))</code>.
@@ -1153,7 +1153,7 @@ <h1><code>propagate_const</code> underlying pointer access</h1>
11531153

11541154
<cxx-function>
11551155
<cxx-signature>template &lt;class T&gt;
1156-
constexpr const T&amp; get_underlying(const propagate_const&lt;T&gt;&amp; pt) noexcept</cxx-signature>
1156+
constexpr const T&amp; get_underlying(const propagate_const&lt;T&gt;&amp; pt) noexcept;</cxx-signature>
11571157

11581158
<cxx-returns>
11591159
a reference to the underlying object pointer type.
@@ -1162,7 +1162,7 @@ <h1><code>propagate_const</code> underlying pointer access</h1>
11621162

11631163
<cxx-function>
11641164
<cxx-signature>template &lt;class T&gt;
1165-
constexpr T&amp; get_underlying(propagate_const&lt;T&gt;&amp; pt) noexcept</cxx-signature>
1165+
constexpr T&amp; get_underlying(propagate_const&lt;T&gt;&amp; pt) noexcept;</cxx-signature>
11661166

11671167
<cxx-returns>
11681168
a reference to the underlying object pointer type.
@@ -1175,7 +1175,7 @@ <h1><code>propagate_const</code> hash support</h1>
11751175

11761176
<cxx-function>
11771177
<cxx-signature>template &lt;class T&gt;
1178-
struct hash&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1178+
struct hash&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
11791179

11801180
<p>
11811181
For an object <code>p</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1195,7 +1195,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
11951195

11961196
<cxx-function>
11971197
<cxx-signature>template &lt;class T&gt;
1198-
struct equal_to&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1198+
struct equal_to&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
11991199

12001200
<p>
12011201
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1212,7 +1212,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
12121212

12131213
<cxx-function>
12141214
<cxx-signature>template &lt;class T&gt;
1215-
struct not_equal_to&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1215+
struct not_equal_to&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
12161216

12171217
<p>
12181218
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1227,7 +1227,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
12271227

12281228
<cxx-function>
12291229
<cxx-signature>template &lt;class T&gt;
1230-
struct less&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1230+
struct less&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
12311231

12321232
<p>
12331233
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1244,7 +1244,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
12441244

12451245
<cxx-function>
12461246
<cxx-signature>template &lt;class T&gt;
1247-
struct greater&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1247+
struct greater&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
12481248

12491249
<p>
12501250
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1261,7 +1261,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
12611261

12621262
<cxx-function>
12631263
<cxx-signature>template &lt;class T&gt;
1264-
struct less_equal&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1264+
struct less_equal&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
12651265

12661266
<p>
12671267
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,
@@ -1278,7 +1278,7 @@ <h1><code>propagate_const</code> comparison function objects</h1>
12781278

12791279
<cxx-function>
12801280
<cxx-signature>template &lt;class T&gt;
1281-
struct greater_equal&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;</cxx-signature>
1281+
struct greater_equal&lt;experimental::fundamentals_v2::propagate_const&lt;T&gt;&gt;;</cxx-signature>
12821282

12831283
<p>
12841284
For objects <code>p, q</code> of type <code>propagate_const&lt;T&gt;</code>,

0 commit comments

Comments
 (0)