Added minor doc fixes

[SVN r14653]
This commit is contained in:
John Maddock
2002-07-31 11:24:41 +00:00
parent 753a3d6584
commit 035e752ed2
2 changed files with 10 additions and 6 deletions

10
faq.htm
View File

@ -190,10 +190,12 @@ others support them but with reduced efficiency. Throw
specifications may be added at a later date as compilers begin to specifications may be added at a later date as compilers begin to
handle this better. The library should throw only three types of handle this better. The library should throw only three types of
exception: boost::bad_expression can be thrown by reg_expression exception: boost::bad_expression can be thrown by reg_expression
when compiling a regular expression; boost::bad_pattern can be when compiling a regular expression, std::runtime_error can be
thrown by the class sub_match's conversion operators; finally std::bad_alloc thrown when a call to reg_expression::imbue tries to open a
can be thrown by just about any of the functions in this library. message catalogue that doesn't exist or when a call to RegEx::GrepFiles
</p> or RegEx::FindFiles tries to open a file that cannot be opened,
finally std::bad_alloc can be thrown by just about any of the
functions in this library. </p>
<hr> <hr>

View File

@ -400,7 +400,7 @@ very closely on class basic_string, and fulfils the requirements
for a container of <i>charT</i>. </p> for a container of <i>charT</i>. </p>
<pre><b>namespace</b> boost{ <pre><b>namespace</b> boost{
<b>template</b> &lt;<b>class</b> charT, <b>class</b> traits = char_regex_traits&lt;charT&gt;, <b>class</b> Allocator = std::allocator&lt;charT&gt;&nbsp; &gt; <b>template</b> &lt;<b>class</b> charT, <b>class</b> traits = regex_traits&lt;charT&gt;, <b>class</b> Allocator = std::allocator&lt;charT&gt;&nbsp; &gt;
<b>class</b> reg_expression : <b>public</b> regbase <b>class</b> reg_expression : <b>public</b> regbase
{ {
<b>public</b>: <b>public</b>:
@ -679,7 +679,9 @@ for a container of <i>charT</i>. </p>
locale_type&amp; l);</td> locale_type&amp; l);</td>
<td valign="top" width="45%">Imbues the expression with <td valign="top" width="45%">Imbues the expression with
the specified locale, and invalidates the current the specified locale, and invalidates the current
expression.</td> expression. May throw std::runtime_error if the call
results in an attempt to open a non-existent message
catalogue.</td>
<td width="5%">&nbsp;</td> <td width="5%">&nbsp;</td>
</tr> </tr>
<tr> <tr>