mirror of
https://github.com/boostorg/safe_numerics.git
synced 2026-02-22 03:32:24 +00:00
Update safe_introduction.xml
This commit is contained in:
@@ -101,8 +101,8 @@ safe<int> f(safe<int> x, safe<int> y){
|
||||
</programlisting>
|
||||
|
||||
<para><note>
|
||||
<para>Library code in this document resides in the name space
|
||||
<code>boost::numeric</code>. This name space has generally been
|
||||
<para>Library code in this document resides in the namespace
|
||||
<code>boost::numeric</code>. This namespace has generally been
|
||||
eliminated from text, code and examples in order to improve
|
||||
readability of the text.</para>
|
||||
</note>The addition expression is checked at runtime or (if possible) at
|
||||
@@ -214,7 +214,7 @@ safe<int> f(safe<int> x, safe<int> y){
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Enforce of other program requirements using ranged integer
|
||||
<para>Enforce other program requirements using ranged integer
|
||||
types. The library includes the types <code>safe_range<Min,
|
||||
Max></code> and <code>safe_literal<N</code>>. These types
|
||||
can be used to improve program correctness and performance.</para>
|
||||
|
||||
Reference in New Issue
Block a user