mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-13 11:44:38 +02:00
Fix typos (thanks to Charles Brockman!)
[SVN r31032]
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<cite>polymorphic</cite>, and can operate on a variety of numeric types,
|
<cite>polymorphic</cite>, and can operate on a variety of numeric types,
|
||||||
including rational, fixed-point and complex numbers. They allow
|
including rational, fixed-point and complex numbers. They allow
|
||||||
<cite>mixed arithmetic</cite>, meaning that you can perform an operation on
|
<cite>mixed arithmetic</cite>, meaning that you can perform an operation on
|
||||||
arguments of different types, and the result will yeild the
|
arguments of different types, and the result will yield the
|
||||||
largest/most general of the argument types. The infrastructure
|
largest/most general of the argument types. The infrastructure
|
||||||
allows user-defined numeric types to be freely intermixed with
|
allows user-defined numeric types to be freely intermixed with
|
||||||
predefined library types. See
|
predefined library types. See
|
||||||
@@ -26,7 +26,7 @@ for an illustrative example, and the <a class="reference" href="./reference-manu
|
|||||||
the formal infrastructure specification.</p>
|
the formal infrastructure specification.</p>
|
||||||
<p>If you were using MPL numeric metafunctions on your own integral
|
<p>If you were using MPL numeric metafunctions on your own integral
|
||||||
wrapper class similar to <tt class="literal"><span class="pre">mpl::int_</span></tt>, you can plug your class
|
wrapper class similar to <tt class="literal"><span class="pre">mpl::int_</span></tt>, you can plug your class
|
||||||
into the new infrustructure by extending it with the following
|
into the new infrastructure by extending it with the following
|
||||||
member:</p>
|
member:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
typedef mpl::integral_c_tag tag;
|
typedef mpl::integral_c_tag tag;
|
||||||
|
Reference in New Issue
Block a user