forked from boostorg/exception
documentation update
[SVN r53040]
This commit is contained in:
@ -30,7 +30,9 @@ boost
|
|||||||
<span class="RenoIncludeSPAN"> class <span class="RenoLink"><a href="exception.html">exception</a></span>;</span>
|
<span class="RenoIncludeSPAN"> class <span class="RenoLink"><a href="exception.html">exception</a></span>;</span>
|
||||||
|
|
||||||
<span class="RenoIncludeSPAN"> <span class="RenoIncludeSPAN">template <class E>
|
<span class="RenoIncludeSPAN"> <span class="RenoIncludeSPAN">template <class E>
|
||||||
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( E const & e );</span>
|
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( E const & e );
|
||||||
|
|
||||||
|
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( <span class="RenoLink"><a href="exception_ptr.html">exception_ptr</a></span> const & p );</span>
|
||||||
|
|
||||||
<span class="RenoIncludeSPAN">std::string <span class="RenoLink"><a href="current_exception_diagnostic_information.html">current_exception_diagnostic_information</a></span>();</span></span>
|
<span class="RenoIncludeSPAN">std::string <span class="RenoLink"><a href="current_exception_diagnostic_information.html">current_exception_diagnostic_information</a></span>();</span></span>
|
||||||
}</pre>
|
}</pre>
|
||||||
|
@ -55,6 +55,7 @@ main()
|
|||||||
<h3>See Also:</h3>
|
<h3>See Also:</h3>
|
||||||
<div class="RenoPageList"><a href="boost-exception.html">Boost Exception<br/>
|
<div class="RenoPageList"><a href="boost-exception.html">Boost Exception<br/>
|
||||||
</a><a href="boost_exception_diagnostic_information_hpp.html">boost/exception/diagnostic_information.hpp<br/>
|
</a><a href="boost_exception_diagnostic_information_hpp.html">boost/exception/diagnostic_information.hpp<br/>
|
||||||
|
</a><a href="diagnostic_information.html">diagnostic_information<br/>
|
||||||
</a></div>
|
</a></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. -->
|
<!-- Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. -->
|
||||||
|
@ -26,10 +26,12 @@
|
|||||||
boost
|
boost
|
||||||
{
|
{
|
||||||
<span class="RenoIncludeSPAN"> template <class E>
|
<span class="RenoIncludeSPAN"> template <class E>
|
||||||
std::string <span class="RenoLink">diagnostic_information</span>( E const & e );</span>
|
std::string <span class="RenoLink">diagnostic_information</span>( E const & e );
|
||||||
|
|
||||||
|
std::string <span class="RenoLink">diagnostic_information</span>( <span class="RenoLink"><a href="exception_ptr.html">exception_ptr</a></span> const & p );</span>
|
||||||
}</pre>
|
}</pre>
|
||||||
</div><h4>Returns:</h4>
|
</div><h4>Returns:</h4>
|
||||||
<p>A string value that contains varying amount of implementation-specific diagnostic information about the passed exception object:</p>
|
<p>A string value that contains varying amount of implementation-specific diagnostic information about the passed object:</p>
|
||||||
<div><ul><li>If E can be statically converted to boost::<span class="RenoLink"><a href="exception.html">exception</a></span>, the returned value contains the string representations of all <span class="RenoLink"><a href="error_info.html">error_info</a></span> objects stored in the boost::<span class="RenoLink"><a href="exception.html">exception</a></span> through <span class="RenoLink"><a href="exception_operator_shl.html">operator<<</a></span>, along with other diagnostic information relevant to the exception. If e can be dynamically converted to std::exception, the returned value also contains the what() string.</li>
|
<div><ul><li>If E can be statically converted to boost::<span class="RenoLink"><a href="exception.html">exception</a></span>, the returned value contains the string representations of all <span class="RenoLink"><a href="error_info.html">error_info</a></span> objects stored in the boost::<span class="RenoLink"><a href="exception.html">exception</a></span> through <span class="RenoLink"><a href="exception_operator_shl.html">operator<<</a></span>, along with other diagnostic information relevant to the exception. If e can be dynamically converted to std::exception, the returned value also contains the what() string.</li>
|
||||||
<li>Otherwise, if E can be statically converted std::exception:<div><ul><li>if e can be dynamically converted to boost::exception, the returned value is the same as if E could be statically converted to boost::<span class="RenoLink"><a href="exception.html">exception</a></span>;</li>
|
<li>Otherwise, if E can be statically converted std::exception:<div><ul><li>if e can be dynamically converted to boost::exception, the returned value is the same as if E could be statically converted to boost::<span class="RenoLink"><a href="exception.html">exception</a></span>;</li>
|
||||||
<li>otherwise the returned value contains the what() string.</li>
|
<li>otherwise the returned value contains the what() string.</li>
|
||||||
@ -43,6 +45,17 @@ boost
|
|||||||
<li>Unqualified call to s << x.<span class="RenoLink"><a href="error_info_value.html">value</a></span>(), where s is a std::ostringstream.</li>
|
<li>Unqualified call to s << x.<span class="RenoLink"><a href="error_info_value.html">value</a></span>(), where s is a std::ostringstream.</li>
|
||||||
</ol></div>
|
</ol></div>
|
||||||
<p>The first successfully bound function is used at the time <span class="RenoLink">diagnostic_information</span> is called; if all 3 overload resolutions are unsuccessful, the system is unable to convert the <span class="RenoLink"><a href="error_info.html">error_info</a></span> object to string, and <i>an unspecified stub string value is used without issuing a compile error.</i></p>
|
<p>The first successfully bound function is used at the time <span class="RenoLink">diagnostic_information</span> is called; if all 3 overload resolutions are unsuccessful, the system is unable to convert the <span class="RenoLink"><a href="error_info.html">error_info</a></span> object to string, and <i>an unspecified stub string value is used without issuing a compile error.</i></p>
|
||||||
|
<p>The <span class="RenoLink"><a href="exception_ptr.html">exception_ptr</a></span> overload of <span class="RenoLink">diagnostic_information</span> is equivalent to:</p>
|
||||||
|
<pre>if( p )
|
||||||
|
try
|
||||||
|
{
|
||||||
|
<span class="RenoLink"><a href="rethrow_exception.html">rethrow_exception</a></span>(p);
|
||||||
|
}
|
||||||
|
catch(...)
|
||||||
|
{
|
||||||
|
return <span class="RenoLink"><a href="current_exception_diagnostic_information.html">current_exception_diagnostic_information</a></span>();
|
||||||
|
}
|
||||||
|
else return <unspecified-string-value>;</pre>
|
||||||
<h4>Notes:</h4>
|
<h4>Notes:</h4>
|
||||||
<div><ul><li>The format of the returned string is unspecified.</li>
|
<div><ul><li>The format of the returned string is unspecified.</li>
|
||||||
<li>The returned string is <i>not</i> user-friendly.</li>
|
<li>The returned string is <i>not</i> user-friendly.</li>
|
||||||
|
@ -44,6 +44,7 @@ boost
|
|||||||
</a><a href="boost_exception_ptr_hpp.html">boost/exception_ptr.hpp<br/>
|
</a><a href="boost_exception_ptr_hpp.html">boost/exception_ptr.hpp<br/>
|
||||||
</a><a href="copy_exception.html">copy_exception<br/>
|
</a><a href="copy_exception.html">copy_exception<br/>
|
||||||
</a><a href="current_exception.html">current_exception<br/>
|
</a><a href="current_exception.html">current_exception<br/>
|
||||||
|
</a><a href="diagnostic_information.html">diagnostic_information<br/>
|
||||||
</a><a href="enable_current_exception.html">enable_current_exception<br/>
|
</a><a href="enable_current_exception.html">enable_current_exception<br/>
|
||||||
</a><a href="frequently_asked_questions.html">Frequently Asked Questions<br/>
|
</a><a href="frequently_asked_questions.html">Frequently Asked Questions<br/>
|
||||||
</a><a href="original_exception_type.html">original_exception_type<br/>
|
</a><a href="original_exception_type.html">original_exception_type<br/>
|
||||||
|
@ -35,6 +35,7 @@ boost
|
|||||||
<h3>See Also:</h3>
|
<h3>See Also:</h3>
|
||||||
<div class="RenoPageList"><a href="boost-exception.html">Boost Exception<br/>
|
<div class="RenoPageList"><a href="boost-exception.html">Boost Exception<br/>
|
||||||
</a><a href="boost_exception_ptr_hpp.html">boost/exception_ptr.hpp<br/>
|
</a><a href="boost_exception_ptr_hpp.html">boost/exception_ptr.hpp<br/>
|
||||||
|
</a><a href="diagnostic_information.html">diagnostic_information<br/>
|
||||||
</a><a href="exception_ptr.html">exception_ptr<br/>
|
</a><a href="exception_ptr.html">exception_ptr<br/>
|
||||||
</a></div>
|
</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -102,7 +102,9 @@ boost
|
|||||||
<span class="RenoIncludeSPAN"> class <span class="RenoLink"><a href="exception.html">exception</a></span>;</span>
|
<span class="RenoIncludeSPAN"> class <span class="RenoLink"><a href="exception.html">exception</a></span>;</span>
|
||||||
|
|
||||||
<span class="RenoIncludeSPAN"> <span class="RenoIncludeSPAN">template <class E>
|
<span class="RenoIncludeSPAN"> <span class="RenoIncludeSPAN">template <class E>
|
||||||
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( E const & e );</span>
|
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( E const & e );
|
||||||
|
|
||||||
|
std::string <span class="RenoLink"><a href="diagnostic_information.html">diagnostic_information</a></span>( <span class="RenoLink"><a href="exception_ptr.html">exception_ptr</a></span> const & p );</span>
|
||||||
|
|
||||||
<span class="RenoIncludeSPAN">std::string <span class="RenoLink"><a href="current_exception_diagnostic_information.html">current_exception_diagnostic_information</a></span>();</span></span>
|
<span class="RenoIncludeSPAN">std::string <span class="RenoLink"><a href="current_exception_diagnostic_information.html">current_exception_diagnostic_information</a></span>();</span></span>
|
||||||
}</span></pre>
|
}</span></pre>
|
||||||
|
Reference in New Issue
Block a user