Skip to content

Commit 4631716

Browse files
committed
s/constructable/constructible/
[CI SKIP]
1 parent 57afd55 commit 4631716

File tree

12 files changed

+28
-28
lines changed

12 files changed

+28
-28
lines changed

doc/concepts/concepts.qbk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ of type `const RealType`, and /ca/ is an object of type `const arithmetic-type`
285285
[table
286286
[[Expression][Result Type][Notes]]
287287
[[`RealType(cr)`][RealType]
288-
[RealType is copy constructable.]]
288+
[RealType is copy constructible.]]
289289
[[`RealType(ca)`][RealType]
290-
[RealType is copy constructable from the arithmetic types.]]
290+
[RealType is copy constructible from the arithmetic types.]]
291291
[[`r = cr`][RealType&][Assignment operator.]]
292292
[[`r = ca`][RealType&][Assignment operator from the arithmetic types.]]
293293
[[`r += cr`][RealType&][Adds cr to r.]]
@@ -468,7 +468,7 @@ object of a type convertible to `RealType`.
468468
[[DistributionType::policy_type][RealType]
469469
[The __Policy to use when evaluating functions that depend on this distribution.]]
470470
[[d = cd][Distribution&][Distribution types are assignable.]]
471-
[[Distribution(cd)][Distribution][Distribution types are copy constructable.]]
471+
[[Distribution(cd)][Distribution][Distribution types are copy constructible.]]
472472
[[pdf(cd, cr)][RealType][Returns the PDF of the distribution.]]
473473
[[cdf(cd, cr)][RealType][Returns the CDF of the distribution.]]
474474
[[cdf(complement(cd, cr))][RealType]

doc/constants/constants.qbk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@ However, since the precision of the user-defined type may be much greater than t
163163
of the built-in floating point types, how the value returned is created is as follows:
164164

165165
* If the precision of the type is known at compile time:
166-
* If the precision is less than or equal to that of a `float` and the type is constructable from a `float`
166+
* If the precision is less than or equal to that of a `float` and the type is constructible from a `float`
167167
then our code returns a `float` literal. If the user-defined type is a literal type
168168
then the function call that returns the constant will be a `constexp`.
169-
* If the precision is less than or equal to that of a `double` and the type is constructable from a `double`
169+
* If the precision is less than or equal to that of a `double` and the type is constructible from a `double`
170170
then our code returns a `double` literal. If the user-defined type is a literal type
171171
then the function call that returns the constant will be a `constexp`.
172-
* If the precision is less than or equal to that of a `long double` and the type is constructable from a `long double`
172+
* If the precision is less than or equal to that of a `long double` and the type is constructible from a `long double`
173173
then our code returns a `long double` literal. If the user-defined type is a literal type
174174
then the function call that returns the constant will be a `constexp`.
175175
* If the precision is less than or equal to that of a `__float128` (and the compiler supports such a type)
176-
and the type is constructable from a `__float128`
176+
and the type is constructible from a `__float128`
177177
then our code returns a `__float128` literal. If the user-defined type is a literal type
178178
then the function call that returns the constant will be a `constexp`.
179179
* If the precision is less than 100 decimal digits, then the constant will be constructed
@@ -610,7 +610,7 @@ accurate to at least 100 decimal digits (in practice that means at least 102 dig
610610
Again for consistency use scientific format with a signed exponent.
611611

612612
For types with precision greater than a long double,
613-
then if T is constructable `T `is constructable from a `const char*`
613+
then if T is constructible `T `is constructible from a `const char*`
614614
then it's directly constructed from the string,
615615
otherwise we fall back on lexical_cast to convert to type `T`.
616616
(Using a string is necessary because you can't use a numeric constant

doc/html/math_toolkit/constants_faq.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ <h5>
226226
digits). Again for consistency use scientific format with a signed exponent.
227227
</p>
228228
<p>
229-
For types with precision greater than a long double, then if T is constructable
230-
<code class="computeroutput"><span class="identifier">T</span> </code>is constructable from a
229+
For types with precision greater than a long double, then if T is constructible
230+
<code class="computeroutput"><span class="identifier">T</span> </code>is constructible from a
231231
<code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span></code> then it's directly constructed from the string,
232232
otherwise we fall back on lexical_cast to convert to type <code class="computeroutput"><span class="identifier">T</span></code>.
233233
(Using a string is necessary because you can't use a numeric constant since

doc/html/math_toolkit/dist_concept.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
</td>
132132
<td>
133133
<p>
134-
Distribution types are copy constructable.
134+
Distribution types are copy constructible.
135135
</p>
136136
</td>
137137
</tr>

doc/html/math_toolkit/real_concepts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h5>
103103
</td>
104104
<td>
105105
<p>
106-
RealType is copy constructable.
106+
RealType is copy constructible.
107107
</p>
108108
</td>
109109
</tr>
@@ -120,7 +120,7 @@ <h5>
120120
</td>
121121
<td>
122122
<p>
123-
RealType is copy constructable from the arithmetic types.
123+
RealType is copy constructible from the arithmetic types.
124124
</p>
125125
</td>
126126
</tr>

doc/html/math_toolkit/result_type.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</li>
6666
<li class="listitem">
6767
If any of the arguments is a user-defined class type, then the result type
68-
is the first such class type that is constructable from all of the other
68+
is the first such class type that is constructible from all of the other
6969
argument types.
7070
</li>
7171
<li class="listitem">

doc/html/math_toolkit/tutorial/user_def.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,30 @@
5757
If the precision of the type is known at compile time:
5858
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
5959
<li class="listitem">
60-
If the precision is less than or equal to that of a <code class="computeroutput"><span class="keyword">float</span></code> and the type is constructable
60+
If the precision is less than or equal to that of a <code class="computeroutput"><span class="keyword">float</span></code> and the type is constructible
6161
from a <code class="computeroutput"><span class="keyword">float</span></code> then
6262
our code returns a <code class="computeroutput"><span class="keyword">float</span></code>
6363
literal. If the user-defined type is a literal type then the function
6464
call that returns the constant will be a <code class="computeroutput"><span class="identifier">constexp</span></code>.
6565
</li>
6666
<li class="listitem">
67-
If the precision is less than or equal to that of a <code class="computeroutput"><span class="keyword">double</span></code> and the type is constructable
67+
If the precision is less than or equal to that of a <code class="computeroutput"><span class="keyword">double</span></code> and the type is constructible
6868
from a <code class="computeroutput"><span class="keyword">double</span></code> then
6969
our code returns a <code class="computeroutput"><span class="keyword">double</span></code>
7070
literal. If the user-defined type is a literal type then the function
7171
call that returns the constant will be a <code class="computeroutput"><span class="identifier">constexp</span></code>.
7272
</li>
7373
<li class="listitem">
7474
If the precision is less than or equal to that of a <code class="computeroutput"><span class="keyword">long</span> <span class="keyword">double</span></code>
75-
and the type is constructable from a <code class="computeroutput"><span class="keyword">long</span>
75+
and the type is constructible from a <code class="computeroutput"><span class="keyword">long</span>
7676
<span class="keyword">double</span></code> then our code returns
7777
a <code class="computeroutput"><span class="keyword">long</span> <span class="keyword">double</span></code>
7878
literal. If the user-defined type is a literal type then the function
7979
call that returns the constant will be a <code class="computeroutput"><span class="identifier">constexp</span></code>.
8080
</li>
8181
<li class="listitem">
8282
If the precision is less than or equal to that of a <code class="computeroutput"><span class="identifier">__float128</span></code> (and the compiler
83-
supports such a type) and the type is constructable from a <code class="computeroutput"><span class="identifier">__float128</span></code> then our code returns
83+
supports such a type) and the type is constructible from a <code class="computeroutput"><span class="identifier">__float128</span></code> then our code returns
8484
a <code class="computeroutput"><span class="identifier">__float128</span></code> literal.
8585
If the user-defined type is a literal type then the function call
8686
that returns the constant will be a <code class="computeroutput"><span class="identifier">constexp</span></code>.

doc/overview/result_type_calc.qbk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ further analysis.
2626
then it is treated as if it were of type `double` for the purposes of
2727
further analysis.
2828
# If any of the arguments is a user-defined class type, then the result type
29-
is the first such class type that is constructable from all of the other
29+
is the first such class type that is constructible from all of the other
3030
argument types.
3131
# If any of the arguments is of type `long double`, then the result is of type
3232
`long double`.

include/boost/math/concepts/distributions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class distribution_archetype
4242
public:
4343
typedef RealType value_type;
4444

45-
distribution_archetype(const distribution_archetype&); // Copy constructable.
45+
distribution_archetype(const distribution_archetype&); // Copy constructible.
4646
distribution_archetype& operator=(const distribution_archetype&); // Assignable.
4747

4848
// There is no default constructor,

include/boost/math/differentiation/autodiff.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ class fvar {
136136
// Initialize a variable or constant.
137137
fvar(root_type const&, bool const is_variable);
138138

139-
// RealType(cr) | RealType | RealType is copy constructable.
139+
// RealType(cr) | RealType | RealType is copy constructible.
140140
fvar(fvar const&) = default;
141141

142142
// Be aware of implicit casting from one fvar<> type to another by this copy constructor.
143143
template <typename RealType2, size_t Order2>
144144
fvar(fvar<RealType2, Order2> const&);
145145

146-
// RealType(ca) | RealType | RealType is copy constructable from the arithmetic types.
146+
// RealType(ca) | RealType | RealType is copy constructible from the arithmetic types.
147147
explicit fvar(root_type const&); // Initialize a constant. (No epsilon terms.)
148148

149149
template <typename RealType2>

0 commit comments

Comments
 (0)