|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54831 - in trunk/libs/exception: doc doc/source example
From: emil_at_[hidden]
Date: 2009-07-09 03:35:19
Author: emildotchevski
Date: 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
New Revision: 54831
URL: http://svn.boost.org/trac/boost/changeset/54831
Log:
Documentation and examples update.
Text files modified:
trunk/libs/exception/doc/diagnostic_information.html | 10
trunk/libs/exception/doc/source/boost-exception.reno | 7089 ++++++++++++++++++++-------------------
trunk/libs/exception/doc/tutorial_diagnostic_information.html | 10
trunk/libs/exception/doc/tutorial_exception_ptr.html | 5
trunk/libs/exception/doc/tutorial_transporting_data.html | 41
trunk/libs/exception/example/cloning_1.cpp | 5
trunk/libs/exception/example/error_info_1.cpp | 11
trunk/libs/exception/example/error_info_2.cpp | 10
trunk/libs/exception/example/example_io.cpp | 75
trunk/libs/exception/example/info_tuple.cpp | 14
trunk/libs/exception/example/logging.cpp | 2
11 files changed, 3664 insertions(+), 3608 deletions(-)
Modified: trunk/libs/exception/doc/diagnostic_information.html
==============================================================================
--- trunk/libs/exception/doc/diagnostic_information.html (original)
+++ trunk/libs/exception/doc/diagnostic_information.html 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -63,13 +63,13 @@
</ul></div>
<div class="RenoIncludeDIV"><h4>Example:</h4>
<p>this is a possible output from the <span class="RenoLink">diagnostic_information</span> function, as used in <i>libs/exception/example/example_io.cpp:</i></p>
-<pre>example_io.cpp(83): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *)
+<pre>example_io.cpp(70): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *)
Dynamic exception type: class boost::exception_detail::clone_impl<class fopen_error>
std::exception::what: example_io error
-[struct tag_errno *] = 2, OS says "No such file or directory"
-[struct tag_file_name *] = tmp1.txt
-[struct tag_function *] = fopen
-[struct tag_open_mode *] = rb</pre>
+[struct boost::<span class="RenoLink">errinfo_api_function</span>_ *] = fopen
+[struct boost::<span class="RenoLink">errinfo_errno</span>_ *] = 2, "No such file or directory"
+[struct boost::<span class="RenoLink">errinfo_file_name</span>_ *] = tmp1.txt
+[struct boost::<span class="RenoLink">errinfo_file_open_mode</span>_ *] = rb</pre>
</div></div><div class="RenoAutoDIV"><div class="RenoHR"><hr/></div>
<h3>See Also:</h3>
<div class="RenoPageList"><a href="BOOST_THROW_EXCEPTION.html">BOOST_THROW_EXCEPTION<br/>
Modified: trunk/libs/exception/doc/source/boost-exception.reno
==============================================================================
--- trunk/libs/exception/doc/source/boost-exception.reno (original)
+++ trunk/libs/exception/doc/source/boost-exception.reno 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -53,29 +53,18 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>DA1CAA5F6BAB712AD89E8A0B7D83961FCE4AF9FD198791C9F6EA299800A64FAC</strong>
- <weak>3553871704</weak>
- <size>612</size>
- <position>1496</position>
- <strong>154AC930BD1FDCADE24CDB07DBD3163CA26378AF4F1D428C34B67D1F68A60891</strong>
- <weak>50905072</weak>
- <size>586</size>
- <position>23</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/throw_exception.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>throw_exception</string>
+ <string>boost/exception/enable_error_info.hpp</string>
</title>
<file_name>
<string></string>
@@ -102,21 +91,32 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>2</size>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B</strong>
+ <weak>1414247481</weak>
+ <size>766</size>
+ <position>10094</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception_ptr.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>Synopsis</string>
+ <string>current_exception</string>
</title>
<file_name>
- <string>synopsis</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -140,32 +140,21 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B</strong>
- <weak>1414247481</weak>
- <size>766</size>
- <position>10094</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>current_exception</string>
+ <string>Synopsis</string>
</title>
<file_name>
- <string></string>
+ <string>synopsis</string>
</file_name>
</object>
</shared_ptr>
@@ -189,25 +178,29 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF</strong>
- <weak>2258638601</weak>
- <size>94</size>
- <position>227</position>
+ <size>2</size>
+ <strong>126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB</strong>
+ <weak>3471702891</weak>
+ <size>969</size>
+ <position>344</position>
+ <strong>A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47</strong>
+ <weak>2978648279</weak>
+ <size>530</size>
+ <position>433</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/info_tuple.hpp</string>
+ <string>../../../../boost/exception/detail/error_info_impl.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/info_tuple.hpp</string>
+ <string>error_info</string>
</title>
<file_name>
<string></string>
@@ -235,33 +228,35 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>F4C951B28F7DE500973AA3DFAA99F2BADA6EDAFA2B406C30BEF3B7FBE6FD57D7</strong>
- <weak>2263754923</weak>
- <size>982</size>
- <position>306</position>
+ <strong>21A43755562CB78B3FFCC49F66B457C1FCD659EE98F25BBFA8DDE453EB89DF0E</strong>
+ <weak>2576704708</weak>
+ <size>337</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/error_info_2.cpp</string>
+ <string>../../../../boost/exception/errinfo_api_function.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>adding of arbitrary data to active exception objects</string>
+ <string>boost/exception/errinfo_api_function.hpp</string>
</title>
<file_name>
- <string>adding_data_later</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -278,28 +273,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>B20A3D4631F3B2415EED1888B65FA33D7AED20F86BE196159D9297AAED115787</strong>
- <weak>3293519666</weak>
- <size>117</size>
- <position>11169</position>
+ <strong>02F77B8305279514F37A75FA6454AE750E04E7AA7934D395EFB52BCC7642965E</strong>
+ <weak>430535365</weak>
+ <size>3379</size>
+ <position>560</position>
+ <strong>D08B74734CDA5115D9E47783E2994C2836BE241FB25E589BB4C67F2596727C03</strong>
+ <weak>24341149</weak>
+ <size>3347</size>
+ <position>26</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
+ <string>../../../../boost/exception/diagnostic_information.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>rethrow_exception</string>
+ <string>diagnostic_information</string>
</title>
<file_name>
<string></string>
@@ -327,24 +322,24 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>641BB230CEBF638811480BE0E3A96ABCB7CC9CC7E1C1A9C51FBAB296FFB6B7B1</strong>
- <weak>4248389286</weak>
- <size>4113</size>
- <position>323</position>
+ <strong>CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF</strong>
+ <weak>2258638601</weak>
+ <size>94</size>
+ <position>227</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/info.hpp</string>
+ <string>../../../../boost/exception/info_tuple.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/info.hpp</string>
+ <string>boost/exception/info_tuple.hpp</string>
</title>
<file_name>
<string></string>
@@ -355,7 +350,7 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -371,32 +366,28 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20</strong>
- <weak>228982966</weak>
- <size>3918</size>
- <position>518</position>
- <strong>6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010</strong>
- <weak>1097215175</weak>
- <size>161</size>
- <position>240</position>
+ <size>1</size>
+ <strong>66E0BD9724AB83012F5B35D887E3313960DC0E69B94E0C03CA1F3C85A0D84A5C</strong>
+ <weak>2883671483</weak>
+ <size>311</size>
+ <position>306</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/info.hpp</string>
+ <string>../../example/logging.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>error_info::error_info</string>
+ <string>diagnostic information</string>
</title>
<file_name>
- <string></string>
+ <string>tutorial_diagnostic_information</string>
</file_name>
</object>
</shared_ptr>
@@ -420,21 +411,28 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>1</size>
+ <strong>A14B5595A6DD87562792D402B48500AAD71FA1ABD75C14EDF089FCC7318CBB9B</strong>
+ <weak>3469762901</weak>
+ <size>468</size>
+ <position>227</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/current_exception_cast.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>page index</string>
+ <string>boost/exception/current_exception_cast.hpp</string>
</title>
<file_name>
- <string>page_idx</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -469,10 +467,10 @@
</file>
</hook>
<title>
- <string>Types</string>
+ <string>using virtual inheritance in exception types</string>
</title>
<file_name>
- <string>types</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -496,34 +494,29 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>9E8DCE3BCF462A3A332DA70F61E46FA5C2AB791B95E33D3F2AF1307F53C84B1C</strong>
- <weak>1960675522</weak>
- <size>6483</size>
- <position>591</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../example/example_io.cpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>diagnostic_information example</string>
+ <string>page index</string>
</title>
<file_name>
- <string></string>
+ <string>page_idx</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -539,18 +532,25 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>1</size>
+ <strong>F39D869016327CDFEA720920B2743F47989202BF5814B6556EC54A1B0FE562F8</strong>
+ <weak>3703518029</weak>
+ <size>147</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>using virtual inheritance in exception types</string>
+ <string>boost/exception.hpp</string>
</title>
<file_name>
<string></string>
@@ -577,29 +577,25 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB</strong>
- <weak>3471702891</weak>
- <size>969</size>
- <position>344</position>
- <strong>A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47</strong>
- <weak>2978648279</weak>
- <size>530</size>
- <position>433</position>
+ <size>1</size>
+ <strong>66EFC83C830F0B00D0C9399B475099072E2674B3C694F9152645A33E3D7AC303</strong>
+ <weak>561674611</weak>
+ <size>417</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/detail/error_info_impl.hpp</string>
+ <string>../../../../boost/exception/errinfo_file_name.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>error_info</string>
+ <string>boost/exception/errinfo_file_name.hpp</string>
</title>
<file_name>
<string></string>
@@ -627,28 +623,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>D57BF77EE44CD2755E24A56DDC3E159716D04A7ABE009AE977D4926EFEC00F73</strong>
- <weak>2498368808</weak>
- <size>973</size>
- <position>3941</position>
- <strong>9432C669E21C649A86AC6DC5A34275B483A7D2D38118A462DF1C1CD7BBE5ED51</strong>
- <weak>2535426829</weak>
- <size>441</size>
- <position>110</position>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4</strong>
+ <weak>2078296250</weak>
+ <size>305</size>
+ <position>10862</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/diagnostic_information.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>current_exception_diagnostic_information</string>
+ <string>copy_exception</string>
</title>
<file_name>
<string></string>
@@ -675,18 +671,29 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>2</size>
+ <strong>D57BF77EE44CD2755E24A56DDC3E159716D04A7ABE009AE977D4926EFEC00F73</strong>
+ <weak>2498368808</weak>
+ <size>973</size>
+ <position>3941</position>
+ <strong>9432C669E21C649A86AC6DC5A34275B483A7D2D38118A462DF1C1CD7BBE5ED51</strong>
+ <weak>2535426829</weak>
+ <size>441</size>
+ <position>110</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/diagnostic_information.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/enable_error_info.hpp</string>
+ <string>current_exception_diagnostic_information</string>
</title>
<file_name>
<string></string>
@@ -713,36 +720,28 @@
<hook>
<stream_hook_path>
<container>
- <size>3</size>
- <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
- <weak>1282550303</weak>
- <size>9192</size>
+ <size>1</size>
+ <strong>4EDD3DF2332B6D9D22AC9AD90B850ACC715A24DD466E675014CBED25C63C255F</strong>
+ <weak>4175717823</weak>
+ <size>328</size>
<position>323</position>
- <strong>65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3</strong>
- <weak>1693870740</weak>
- <size>2195</size>
- <position>3720</position>
- <strong>DA154372D8C23BD9EDC30005CA7959CE686D198891097A837D006B5222F04DE9</strong>
- <weak>2768248809</weak>
- <size>143</size>
- <position>60</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/exception.hpp</string>
+ <string>../../../../boost/exception/errinfo_type_info_name.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>exception::exception</string>
+ <string>boost/exception/errinfo_type_info_name.hpp</string>
</title>
<file_name>
- <string>exception_constructors</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -767,9 +766,9 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>21A43755562CB78B3FFCC49F66B457C1FCD659EE98F25BBFA8DDE453EB89DF0E</strong>
- <weak>2576704708</weak>
- <size>337</size>
+ <strong>21E8093D2AF6946EAE135823066EF38B9DC8870432B44C81E585FF63A72F9903</strong>
+ <weak>3352783584</weak>
+ <size>12170</size>
<position>323</position>
</container>
</stream_hook_path>
@@ -777,14 +776,14 @@
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_api_function.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/errinfo_api_function.hpp</string>
+ <string>boost/exception_ptr.hpp</string>
</title>
<file_name>
<string></string>
@@ -812,27 +811,27 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>66E0BD9724AB83012F5B35D887E3313960DC0E69B94E0C03CA1F3C85A0D84A5C</strong>
- <weak>2883671483</weak>
- <size>311</size>
- <position>302</position>
+ <strong>A95165313334B684C85659D05D3D8EB17F4AF552EDCB3C180AC1F85D18C99CBF</strong>
+ <weak>115507474</weak>
+ <size>2037</size>
+ <position>91</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/logging.cpp</string>
+ <string>../../../../boost/throw_exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>diagnostic information</string>
+ <string>boost/throw_exception.hpp</string>
</title>
<file_name>
- <string>tutorial_diagnostic_information</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -856,29 +855,33 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>6FB85B536F965F137409D5B5D34786DCBF0B9957A7C251D271B717A1156B823D</strong>
- <weak>1090406464</weak>
- <size>362</size>
- <position>323</position>
- <strong>D16DAEA8B1792A019AF7FCA362FDC6EFD381AF4C43C076A01C029ECE51F994A6</strong>
- <weak>3172941848</weak>
- <size>330</size>
- <position>26</position>
+ <size>3</size>
+ <strong>126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB</strong>
+ <weak>3471702891</weak>
+ <size>969</size>
+ <position>344</position>
+ <strong>A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47</strong>
+ <weak>2978648279</weak>
+ <size>530</size>
+ <position>433</position>
+ <strong>38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50</strong>
+ <weak>2218658069</weak>
+ <size>31</size>
+ <position>143</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/current_exception_cast.hpp</string>
+ <string>../../../../boost/exception/detail/error_info_impl.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>current_exception_cast</string>
+ <string>error_info::value_type</string>
</title>
<file_name>
<string></string>
@@ -905,29 +908,25 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>02F77B8305279514F37A75FA6454AE750E04E7AA7934D395EFB52BCC7642965E</strong>
- <weak>430535365</weak>
- <size>3379</size>
- <position>560</position>
- <strong>D08B74734CDA5115D9E47783E2994C2836BE241FB25E589BB4C67F2596727C03</strong>
- <weak>24341149</weak>
- <size>3347</size>
- <position>26</position>
+ <size>1</size>
+ <strong>C4350AAD8F0A0CCACF37D53E02311641BE439D771A79A6B15A10C919C8892A24</strong>
+ <weak>3170346377</weak>
+ <size>596</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/diagnostic_information.hpp</string>
+ <string>../../../../boost/exception/errinfo_errno.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>diagnostic_information</string>
+ <string>boost/exception/errinfo_errno.hpp</string>
</title>
<file_name>
<string></string>
@@ -954,28 +953,21 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>A95165313334B684C85659D05D3D8EB17F4AF552EDCB3C180AC1F85D18C99CBF</strong>
- <weak>115507474</weak>
- <size>2037</size>
- <position>91</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/throw_exception.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>boost/throw_exception.hpp</string>
+ <string>Types</string>
</title>
<file_name>
- <string></string>
+ <string>types</string>
</file_name>
</object>
</shared_ptr>
@@ -999,29 +991,34 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>1</size>
+ <strong>025A8CE0643CFC0EB812BD3EB89F8F410D91EC3467CC6F371E7215F25F590B27</strong>
+ <weak>2422739525</weak>
+ <size>6071</size>
+ <position>412</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../example/example_io.cpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>Functions</string>
+ <string>diagnostic_information example</string>
</title>
<file_name>
- <string>functions</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -1037,40 +1034,34 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>1516D0B7E11CBEB60CE4222565ACCAFF2E9857A8A505C1C26E2AE90087250581</strong>
- <weak>3624753243</weak>
- <size>279</size>
- <position>26</position>
+ <size>1</size>
+ <strong>08D021CA79AEBFFD7EB5E272BEBACE3BDED36B949DA26DD1EAFB7723C24065FE</strong>
+ <weak>3589963844</weak>
+ <size>393</size>
+ <position>307</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
+ <string>../../example/cloning_1.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>original_exception_type</string>
+ <string>using enable_current_exception at the time of the throw</string>
</title>
<file_name>
- <string></string>
+ <string>using_enable_cloning</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -1087,9 +1078,9 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>C4350AAD8F0A0CCACF37D53E02311641BE439D771A79A6B15A10C919C8892A24</strong>
- <weak>3170346377</weak>
- <size>596</size>
+ <strong>E0BE7EFCD5550582AB95C9EEDA6E68CA0F89B19838DA61876D42161E1EA4AE71</strong>
+ <weak>2587249979</weak>
+ <size>233</size>
<position>323</position>
</container>
</stream_hook_path>
@@ -1097,14 +1088,14 @@
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_errno.hpp</string>
+ <string>../../../../boost/exception/errinfo_at_line.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/errinfo_errno.hpp</string>
+ <string>boost/exception/errinfo_at_line.hpp</string>
</title>
<file_name>
<string></string>
@@ -1131,33 +1122,29 @@
<hook>
<stream_hook_path>
<container>
- <size>3</size>
- <strong>126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB</strong>
- <weak>3471702891</weak>
- <size>969</size>
+ <size>2</size>
+ <strong>307034E20863A00923777A60D9495B4076B7F917D5B97203025299060F0833E0</strong>
+ <weak>3948311309</weak>
+ <size>396</size>
<position>344</position>
- <strong>A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47</strong>
- <weak>2978648279</weak>
- <size>530</size>
- <position>433</position>
- <strong>02372FA6B987EAC15E78C5A12036F203A92B3D4C857C02985B1BF0A24008D976</strong>
- <weak>2987989218</weak>
- <size>109</size>
- <position>259</position>
+ <strong>F8ED2052577830AC0C515EC5932BB14445DD5DA714782281FCDB1776961FECB1</strong>
+ <weak>3880328768</weak>
+ <size>82</size>
+ <position>308</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/detail/error_info_impl.hpp</string>
+ <string>../../../../boost/exception/errinfo_file_name.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>error_info::value</string>
+ <string>errinfo_file_name</string>
</title>
<file_name>
<string></string>
@@ -1195,165 +1182,94 @@
</file>
</hook>
<title>
- <string>Motivation</string>
+ <string>Macros</string>
</title>
<file_name>
- <string>motivation</string>
+ <string>macros</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
+ <size>1</size>
<variant>2</variant>
- <string>(:include include:) (:auto also explicit="</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>31</id>
- <type>
- <string>reno_context</string>
- </type>
- <object>
+ <string>(:include include:) (:auto also:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>31</id>
+ <type>
+ <string>reno_context</string>
+ </type>
+ <object>
+ <hook>
<hook>
- <hook>
- <stream_hook_path>
- <container>
- <size>0</size>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>1</empty>
- </path>
- </file>
+ <stream_hook_path>
+ <container>
+ <size>0</size>
+ </container>
+ </stream_hook_path>
</hook>
- <title>
- <string>exception types as simple semantic tags</string>
- </title>
- <file_name>
- <string></string>
- </file_name>
- </object>
- </shared_ptr>
- </weak_ptr>
+ <file>
+ <path>
+ <empty>1</empty>
+ </path>
+ </file>
+ </hook>
+ <title>
+ <string>Headers</string>
+ </title>
+ <file_name>
+ <string>headers</string>
+ </file_name>
+ </object>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
<variant>2</variant>
- <string> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>32</id>
- <type>
- <string>reno_context</string>
- </type>
- <object>
- <hook>
- <hook>
- <stream_hook_path>
- <container>
- <size>1</size>
- <strong>C95CEF2E9D0BAA1E950509471062916DB849A46A19F7692BA478030E79B338EB</strong>
- <weak>1917376632</weak>
- <size>706</size>
- <position>408</position>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>0</empty>
- <string>../../example/enable_error_info.cpp</string>
- <type>0</type>
- <base>0</base>
- </path>
- </file>
- </hook>
- <title>
- <string>integrating boost exception in existing exception class hierarchies</string>
- </title>
- <file_name>
- <string>tutorial_enable_error_info</string>
- </file_name>
- </object>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>33</id>
- <type>
- <string>reno_context</string>
- </type>
- <object>
- <hook>
- <hook>
- <stream_hook_path>
- <container>
- <size>0</size>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>1</empty>
- </path>
- </file>
- </hook>
- <title>
- <string>frequently asked questions</string>
- </title>
- <file_name>
- <string></string>
- </file_name>
- </object>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>34</id>
- <type>
- <string>reno_context</string>
- </type>
- <object>
- <hook>
+ <string>(:include include:) (:auto also:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>32</id>
+ <type>
+ <string>reno_context</string>
+ </type>
+ <object>
+ <hook>
<hook>
<stream_hook_path>
<container>
<size>2</size>
- <strong>9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF</strong>
- <weak>1615599655</weak>
- <size>68</size>
- <position>227</position>
- <strong>34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB</strong>
- <weak>805836816</weak>
- <size>66</size>
- <position>1</position>
+ <strong>15CF5BD93D20D62D659C11A69330B06E408398EA488BEF1FD45437AADCDB424E</strong>
+ <weak>1232553666</weak>
+ <size>214</size>
+ <position>345</position>
+ <strong>6262783847165581298EC9500031E6B7A97B2751A9CEF67C4794121A78142C58</strong>
+ <weak>3676119191</weak>
+ <size>90</size>
+ <position>118</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/error_info.hpp</string>
+ <string>../../../../boost/exception/errinfo_file_handle.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/error_info.hpp</string>
+ <string>errinfo_file_handle</string>
</title>
<file_name>
<string></string>
@@ -1371,20 +1287,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>35</id>
+ <id>33</id>
<type>
<string>reno_context</string>
</type>
@@ -1393,21 +1296,32 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>2</size>
+ <strong>AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20</strong>
+ <weak>228982966</weak>
+ <size>3918</size>
+ <position>518</position>
+ <strong>D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8</strong>
+ <weak>4055211476</weak>
+ <size>525</size>
+ <position>3387</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/info.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>Macros</string>
+ <string>exception/operator<<</string>
</title>
<file_name>
- <string>macros</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -1422,7 +1336,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>36</id>
+ <id>34</id>
<type>
<string>reno_context</string>
</type>
@@ -1471,7 +1385,32 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>35</id>
+ <type>
+ <string>reno_context</string>
+ </type>
+ <object>
+ <hook>
+ <hook>
+ <stream_hook_path>
+ <container>
+ <size>0</size>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>1</empty>
+ </path>
+ </file>
+ </hook>
+ <title>
+ <string>frequently asked questions</string>
+ </title>
+ <file_name>
+ <string></string>
+ </file_name>
+ </object>
</shared_ptr>
</weak_ptr>
<container>
@@ -1484,7 +1423,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>37</id>
+ <id>36</id>
<type>
<string>reno_context</string>
</type>
@@ -1493,25 +1432,29 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>04DDC793002AFCF4F4166D250C67D09B6FE8B86224318ED7847AD6EC423B70CA</strong>
- <weak>922651615</weak>
- <size>433</size>
- <position>1061</position>
+ <size>2</size>
+ <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
+ <weak>1282550303</weak>
+ <size>9192</size>
+ <position>323</position>
+ <strong>65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3</strong>
+ <weak>1693870740</weak>
+ <size>2195</size>
+ <position>3720</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/throw_exception.hpp</string>
+ <string>../../../../boost/exception/exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>BOOST_THROW_EXCEPTION</string>
+ <string>exception</string>
</title>
<file_name>
<string></string>
@@ -1522,14 +1465,14 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <string>(:include include:) ---- !!!See Also: (:pagelist link="backlink" except_tags="exception,member" mod="w":) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>38</id>
+ <id>37</id>
<type>
<string>reno_context</string>
</type>
@@ -1538,25 +1481,18 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>F39D869016327CDFEA720920B2743F47989202BF5814B6556EC54A1B0FE562F8</strong>
- <weak>3703518029</weak>
- <size>147</size>
- <position>323</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/exception.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>boost/exception.hpp</string>
+ <string>boost/exception/enable_current_exception.hpp</string>
</title>
<file_name>
<string></string>
@@ -1574,7 +1510,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>39</id>
+ <id>38</id>
<type>
<string>reno_context</string>
</type>
@@ -1583,15 +1519,11 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20</strong>
- <weak>228982966</weak>
- <size>3918</size>
- <position>518</position>
- <strong>D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8</strong>
- <weak>4055211476</weak>
- <size>525</size>
- <position>3387</position>
+ <size>1</size>
+ <strong>641BB230CEBF638811480BE0E3A96ABCB7CC9CC7E1C1A9C51FBAB296FFB6B7B1</strong>
+ <weak>4248389286</weak>
+ <size>4113</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
@@ -1605,7 +1537,7 @@
</file>
</hook>
<title>
- <string>exception/operator<<</string>
+ <string>boost/exception/info.hpp</string>
</title>
<file_name>
<string></string>
@@ -1616,14 +1548,14 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>40</id>
+ <id>39</id>
<type>
<string>reno_context</string>
</type>
@@ -1632,33 +1564,29 @@
<hook>
<stream_hook_path>
<container>
- <size>3</size>
- <strong>DA1CAA5F6BAB712AD89E8A0B7D83961FCE4AF9FD198791C9F6EA299800A64FAC</strong>
- <weak>3553871704</weak>
- <size>612</size>
- <position>1496</position>
- <strong>154AC930BD1FDCADE24CDB07DBD3163CA26378AF4F1D428C34B67D1F68A60891</strong>
- <weak>50905072</weak>
- <size>586</size>
- <position>23</position>
- <strong>CD1241D84950468704F3C3F04116B8DA5162A8BEA4364F10951232F49113C5DE</strong>
- <weak>1658463867</weak>
- <size>121</size>
- <position>453</position>
+ <size>2</size>
+ <strong>AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20</strong>
+ <weak>228982966</weak>
+ <size>3918</size>
+ <position>518</position>
+ <strong>6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010</strong>
+ <weak>1097215175</weak>
+ <size>161</size>
+ <position>240</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/throw_exception.hpp</string>
+ <string>../../../../boost/exception/info.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>configuration macros</string>
+ <string>error_info::error_info</string>
</title>
<file_name>
<string></string>
@@ -1676,7 +1604,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>41</id>
+ <id>40</id>
<type>
<string>reno_context</string>
</type>
@@ -1686,42 +1614,40 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>2F432507CFD796BE673F33D9AC68C535F1ED1F4FCD3A8E3AEEC320D9795FB4AE</strong>
- <weak>2319362875</weak>
- <size>2574</size>
- <position>323</position>
+ <strong>FB3526A6A3A99CF87E766D0B34CEC3F8FB49228B2BFC54C3D56098778710397F</strong>
+ <weak>3851746268</weak>
+ <size>852</size>
+ <position>306</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/get_error_info.hpp</string>
+ <string>../../example/error_info_2.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/get_error_info.hpp</string>
+ <string>adding of arbitrary data to active exception objects</string>
</title>
<file_name>
- <string></string>
+ <string>adding_data_later</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>42</id>
+ <id>41</id>
<type>
<string>reno_context</string>
</type>
@@ -1770,7 +1696,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>43</id>
+ <id>42</id>
<type>
<string>reno_context</string>
</type>
@@ -1779,32 +1705,21 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>6B3B617AC518A2177BDB89656E726B4E4D79577E289130493A61BAE24FB64838</strong>
- <weak>3173127726</weak>
- <size>1101</size>
- <position>2184</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>unknown_exception</string>
+ <string>transporting of exceptions between threads</string>
</title>
<file_name>
- <string></string>
+ <string>tutorial_exception_ptr</string>
</file_name>
</object>
</shared_ptr>
@@ -1819,7 +1734,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>44</id>
+ <id>43</id>
<type>
<string>reno_context</string>
</type>
@@ -1829,28 +1744,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
- <weak>1282550303</weak>
- <size>9192</size>
+ <strong>6FB85B536F965F137409D5B5D34786DCBF0B9957A7C251D271B717A1156B823D</strong>
+ <weak>1090406464</weak>
+ <size>362</size>
<position>323</position>
- <strong>F3FB15CD82336271C6E875BC620385322777D16F0B7C233300783CE35710CCBF</strong>
- <weak>3292878997</weak>
- <size>282</size>
- <position>7305</position>
+ <strong>D16DAEA8B1792A019AF7FCA362FDC6EFD381AF4C43C076A01C029ECE51F994A6</strong>
+ <weak>3172941848</weak>
+ <size>330</size>
+ <position>26</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/exception.hpp</string>
+ <string>../../../../boost/exception/current_exception_cast.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>enable_error_info</string>
+ <string>current_exception_cast</string>
</title>
<file_name>
<string></string>
@@ -1868,7 +1783,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>45</id>
+ <id>44</id>
<type>
<string>reno_context</string>
</type>
@@ -1877,41 +1792,47 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717</strong>
- <weak>2229778754</weak>
- <size>631</size>
- <position>319</position>
+ <size>2</size>
+ <strong>AEDDD2FA4F47CEBD99444F1054D85AB8132748CF38D6634503D62E9C8AD5FE68</strong>
+ <weak>1378637100</weak>
+ <size>292</size>
+ <position>368</position>
+ <strong>892C0239798B84BA2E80DAA70BBEB7BE0B6086A1D0829D0E1937EC1D19E3FF20</strong>
+ <weak>3349881047</weak>
+ <size>89</size>
+ <position>197</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/cloning_2.cpp</string>
+ <string>../../../../boost/exception/errinfo_api_function.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>cloning and re-throwing an exception</string>
+ <string>errinfo_api_function</string>
</title>
<file_name>
- <string>cloning_and_rethrowing</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>46</id>
+ <id>45</id>
<type>
<string>reno_context</string>
</type>
@@ -1921,9 +1842,9 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>21E8093D2AF6946EAE135823066EF38B9DC8870432B44C81E585FF63A72F9903</strong>
- <weak>3352783584</weak>
- <size>12170</size>
+ <strong>95AD55ACCB1C17C1DBA4C309BDFCBD4B66E52CD9A2F54FDAD2D642A00342D001</strong>
+ <weak>3194412598</weak>
+ <size>4599</size>
<position>323</position>
</container>
</stream_hook_path>
@@ -1931,14 +1852,14 @@
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
+ <string>../../../../boost/exception/diagnostic_information.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception_ptr.hpp</string>
+ <string>boost/exception/diagnostic_information.hpp</string>
</title>
<file_name>
<string></string>
@@ -1956,7 +1877,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>47</id>
+ <id>46</id>
<type>
<string>reno_context</string>
</type>
@@ -1966,13 +1887,13 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>F7633FDCF6615C0199645701EE6E7ACE5CBCD7A7CF6838573791E91ABB3C09F2</strong>
- <weak>1668435395</weak>
- <size>1332</size>
- <position>396</position>
- <strong>A1F443AF571973A12005D2F7D4AE09A32AAF686FEEAE272EC21512A65EB943E8</strong>
- <weak>3879093659</weak>
- <size>1300</size>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>1516D0B7E11CBEB60CE4222565ACCAFF2E9857A8A505C1C26E2AE90087250581</strong>
+ <weak>3624753243</weak>
+ <size>279</size>
<position>26</position>
</container>
</stream_hook_path>
@@ -1980,14 +1901,14 @@
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/info_tuple.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>tuple/operator<<</string>
+ <string>original_exception_type</string>
</title>
<file_name>
<string></string>
@@ -2005,7 +1926,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>48</id>
+ <id>47</id>
<type>
<string>reno_context</string>
</type>
@@ -2014,15 +1935,19 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
+ <size>3</size>
<strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
<weak>1282550303</weak>
<size>9192</size>
<position>323</position>
- <strong>DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9</strong>
- <weak>1137981799</weak>
- <size>192</size>
- <position>8994</position>
+ <strong>65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3</strong>
+ <weak>1693870740</weak>
+ <size>2195</size>
+ <position>3720</position>
+ <strong>DA154372D8C23BD9EDC30005CA7959CE686D198891097A837D006B5222F04DE9</strong>
+ <weak>2768248809</weak>
+ <size>143</size>
+ <position>60</position>
</container>
</stream_hook_path>
</hook>
@@ -2036,10 +1961,10 @@
</file>
</hook>
<title>
- <string>enable_current_exception</string>
+ <string>exception::exception</string>
</title>
<file_name>
- <string></string>
+ <string>exception_constructors</string>
</file_name>
</object>
</shared_ptr>
@@ -2054,7 +1979,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>49</id>
+ <id>48</id>
<type>
<string>reno_context</string>
</type>
@@ -2064,31 +1989,31 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
- <weak>1282550303</weak>
- <size>9192</size>
- <position>323</position>
- <strong>17E691632123EB67BA67D590B49EB8094F462F5A10A66A1C5438E1867EF1478E</strong>
- <weak>765399792</weak>
- <size>77</size>
- <position>5917</position>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>B20A3D4631F3B2415EED1888B65FA33D7AED20F86BE196159D9297AAED115787</strong>
+ <weak>3293519666</weak>
+ <size>117</size>
+ <position>11169</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/exception.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>exception::~exception</string>
+ <string>rethrow_exception</string>
</title>
<file_name>
- <string>exception_destructor</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -2103,7 +2028,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>50</id>
+ <id>49</id>
<type>
<string>reno_context</string>
</type>
@@ -2112,21 +2037,32 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>2</size>
+ <strong>126A895281064E2195458B8A47CD73DB7E3BE3608F250925E07AF4230CBDDE1D</strong>
+ <weak>4231421785</weak>
+ <size>307</size>
+ <position>344</position>
+ <strong>16179B125E2BC6D993FBE4BA5E9A96DBAE43CA1443C7D281B659D020B6725983</strong>
+ <weak>1126376090</weak>
+ <size>92</size>
+ <position>209</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/errinfo_type_info_name.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>transporting of arbitrary data to the catch site</string>
+ <string>errinfo_type_info_name</string>
</title>
<file_name>
- <string>tutorial_transporting_data</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -2141,7 +2077,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>51</id>
+ <id>50</id>
<type>
<string>reno_context</string>
</type>
@@ -2150,21 +2086,28 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>1</size>
+ <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
+ <weak>1282550303</weak>
+ <size>9192</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/exception.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost exception</string>
+ <string>boost/exception/exception.hpp</string>
</title>
<file_name>
- <string>boost-exception</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -2172,14 +2115,14 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) </string>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>52</id>
+ <id>51</id>
<type>
<string>reno_context</string>
</type>
@@ -2188,28 +2131,21 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>A14B5595A6DD87562792D402B48500AAD71FA1ABD75C14EDF089FCC7318CBB9B</strong>
- <weak>3469762901</weak>
- <size>468</size>
- <position>227</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/exception/current_exception_cast.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>boost/exception/current_exception_cast.hpp</string>
+ <string>transporting of arbitrary data to the catch site</string>
</title>
<file_name>
- <string></string>
+ <string>tutorial_transporting_data</string>
</file_name>
</object>
</shared_ptr>
@@ -2224,7 +2160,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>53</id>
+ <id>52</id>
<type>
<string>reno_context</string>
</type>
@@ -2244,10 +2180,10 @@
</file>
</hook>
<title>
- <string>transporting of exceptions between threads</string>
+ <string>boost exception</string>
</title>
<file_name>
- <string>tutorial_exception_ptr</string>
+ <string>boost-exception</string>
</file_name>
</object>
</shared_ptr>
@@ -2255,14 +2191,14 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <string>(:include include:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>54</id>
+ <id>53</id>
<type>
<string>reno_context</string>
</type>
@@ -2272,42 +2208,40 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>4EDD3DF2332B6D9D22AC9AD90B850ACC715A24DD466E675014CBED25C63C255F</strong>
- <weak>4175717823</weak>
- <size>328</size>
- <position>323</position>
+ <strong>4BF26702AE28644631FE5D0F726C9AD0877433607F35DE5F522D94F39BE2A2AB</strong>
+ <weak>1734013977</weak>
+ <size>733</size>
+ <position>363</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_type_info_name.hpp</string>
+ <string>../../example/info_tuple.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/errinfo_type_info_name.hpp</string>
+ <string>adding grouped data to exceptions</string>
</title>
<file_name>
- <string></string>
+ <string>grouping_data</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>55</id>
+ <id>54</id>
<type>
<string>reno_context</string>
</type>
@@ -2316,47 +2250,41 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>126A895281064E2195458B8A47CD73DB7E3BE3608F250925E07AF4230CBDDE1D</strong>
- <weak>4231421785</weak>
- <size>307</size>
- <position>344</position>
- <strong>16179B125E2BC6D993FBE4BA5E9A96DBAE43CA1443C7D281B659D020B6725983</strong>
- <weak>1126376090</weak>
- <size>92</size>
- <position>209</position>
+ <size>1</size>
+ <strong>75EA7D29A2D365F947FE504A6AE38FA23FEA7031FDA3B6DA5DBBAA3D93794D30</strong>
+ <weak>1826787048</weak>
+ <size>526</size>
+ <position>382</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_type_info_name.hpp</string>
+ <string>../../example/error_info_1.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>errinfo_type_info_name</string>
+ <string>adding of arbitrary data at the point of the throw</string>
</title>
<file_name>
- <string></string>
+ <string>adding_data_at_throw</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>56</id>
+ <id>55</id>
<type>
<string>reno_context</string>
</type>
@@ -2366,27 +2294,27 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
- <weak>1282550303</weak>
- <size>9192</size>
- <position>323</position>
+ <strong>C95CEF2E9D0BAA1E950509471062916DB849A46A19F7692BA478030E79B338EB</strong>
+ <weak>1917376632</weak>
+ <size>706</size>
+ <position>408</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/exception.hpp</string>
+ <string>../../example/enable_error_info.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/exception.hpp</string>
+ <string>integrating boost exception in existing exception class hierarchies</string>
</title>
<file_name>
- <string></string>
+ <string>tutorial_enable_error_info</string>
</file_name>
</object>
</shared_ptr>
@@ -2401,7 +2329,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>57</id>
+ <id>56</id>
<type>
<string>reno_context</string>
</type>
@@ -2410,41 +2338,47 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>E444EE9697EEADFDE0767E1D0242FC0E70D98E61FB1F0FFA099648DE509B82F3</strong>
- <weak>94503238</weak>
- <size>773</size>
- <position>374</position>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>0</empty>
- <string>../../example/info_tuple.cpp</string>
+ <size>2</size>
+ <strong>F7633FDCF6615C0199645701EE6E7ACE5CBCD7A7CF6838573791E91ABB3C09F2</strong>
+ <weak>1668435395</weak>
+ <size>1332</size>
+ <position>396</position>
+ <strong>A1F443AF571973A12005D2F7D4AE09A32AAF686FEEAE272EC21512A65EB943E8</strong>
+ <weak>3879093659</weak>
+ <size>1300</size>
+ <position>26</position>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>0</empty>
+ <string>../../../../boost/exception/info_tuple.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>adding grouped data to exceptions</string>
+ <string>tuple/operator<<</string>
</title>
<file_name>
- <string>grouping_data</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>58</id>
+ <id>57</id>
<type>
<string>reno_context</string>
</type>
@@ -2453,34 +2387,94 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>D10E536B909EFFF78FB09E6242AEC7C74ACDD75AE7DF32B45870422B752E5D8E</strong>
- <weak>1903336130</weak>
- <size>557</size>
- <position>382</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../example/error_info_1.cpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>adding of arbitrary data at the point of the throw</string>
+ <string>Motivation</string>
</title>
<file_name>
- <string>adding_data_at_throw</string>
+ <string>motivation</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>7</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also explicit="</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>58</id>
+ <type>
+ <string>reno_context</string>
+ </type>
+ <object>
+ <hook>
+ <hook>
+ <stream_hook_path>
+ <container>
+ <size>0</size>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>1</empty>
+ </path>
+ </file>
+ </hook>
+ <title>
+ <string>exception types as simple semantic tags</string>
+ </title>
+ <file_name>
+ <string></string>
+ </file_name>
+ </object>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-55</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-35</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-58</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -2497,28 +2491,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>AF894656AC8CED6190EEEE08B051DBF2106A393E313BB5BB1C17D4808EFED761</strong>
- <weak>1496105832</weak>
- <size>1753</size>
- <position>429</position>
+ <strong>9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF</strong>
+ <weak>1615599655</weak>
+ <size>68</size>
+ <position>227</position>
+ <strong>34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB</strong>
+ <weak>805836816</weak>
+ <size>66</size>
+ <position>1</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
+ <string>../../../../boost/exception/error_info.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>exception_ptr</string>
+ <string>boost/exception/error_info.hpp</string>
</title>
<file_name>
<string></string>
@@ -2545,25 +2539,33 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>66EFC83C830F0B00D0C9399B475099072E2674B3C694F9152645A33E3D7AC303</strong>
- <weak>561674611</weak>
- <size>417</size>
- <position>323</position>
+ <size>3</size>
+ <strong>DA1CAA5F6BAB712AD89E8A0B7D83961FCE4AF9FD198791C9F6EA299800A64FAC</strong>
+ <weak>3553871704</weak>
+ <size>612</size>
+ <position>1496</position>
+ <strong>154AC930BD1FDCADE24CDB07DBD3163CA26378AF4F1D428C34B67D1F68A60891</strong>
+ <weak>50905072</weak>
+ <size>586</size>
+ <position>23</position>
+ <strong>CD1241D84950468704F3C3F04116B8DA5162A8BEA4364F10951232F49113C5DE</strong>
+ <weak>1658463867</weak>
+ <size>121</size>
+ <position>453</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_file_name.hpp</string>
+ <string>../../../../boost/throw_exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/errinfo_file_name.hpp</string>
+ <string>configuration macros</string>
</title>
<file_name>
<string></string>
@@ -2591,28 +2593,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
- <weak>1114955626</weak>
- <size>11770</size>
- <position>723</position>
- <strong>0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4</strong>
- <weak>2078296250</weak>
- <size>305</size>
- <position>10862</position>
+ <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
+ <weak>1282550303</weak>
+ <size>9192</size>
+ <position>323</position>
+ <strong>DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9</strong>
+ <weak>1137981799</weak>
+ <size>192</size>
+ <position>8994</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception_ptr.hpp</string>
+ <string>../../../../boost/exception/exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>copy_exception</string>
+ <string>enable_current_exception</string>
</title>
<file_name>
<string></string>
@@ -2644,10 +2646,10 @@
<weak>1282550303</weak>
<size>9192</size>
<position>323</position>
- <strong>65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3</strong>
- <weak>1693870740</weak>
- <size>2195</size>
- <position>3720</position>
+ <strong>17E691632123EB67BA67D590B49EB8094F462F5A10A66A1C5438E1867EF1478E</strong>
+ <weak>765399792</weak>
+ <size>77</size>
+ <position>5917</position>
</container>
</stream_hook_path>
</hook>
@@ -2661,10 +2663,10 @@
</file>
</hook>
<title>
- <string>exception</string>
+ <string>exception::~exception</string>
</title>
<file_name>
- <string></string>
+ <string>exception_destructor</string>
</file_name>
</object>
</shared_ptr>
@@ -2672,7 +2674,7 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>(:include include:) ---- !!!See Also: (:pagelist link="backlink" except_tags="exception,member" mod="w":) </string>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -2688,18 +2690,29 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>2</size>
+ <strong>55F1164770FD778354E151EF65A3E830DA20F325F7ED20A95130A4B83FC801BF</strong>
+ <weak>1282550303</weak>
+ <size>9192</size>
+ <position>323</position>
+ <strong>F3FB15CD82336271C6E875BC620385322777D16F0B7C233300783CE35710CCBF</strong>
+ <weak>3292878997</weak>
+ <size>282</size>
+ <position>7305</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/exception/exception.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/enable_current_exception.hpp</string>
+ <string>enable_error_info</string>
</title>
<file_name>
<string></string>
@@ -2726,21 +2739,28 @@
<hook>
<stream_hook_path>
<container>
- <size>0</size>
+ <size>1</size>
+ <strong>04DDC793002AFCF4F4166D250C67D09B6FE8B86224318ED7847AD6EC423B70CA</strong>
+ <weak>922651615</weak>
+ <size>433</size>
+ <position>1061</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>1</empty>
+ <empty>0</empty>
+ <string>../../../../boost/throw_exception.hpp</string>
+ <type>0</type>
+ <base>0</base>
</path>
</file>
</hook>
<title>
- <string>Headers</string>
+ <string>BOOST_THROW_EXCEPTION</string>
</title>
<file_name>
- <string>headers</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
@@ -2755,19 +2775,6 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
<id>65</id>
<type>
<string>reno_context</string>
@@ -2777,32 +2784,21 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>15CF5BD93D20D62D659C11A69330B06E408398EA488BEF1FD45437AADCDB424E</strong>
- <weak>1232553666</weak>
- <size>214</size>
- <position>345</position>
- <strong>6262783847165581298EC9500031E6B7A97B2751A9CEF67C4794121A78142C58</strong>
- <weak>3676119191</weak>
- <size>90</size>
- <position>118</position>
+ <size>0</size>
</container>
</stream_hook_path>
</hook>
<file>
<path>
- <empty>0</empty>
- <string>../../../../boost/exception/errinfo_file_handle.hpp</string>
- <type>0</type>
- <base>0</base>
+ <empty>1</empty>
</path>
</file>
</hook>
<title>
- <string>errinfo_file_handle</string>
+ <string>Functions</string>
</title>
<file_name>
- <string></string>
+ <string>functions</string>
</file_name>
</object>
</shared_ptr>
@@ -2835,10 +2831,10 @@
<weak>2978648279</weak>
<size>530</size>
<position>433</position>
- <strong>38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50</strong>
- <weak>2218658069</weak>
- <size>31</size>
- <position>143</position>
+ <strong>02372FA6B987EAC15E78C5A12036F203A92B3D4C857C02985B1BF0A24008D976</strong>
+ <weak>2987989218</weak>
+ <size>109</size>
+ <position>259</position>
</container>
</stream_hook_path>
</hook>
@@ -2852,7 +2848,7 @@
</file>
</hook>
<title>
- <string>error_info::value_type</string>
+ <string>error_info::value</string>
</title>
<file_name>
<string></string>
@@ -2880,28 +2876,28 @@
<stream_hook_path>
<container>
<size>2</size>
- <strong>AEDDD2FA4F47CEBD99444F1054D85AB8132748CF38D6634503D62E9C8AD5FE68</strong>
- <weak>1378637100</weak>
- <size>292</size>
- <position>368</position>
- <strong>892C0239798B84BA2E80DAA70BBEB7BE0B6086A1D0829D0E1937EC1D19E3FF20</strong>
- <weak>3349881047</weak>
- <size>89</size>
- <position>197</position>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>6B3B617AC518A2177BDB89656E726B4E4D79577E289130493A61BAE24FB64838</strong>
+ <weak>3173127726</weak>
+ <size>1101</size>
+ <position>2184</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_api_function.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>errinfo_api_function</string>
+ <string>unknown_exception</string>
</title>
<file_name>
<string></string>
@@ -2929,9 +2925,9 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>95AD55ACCB1C17C1DBA4C309BDFCBD4B66E52CD9A2F54FDAD2D642A00342D001</strong>
- <weak>3194412598</weak>
- <size>4599</size>
+ <strong>2F432507CFD796BE673F33D9AC68C535F1ED1F4FCD3A8E3AEEC320D9795FB4AE</strong>
+ <weak>2319362875</weak>
+ <size>2574</size>
<position>323</position>
</container>
</stream_hook_path>
@@ -2939,14 +2935,14 @@
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/diagnostic_information.hpp</string>
+ <string>../../../../boost/exception/get_error_info.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/diagnostic_information.hpp</string>
+ <string>boost/exception/get_error_info.hpp</string>
</title>
<file_name>
<string></string>
@@ -2973,34 +2969,40 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>4ED9709788BBAB4DE7CF336561606B8C0B41F70877A3395F4EE026F4AEB66CC6</strong>
- <weak>743998427</weak>
- <size>409</size>
- <position>307</position>
+ <size>2</size>
+ <strong>DA1CAA5F6BAB712AD89E8A0B7D83961FCE4AF9FD198791C9F6EA299800A64FAC</strong>
+ <weak>3553871704</weak>
+ <size>612</size>
+ <position>1496</position>
+ <strong>154AC930BD1FDCADE24CDB07DBD3163CA26378AF4F1D428C34B67D1F68A60891</strong>
+ <weak>50905072</weak>
+ <size>586</size>
+ <position>23</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/cloning_1.cpp</string>
+ <string>../../../../boost/throw_exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>using enable_current_exception at the time of the throw</string>
+ <string>throw_exception</string>
</title>
<file_name>
- <string>using_enable_cloning</string>
+ <string></string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include include:) (:auto also:) </string>
</container>
</pair>
<pair>
@@ -3016,25 +3018,29 @@
<hook>
<stream_hook_path>
<container>
- <size>1</size>
- <strong>E0BE7EFCD5550582AB95C9EEDA6E68CA0F89B19838DA61876D42161E1EA4AE71</strong>
- <weak>2587249979</weak>
- <size>233</size>
- <position>323</position>
+ <size>2</size>
+ <strong>CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414</strong>
+ <weak>1114955626</weak>
+ <size>11770</size>
+ <position>723</position>
+ <strong>AF894656AC8CED6190EEEE08B051DBF2106A393E313BB5BB1C17D4808EFED761</strong>
+ <weak>1496105832</weak>
+ <size>1753</size>
+ <position>429</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_at_line.hpp</string>
+ <string>../../../../boost/exception_ptr.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>boost/exception/errinfo_at_line.hpp</string>
+ <string>exception_ptr</string>
</title>
<file_name>
<string></string>
@@ -3061,40 +3067,34 @@
<hook>
<stream_hook_path>
<container>
- <size>2</size>
- <strong>307034E20863A00923777A60D9495B4076B7F917D5B97203025299060F0833E0</strong>
- <weak>3948311309</weak>
- <size>396</size>
- <position>344</position>
- <strong>F8ED2052577830AC0C515EC5932BB14445DD5DA714782281FCDB1776961FECB1</strong>
- <weak>3880328768</weak>
- <size>82</size>
- <position>308</position>
+ <size>1</size>
+ <strong>FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717</strong>
+ <weak>2229778754</weak>
+ <size>631</size>
+ <position>319</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception/errinfo_file_name.hpp</string>
+ <string>../../example/cloning_2.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
</hook>
<title>
- <string>errinfo_file_name</string>
+ <string>cloning and re-throwing an exception</string>
</title>
<file_name>
- <string></string>
+ <string>cloning_and_rethrowing</string>
</file_name>
</object>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include include:) (:auto also:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -3385,7 +3385,45 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>9</size>
+ <variant>2</variant>
+ <string>[@template <class Tag,class T> class (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) { public: (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-23</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl pre_indent="4":) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-39</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl pre_indent="4":) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-66</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl pre_indent="4":) };@] </string>
</container>
</pair>
<pair>
@@ -3484,45 +3522,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>9</size>
- <variant>2</variant>
- <string>[@template <class Tag,class T> class (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:) { public: (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-66</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl pre_indent="4":) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-12</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl pre_indent="4":) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-29</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl pre_indent="4":) };@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -3654,7 +3654,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@typedef </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string><struct errinfo_file_name_,std::string> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-29</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>;@] </string>
</container>
</pair>
<pair>
@@ -3672,17 +3692,6 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
<id>-31</id>
</shared_ptr>
</weak_ptr>
@@ -3694,22 +3703,31 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-35</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-36</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@typedef </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string><struct errinfo_file_handle_,weak_ptr<FILE> > </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-32</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>;@] </string>
</container>
</pair>
<pair>
@@ -3727,7 +3745,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -3738,7 +3756,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -3749,19 +3767,48 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-40</id>
- </shared_ptr>
+ <size>7</size>
+ <variant>2</variant>
+ <string>[@class (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-36</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) { protected: (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-47</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl pre_indent="4":) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-62</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl pre_indent="4":) };@] </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-37</id>
+ </shared_ptr>
</weak_ptr>
<container>
<size>0</size>
@@ -3771,7 +3818,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-41</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -3782,7 +3829,29 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-42</id>
+ <id>-39</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-40</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-41</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -3793,7 +3862,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -3802,7 +3871,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-42</id>
+ <id>-41</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -3813,6 +3882,17 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
+ <id>-42</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
<id>-43</id>
</shared_ptr>
</weak_ptr>
@@ -3828,7 +3908,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@typedef </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string><struct errinfo_api_function_,int> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-44</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>;@] </string>
</container>
</pair>
<pair>
@@ -3883,7 +3983,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@typedef </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string><struct errinfo_type_info_name_,std::string> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-49</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>;@] </string>
</container>
</pair>
<pair>
@@ -3949,27 +4069,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@typedef </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string><struct errinfo_type_info_name_,std::string> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-55</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>;@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -4046,36 +4146,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
- <variant>2</variant>
- <string>[@class (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:) { protected: (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-20</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl pre_indent="4":) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-49</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl pre_indent="4":) };@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -4104,7 +4175,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
+ <id>-65</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4115,38 +4186,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-65</id>
+ <id>-66</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@typedef </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string><struct errinfo_file_handle_,weak_ptr<FILE> > </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-65</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>;@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-66</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4157,38 +4208,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-67</id>
+ <id>-68</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@typedef </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string><struct errinfo_api_function_,int> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-67</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>;@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4199,7 +4230,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-69</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4210,7 +4241,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-71</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4221,7 +4252,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-71</id>
+ <id>-72</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4232,16 +4263,16 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string><struct errinfo_file_name_,std::string> </string>
+ <string><struct errinfo_errno_,int> </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-71</id>
+ <id>-72</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4252,7 +4283,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-72</id>
+ <id>-73</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4263,16 +4294,16 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string><struct errinfo_errno_,int> </string>
+ <string><struct errinfo_file_open_mode_,std::string> </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-72</id>
+ <id>-73</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4283,38 +4314,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-73</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>[@typedef </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string><struct errinfo_file_open_mode_,std::string> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-73</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>;@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-74</id>
+ <id>-74</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4365,7 +4365,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-63</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:)@] </string>
</container>
</pair>
<pair>
@@ -4398,18 +4409,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-47</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -4420,7 +4420,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-44</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> def:)@] </string>
</container>
</pair>
<pair>
@@ -4442,23 +4453,14 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
+ <size>3</size>
<variant>2</variant>
<string>[@(:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> def:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-39</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4484,7 +4486,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-43</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:)@] </string>
</container>
</pair>
<pair>
@@ -4528,7 +4541,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-29</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> def:)@] </string>
</container>
</pair>
<pair>
@@ -4550,18 +4574,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -4572,7 +4585,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-49</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> def:)@] </string>
</container>
</pair>
<pair>
@@ -4583,7 +4607,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>13</size>
<variant>2</variant>
<string>[@(:include </string>
<variant>1</variant>
@@ -4594,7 +4618,52 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> def:)@] </string>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-46</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-18</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-48</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:)@] </string>
</container>
</pair>
<pair>
@@ -4605,7 +4674,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-64</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) namespace boost { (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-69</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) }@] </string>
</container>
</pair>
<pair>
@@ -4627,7 +4716,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-72</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> def:)@] </string>
</container>
</pair>
<pair>
@@ -4638,27 +4738,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-37</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) namespace boost { (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-5</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) }@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -4698,7 +4778,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-72</id>
+ <id>-41</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4731,51 +4811,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-31</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-35</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-36</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4797,18 +4844,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-38</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4819,7 +4855,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4830,7 +4866,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-40</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4841,7 +4877,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-41</id>
+ <id>-37</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4852,7 +4888,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4863,107 +4899,27 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-42</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-43</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-45</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-46</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>13</size>
+ <size>5</size>
<variant>2</variant>
<string>[@(:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-27</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-61</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> decl:) (:include </string>
+ <string> def:) (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -4974,7 +4930,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-47</id>
+ <id>-39</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4985,7 +4941,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-40</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -4996,7 +4952,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-49</id>
+ <id>-41</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5007,7 +4963,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-50</id>
+ <id>-42</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5018,7 +4974,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-51</id>
+ <id>-43</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5029,18 +4985,38 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
+ <id>-44</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-45</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
<variant>2</variant>
<string>[@(:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-23</id>
+ <id>-10</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5051,7 +5027,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-53</id>
+ <id>-46</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5062,29 +5038,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-47</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-55</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> def:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-55</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5095,7 +5060,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-49</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5106,7 +5082,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5115,7 +5091,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5124,7 +5100,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5133,7 +5109,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5142,7 +5118,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5153,7 +5129,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-57</id>
+ <id>-51</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5164,7 +5140,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-58</id>
+ <id>-52</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5175,7 +5151,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-53</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5186,29 +5162,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-60</id>
+ <id>-54</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-71</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> def:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-61</id>
+ <id>-55</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5219,7 +5184,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5230,29 +5195,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-63</id>
+ <id>-57</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-48</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-64</id>
+ <id>-58</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5263,11 +5217,77 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@(:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> decl:)@] </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-60</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-61</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-62</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-63</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-64</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -5311,23 +5331,14 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
+ <size>3</size>
<variant>2</variant>
<string>[@(:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> decl:) (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-18</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5353,18 +5364,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-42</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> def:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -5437,7 +5437,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5446,7 +5446,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5455,7 +5455,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5464,7 +5464,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-41</id>
+ <id>-68</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5473,7 +5473,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5482,7 +5482,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-11</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5491,7 +5491,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5500,7 +5500,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-21</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5509,7 +5509,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-28</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5518,7 +5518,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5536,7 +5536,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-60</id>
+ <id>-17</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5554,7 +5554,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5576,7 +5576,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-65</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5605,34 +5605,45 @@
</shared_ptr>
</weak_ptr>
<container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
<size>5</size>
<variant>2</variant>
- <string>[@#ifdef BOOST_NO_EXCEPTIONS void (:link </string>
+ <string>[@(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)( std::exception const & e ); // user defined #else template <class E> void (:link </string>
+ <string>:) (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)( E const & e ); #endif@] </string>
+ <string>:)();@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-6</id>
+ <id>-7</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5643,42 +5654,22 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
+ <size>3</size>
<variant>2</variant>
- <string>:) (:link </string>
+ <string>[@template <class Tag,class T> class (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)();@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-8</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
+ <string>:);@] </string>
</container>
</pair>
<pair>
@@ -5700,9 +5691,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
+ <size>7</size>
<variant>2</variant>
- <string>[@void (:link </string>
+ <string>[@template <class E> std::string (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -5711,16 +5702,25 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)( (:link </string>
+ <string>:)( E const & e ); std::string (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) const & ep );</string>
+ <string>:)( </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> const & p );@] </string>
</container>
</pair>
<pair>
@@ -5742,27 +5742,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-12</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":)( (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-66</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":) const & v );@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -5817,25 +5797,45 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-18</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
<variant>2</variant>
- <string>[@template <class Tag,class T> class (:link </string>
+ <string>[@template <class T> (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:);@] </string>
+ <string>:) (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-18</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)( T const & e );@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5846,7 +5846,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -5857,7 +5857,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-19</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5868,47 +5868,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-20</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>7</size>
- <variant>2</variant>
- <string>[@(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-20</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":)(); (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-20</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":)( (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:) const & x );@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-21</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -5936,7 +5896,7 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@template <class E> E * </string>
+ <string>[@typedef T (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -5945,7 +5905,7 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>();@] </string>
+ <string> mod="m":);@] </string>
</container>
</pair>
<pair>
@@ -5956,36 +5916,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
- <variant>2</variant>
- <string>[@template <class E> std::string (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-24</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)( E const & e ); std::string (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-24</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)( </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> const & p );@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6018,27 +5949,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@typedef (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)<struct tag_original_exception_type,std::type_info const *> </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-27</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>;@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6060,27 +5971,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-66</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":) const & (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-29</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":)() const;@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6098,7 +5989,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-31</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -6109,7 +6000,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -6120,18 +6011,38 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-35</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@template <class E, class Tag, class T> E const & (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-33</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> mod="/":)( E const & x, (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)<Tag,T> const & v );@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -6142,7 +6053,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-66</id>
+ <id>-23</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -6151,7 +6062,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -6162,7 +6073,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -6173,94 +6084,33 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>19</size>
- <variant>2</variant>
- <string>[@#if !defined( BOOST_EXCEPTION_DISABLE ) #include <(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)> #include <boost/current_function.hpp> #define (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-37</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)(x)\ ::boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-5</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)( ::boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)(x) <<\ ::boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>|throw_function:)(BOOST_CURRENT_FUNCTION) <<\ ::boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>|throw_file:)(__FILE__) <<\ ::boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>|throw_line:)((int)__LINE__) ) #else #define (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-37</id>
- </shared_ptr>
- </weak_ptr>
+ <size>3</size>
<variant>2</variant>
- <string>:)(x) ::boost::(:link </string>
+ <string>[@class (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(x) #endif@] </string>
+ <string>:);@] </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-37</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6284,7 +6134,7 @@
<container>
<size>5</size>
<variant>2</variant>
- <string>[@template <class E, class Tag, class T> E const & (:link </string>
+ <string>[@(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6293,16 +6143,16 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":)( E const & x, (:link </string>
+ <string> mod="m":)( (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-23</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag,T> const & v );@] </string>
+ <string> mod="m":) const & v );@] </string>
</container>
</pair>
<pair>
@@ -6346,9 +6196,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
+ <size>3</size>
<variant>2</variant>
- <string>[@class (:link </string>
+ <string>[@template <class E> E * </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6357,16 +6207,7 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:): public std::exception public boost::</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> { ---unspecified--- };@] </string>
+ <string>();@] </string>
</container>
</pair>
<pair>
@@ -6377,18 +6218,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@template <class T> ---unspecified--- (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)( T const & x );@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6410,7 +6240,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@typedef (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)<struct tag_original_exception_type,std::type_info const *> </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-46</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>;@] </string>
</container>
</pair>
<pair>
@@ -6423,7 +6273,7 @@
<container>
<size>7</size>
<variant>2</variant>
- <string>[@template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & (:link </string>
+ <string>[@(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6432,25 +6282,25 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":)( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link </string>
+ <string> mod="m":)(); (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-47</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag1,T1>, ..., (:link </string>
+ <string> mod="m":)( (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<TagN,TN> > const & v );@] </string>
+ <string>:) const & x );@] </string>
</container>
</pair>
<pair>
@@ -6461,9 +6311,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>5</size>
<variant>2</variant>
- <string>[@template <class T> ---unspecified--- (:link </string>
+ <string>[@void (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6472,7 +6322,16 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)( T const & e );@] </string>
+ <string>:)( (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) const & ep );</string>
</container>
</pair>
<pair>
@@ -6483,18 +6342,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-49</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> mod="m":)();@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6571,7 +6419,36 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>7</size>
+ <variant>2</variant>
+ <string>[@template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-56</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> mod="/":)( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)<Tag1,T1>, ..., (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)<TagN,TN> > const & v );@] </string>
</container>
</pair>
<pair>
@@ -6604,18 +6481,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@typedef ---unspecified--- (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:);@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -6637,18 +6503,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>[@template <class T> (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
+ <size>3</size>
<variant>2</variant>
- <string>:) (:link </string>
+ <string>[@template <class T> ---unspecified--- (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6670,7 +6527,7 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@class (:link </string>
+ <string>[@(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6679,7 +6536,7 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:);@] </string>
+ <string> mod="m":)();@] </string>
</container>
</pair>
<pair>
@@ -6690,7 +6547,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@template <class T> ---unspecified--- (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-63</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)( T const & x );@] </string>
</container>
</pair>
<pair>
@@ -6701,18 +6569,90 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-32</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
+ <size>19</size>
+ <variant>2</variant>
+ <string>[@#if !defined( BOOST_EXCEPTION_DISABLE ) #include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)> #include <boost/current_function.hpp> #define (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-64</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)(x)\ ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-69</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)( ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-63</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)(x) <<\ ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>|throw_function:)(BOOST_CURRENT_FUNCTION) <<\ ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>|throw_file:)(__FILE__) <<\ ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>|throw_line:)((int)__LINE__) ) #else #define (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-64</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)(x) ::boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-69</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)(x) #endif@] </string>
</container>
</pair>
<pair>
@@ -6734,9 +6674,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>5</size>
<variant>2</variant>
- <string>[@typedef T (:link </string>
+ <string>[@(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-23</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> mod="m":) const & (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6745,7 +6694,7 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="m":);@] </string>
+ <string> mod="m":)() const;@] </string>
</container>
</pair>
<pair>
@@ -6756,7 +6705,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@class (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-67</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:): public std::exception public boost::</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-36</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> { ---unspecified--- };@] </string>
</container>
</pair>
<pair>
@@ -6778,7 +6747,27 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>5</size>
+ <variant>2</variant>
+ <string>[@#ifdef BOOST_NO_EXCEPTIONS void (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-69</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)( std::exception const & e ); // user defined #else template <class E> void (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-69</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)( E const & e ); #endif@] </string>
</container>
</pair>
<pair>
@@ -6789,7 +6778,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@typedef ---unspecified--- (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:);@] </string>
</container>
</pair>
<pair>
@@ -6880,63 +6880,103 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>17</size>
+ <size>1</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must derive publicly from std::exception. !!!!Effects: * If BOOST_NO_EXCEPTIONS is not defined, boost::(:link </string>
+ <string>(:auto !!!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>33</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: The (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(e) is equivalent to throw boost::(:link </string>
+ <string>:) function must not be called outside of a catch block. !!!!Returns: * An (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(boost::(:link </string>
+ <string>:) that refers to the currently handled exception or a copy of the currently handled exception. * If the function needs to allocate memory and the attempt fails, it returns an (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(e)), unless BOOST_EXCEPTION_DISABLE is defined, in which case boost::(:link </string>
+ <string>:) that refers to an instance of std::bad_alloc. !!!!Throws: Nothing. !!!!Notes: * It is unspecified whether the return values of two successive calls to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(e) is equivalent to throw e; * If BOOST_NO_EXCEPTIONS is defined, the function is left undefined, and the user is expected to supply an appropriate definition. Callers of (:link </string>
+ <string>:) refer to the same exception object. * Correct implementation of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) are allowed to assume that the function never returns; therefore, if the user-defined (:link </string>
+ <string>:) may require compiler support, unless (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) returns, the behavior is undefined. !!!!Note: Under BOOST_NO_EXCEPTIONS, unless BOOST_EXCEPTION_DISABLE is also defined, users can examine the passed exception object using boost::</string>
+ <string>:) was used at the time the currently handled exception object was passed to throw. Whenever </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> fails to properly copy the current exception object, it returns an </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> to an object of type that is as close as possible to the original exception type, using </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-67</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> as a final fallback. All such types derive from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -6945,23 +6985,68 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>, or format an automatic diagnostic message using boost::</string>
+ <string>, and: ** if the original exception object derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>.</string>
+ <string>:), then the boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-36</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) sub-object of the object referred to by the returned </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> is initialized by the boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-36</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) copy constructor; ** if available, the exception contains the std::type_info of the original exception object, accessible through </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-34</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string><</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-46</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>>. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-6</id>
+ <id>-7</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -6972,7 +7057,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -6981,7 +7066,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -6990,7 +7075,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -6999,7 +7084,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7008,7 +7093,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7017,7 +7102,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7026,7 +7111,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-11</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7035,7 +7120,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-11</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7044,7 +7129,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-19</id>
+ <id>-5</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7053,7 +7138,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-19</id>
+ <id>-5</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7062,7 +7147,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7071,7 +7156,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7080,7 +7165,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
+ <id>-13</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7089,7 +7174,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
+ <id>-13</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7098,7 +7183,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7107,7 +7192,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7116,7 +7201,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-63</id>
+ <id>-37</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7125,7 +7210,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-63</id>
+ <id>-37</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7134,7 +7219,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-22</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7143,7 +7228,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-22</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7152,7 +7237,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-21</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7161,7 +7246,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-21</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7170,7 +7255,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-28</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7179,7 +7264,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-28</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7188,7 +7273,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7197,7 +7282,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7224,7 +7309,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-60</id>
+ <id>-17</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7233,7 +7318,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-60</id>
+ <id>-17</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7260,7 +7345,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7269,7 +7354,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7298,76 +7383,76 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>33</size>
+ <size>37</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: The (:link </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: T must have accessible copy constructor and must not be a reference (there is no requirement that T's copy constructor does not throw.) !!!!Description: This class template is used to associate a Tag type with a value type T. Objects of type (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function must not be called outside of a catch block. !!!!Returns: * An (:link </string>
+ <string>:)<Tag,T> can be passed to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) that refers to the currently handled exception or a copy of the currently handled exception. * If the function needs to allocate memory and the attempt fails, it returns an (:link </string>
+ <string> mod="/":) to be stored in objects of type boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) that refers to an instance of std::bad_alloc. !!!!Throws: Nothing. !!!!Notes: * It is unspecified whether the return values of two successive calls to (:link </string>
+ <string>:). !!!!Usage: The header <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) refer to the same exception object. * Correct implementation of (:link </string>
+ <string>:)> provides a declaration of the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) may require compiler support, unless (:link </string>
+ <string>:) template, which is sufficient for the purpose of typedefing an instance for specific Tag and T, for example: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) was used at the time the currently handled exception object was passed to throw. Whenever </string>
+ <string>:)> struct tag_errno; typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> fails to properly copy the current exception object, it returns an </string>
+ <string>:)<tag_errno,int> errno_info;@] Or, the shorter equivalent: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -7376,61 +7461,70 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> to an object of type that is as close as possible to the original exception type, using </string>
+ <string>:)> typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> as a final fallback. All such types derive from boost::</string>
+ <string>:)<struct tag_errno,int> errno_info;@] This errno_info typedef can be passed to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>, and: ** if the original exception object derives from boost::(:link </string>
+ <string> mod="/":) (#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), then the boost::(:link </string>
+ <string>:)> first) to store an int named tag_errno in exceptions of types that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) sub-object of the object referred to by the returned </string>
+ <string>:): [@throw file_read_error() (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> is initialized by the boost::(:link </string>
+ <string>|<<:) errno_info(errno);@] It can also be passed to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) copy constructor; ** if available, the exception contains the std::type_info of the original exception object, accessible through </string>
+ <string>:) (#include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-68</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)> first) to retrieve the tag_errno int from a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -7439,23 +7533,32 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string><</string>
+ <string>:): [@catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-27</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>>. </string>
+ <string>:) & x ) { if( int const * e=boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-34</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)<errno_info>(x) ) .... }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -7468,351 +7571,308 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-9</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>19</size>
+ <size>37</size>
<variant>2</variant>
- <string>(:auto !!!:) Sometimes the throw site does not have all the information that is needed at the catch site to make sense of what went wrong. Let's say we have an exception type file_read_error, which takes a file name in its constructor. Consider the following function: [@void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error(????); }@] How can the file_read function pass a file name to the exception type constructor? All it has is a FILE handle. Using boost::(:link </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Returns: A string value that contains varying amount of implementation-specific diagnostic information about the passed object: *If E can be statically converted to boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) allows us to free the file_read function from the burden of storing the file name in exceptions it throws: [@#include <(:link </string>
+ <string>:), the returned value contains the string representations of all (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <stdio.h> #include <errno.h> typedef boost::(:link </string>
+ <string>:) objects stored in the boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link </string>
+ <string>:) through (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error() << errno_info(errno); }@] If file_read detects a failure, it throws an exception which contains the information that is available at the time, namely the errno. Other relevant information, such as the file name, can be added in a context higher up the call stack, where it is known naturally: [@#include <(:link </string>
+ <string> mod="/":), 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. *Otherwise, if E can be statically converted std::exception: **if e can be dynamically converted to boost::exception, the returned value is the same as if E could be statically converted to boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> typedef boost::(:link </string>
+ <string>:); **otherwise the returned value contains the what() string. *Otherwise, the boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_file_name,std::string> file_name_info; boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode ); void file_read( FILE * f, void * buffer, size_t size ); void parse_file( char const * file_name ) { boost::shared_ptr<FILE> f = file_open(file_name,"rb"); assert(f); try { char buf[1024]; file_read( f.get(), buf, sizeof(buf) ); } catch( boost::(:link </string>
+ <string>:) template is not available. The string representation of each (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & e ) { e << file_name_info(file_name); throw; } }@] The above function is (almost) exception-neutral -- if an exception is emitted by any function call within the try block, parse_file does not need to do any real work, but it intercepts any boost::(:link </string>
+ <string>:) object is deduced by a function call that is bound at the time the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object, stores the file name, and re-throws using a throw-expression with no operand (15.1.6). The rationale for catching any boost::(:link </string>
+ <string>:)<Tag,T> template is instantiated. The following overload resolutions are attempted in order: #Unqualified call to to_string(x), where x is of type (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object is that the file name is relevant to any failure that occurs in parse_file, ''even if the failure is unrelated to file I/O''. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-10</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Precondition: ep shall not be null. !!!!Throws: The exception to which ep refers. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-11</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-12</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>3</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Effects: Stores a copy of v in the </string>
+ <string>:)<Tag,T> (the return value is expected to be of type std::string.) #Unqualified call to to_string(x.(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-66</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> object. (:include throws:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-13</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !:) This is an alphabetical list of all Boost Exception documentation pages. (:pagelist fmt="index" except_tags="index noindex" mod="w":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-14</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) (:pagelist fmt="index" tags="type":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-15</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>3</size>
- <variant>2</variant>
- <string>!!!!Example: this is a possible output from the (:link </string>
+ <string> mod="m":)()) (the return value is expected to be of type std::string.) #Unqualified call to s << x.(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-66</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function, as used in ''libs/exception/example/example_io.cpp:'' [@example_io.cpp(83): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *) Dynamic exception type: class boost::exception_detail::clone_impl<class fopen_error> std::exception::what: example_io error [struct tag_errno *] = 2, OS says "No such file or directory" [struct tag_file_name *] = tmp1.txt [struct tag_function *] = fopen [struct tag_open_mode *] = rb@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-16</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) Exception types should use virtual inheritance when deriving from other exception types. This insight is due to Andrew Koenig. Using virtual inheritance prevents ambiguity problems in the exception handler: [@#include <iostream> struct my_exc1 : std::exception { char const* what() const throw(); }; struct my_exc2 : std::exception { char const* what() const throw(); }; struct your_exc3 : my_exc1, my_exc2 {}; int main() { try { throw your_exc3(); } catch(std::exception const& e) {} catch(...) { std::cout << "whoops!" << std::endl; } }@] The program above outputs "whoops!" because the conversion to std::exception is ambiguous. The overhead introduced by virtual inheritance is always negligible in the context of exception handling. Note that virtual bases are initialized directly by the constructor of the most-derived-type (the type pass
ed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::(:link </string>
+ <string> mod="m":)(), where s is a std::ostringstream. The first successfully bound function is used at the time (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See (:link </string>
+ <string>:) is called; if all 3 overload resolutions are unsuccessful, the system is unable to convert the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":). </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>37</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: T must have accessible copy constructor and must not be a reference (there is no requirement that T's copy constructor does not throw.) !!!!Description: This class template is used to associate a Tag type with a value type T. Objects of type (:link </string>
+ <string>:) object to string, and ''an unspecified stub string value is used without issuing a compile error.'' The </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag,T> can be passed to (:link </string>
+ <string> overload of </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":) to be stored in objects of type boost::(:link </string>
+ <string> is equivalent to: [@if( p ) try { </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). !!!!Usage: The header <(:link </string>
+ <string>(p); } catch(...) { return </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> provides a declaration of the (:link </string>
+ <string>(); } else return <unspecified-string-value>;@] !!!!Notes: *The format of the returned string is unspecified. *The returned string is ''not'' user-friendly. *The returned string may include additional platform-specific diagnostic information. (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-26</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) template, which is sufficient for the purpose of typedefing an instance for specific Tag and T, for example: [@#include <(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-34</id>
+ <string>:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-11</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-12</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>19</size>
+ <variant>2</variant>
+ <string>(:auto !!:) Boost Exception provides a namespace-scope function (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> struct tag_errno; typedef boost::(:link </string>
+ <string>:) which takes a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<tag_errno,int> errno_info;@] Or, the shorter equivalent: [@#include <(:link </string>
+ <string>:). The returned string contains: *the string representation of all data objects added to the boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> typedef boost::(:link </string>
+ <string>:) through (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_errno,int> errno_info;@] This errno_info typedef can be passed to (:link </string>
+ <string> mod="/":); *the output from std::exception::what; *additional platform-specific diagnostic information. The returned string is not presentable as a friendly user message, but because it is generated automatically, it is useful for debugging or logging purposes. Here is an example: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":) (#include <(:link </string>
+ <string>:)> #include <iostream> void f(); //throws unknown types that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> first) to store an int named tag_errno in exceptions of types that derive from boost::(:link </string>
+ <string>:). void g() { try { f(); } catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:): [@throw file_read_error() (:link </string>
+ <string>:) & e ) { std::cerr << (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) errno_info(errno);@] It can also be passed to (:link </string>
+ <string>:)(e); } }@] (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-26</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-13</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-14</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) Exception types should use virtual inheritance when deriving from other exception types. This insight is due to Andrew Koenig. Using virtual inheritance prevents ambiguity problems in the exception handler: [@#include <iostream> struct my_exc1 : std::exception { char const* what() const throw(); }; struct my_exc2 : std::exception { char const* what() const throw(); }; struct your_exc3 : my_exc1, my_exc2 {}; int main() { try { throw your_exc3(); } catch(std::exception const& e) {} catch(...) { std::cout << "whoops!" << std::endl; } }@] The program above outputs "whoops!" because the conversion to std::exception is ambiguous. The overhead introduced by virtual inheritance is always negligible in the context of exception handling. Note that virtual bases are initialized directly by the constructor of the most-derived-type (the type pass
ed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -7821,50 +7881,102 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) (#include <(:link </string>
+ <string>:) is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-41</id>
+ <id>-58</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> first) to retrieve the tag_errno int from a boost::(:link </string>
+ <string> mod="w":). </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-15</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !:) This is an alphabetical list of all Boost Exception documentation pages. (:pagelist fmt="index" except_tags="index noindex" mod="w":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-16</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>3</size>
+ <variant>2</variant>
+ <string>(:auto !!:) This header has been deprecated. Please #include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:): [@catch( boost::(:link </string>
+ <string>> instead.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-17</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-18</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Effects: As if [@try { throw </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & x ) { if( int const * e=boost::(:link </string>
+ <string>(e); } catch(...) { return (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<errno_info>(x) ) .... }@] </string>
+ <string>:)(); }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -7875,7 +7987,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7884,7 +7996,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7893,7 +8005,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7902,7 +8014,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -7913,60 +8025,77 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-19</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<container>
<size>1</size>
<variant>2</variant>
- <string>(:auto !!!:) !!!Synopsis (:include synopsis:) </string>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-20</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
+ <size>1</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include decl:) !!!!Effects: * Default constructor: initializes an empty boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-22</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
<variant>2</variant>
- <string>:) object. * Copy constructor: initializes a boost::(:link </string>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-23</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Definition: The expression </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object which shares ownership with x of all data added through (:link </string>
+ <string><Tag,T>::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-23</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":), including data that is added at a future time. !!!!Throws: Nothing. </string>
+ <string> mod="m":) evaluates to T.</string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-21</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -7979,513 +8108,557 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-22</id>
+ <id>-25</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>19</size>
+ <size>1</size>
<variant>2</variant>
- <string>(:auto !!:) Boost Exception provides a namespace-scope function (:link </string>
+ <string>(:auto !!:) (:pagelist fmt="index" tags="type":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-26</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>11</size>
+ <variant>2</variant>
+ <string>!!!!Example: this is a possible output from the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) which takes a boost::(:link </string>
+ <string>:) function, as used in ''libs/exception/example/example_io.cpp:'' [@example_io.cpp(70): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *) Dynamic exception type: class boost::exception_detail::clone_impl<class fopen_error> std::exception::what: example_io error [struct boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-44</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). The returned string contains: *the string representation of all data objects added to the boost::(:link </string>
+ <string>:)_ *] = fopen [struct boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-72</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) through (:link </string>
+ <string>:)_ *] = 2, "No such file or directory" [struct boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":); *the output from std::exception::what; *additional platform-specific diagnostic information. The returned string is not presentable as a friendly user message, but because it is generated automatically, it is useful for debugging or logging purposes. Here is an example: [@#include <(:link </string>
+ <string>:)_ *] = tmp1.txt [struct boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-75</id>
+ <id>-73</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <iostream> void f(); //throws unknown types that derive from boost::(:link </string>
+ <string>:)_ *] = rb@] </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-27</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>15</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) Here is how cloning can be enabled in a throw-expression (15.1): [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). void g() { try { f(); } catch( boost::(:link </string>
+ <string>:)> #include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & e ) { std::cerr << (:link </string>
+ <string>:)> #include <stdio.h> #include <errno.h> class file_read_error: public boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(e); } }@] (:include </string>
+ <string>:) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-15</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) </string>
+ <string>:)(file_read_error()) << boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-72</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)(errno); }@] Of course, (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-61</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) may be used with any exception type; there is no requirement that it should derive from boost::(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-36</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:). </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-23</id>
+ <id>-28</id>
</shared_ptr>
</weak_ptr>
<container>
<size>1</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: This function must not be called outside of a catch block. !!!!Returns: A pointer of type E to the current exception object, or null if the current exception object can not be converted to E *. !!!!Throws: Nothing. </string>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>37</size>
+ <size>5</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Returns: A string value that contains varying amount of implementation-specific diagnostic information about the passed object: *If E can be statically converted to boost::(:link </string>
+ <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), the returned value contains the string representations of all (:link </string>
+ <string> instance for transporting a relevant file name in exceptions deriving from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) objects stored in the boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
+ <string>.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-30</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
<variant>2</variant>
- <string>:) through (:link </string>
+ <string>(:auto !!:) (:pagelist tags="macro":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-31</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) (:pagelist tags="hpp" except_tags="noindex":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-32</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":), 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. *Otherwise, if E can be statically converted std::exception: **if e can be dynamically converted to boost::exception, the returned value is the same as if E could be statically converted to boost::(:link </string>
+ <string> instance for transporting a relevant FILE pointer managed by a boost::shared_ptr<FILE> in exceptions deriving from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:); **otherwise the returned value contains the what() string. *Otherwise, the boost::(:link </string>
+ <string>.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-33</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>7</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) template is not available. The string representation of each (:link </string>
+ <string>:), or a type that derives (indirectly) from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object is deduced by a function call that is bound at the time the (:link </string>
+ <string>:). !!!!Postcondition: A copy of v is stored into x. If x already contains data of type (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag,T> template is instantiated. The following overload resolutions are attempted in order: #Unqualified call to to_string(x), where x is of type (:link </string>
+ <string>:)<Tag,T>, that data is overwritten. Basic exception safety guarantee. !!!!Returns: x. (:include throws:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-34</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>13</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: * ErrorInfo must be an instance of the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag,T> (the return value is expected to be of type std::string.) #Unqualified call to to_string(x.(:link </string>
+ <string>:) template. * E must be polymorphic. !!!!Returns: * If dynamic_cast<boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-29</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="m":)()) (the return value is expected to be of type std::string.) #Unqualified call to s << x.(:link </string>
+ <string>:) const *>(&x) is 0, or if x does not store an object of type ErrorInfo, the returned value is null. * Otherwise, the returned pointer points to the stored value (use (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-29</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="m":)(), where s is a std::ostringstream. The first successfully bound function is used at the time (:link </string>
+ <string> mod="/":) to store values in exception objects.) When x is destroyed, any pointers returned by (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is called; if all 3 overload resolutions are unsuccessful, the system is unable to convert the (:link </string>
+ <string>:) become invalid. !!!!Throws: Nothing. !!!!Note: The interface of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object to string, and ''an unspecified stub string value is used without issuing a compile error.'' The </string>
+ <string>:) may be affected by the build (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-60</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> overload of </string>
+ <string>:). </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-35</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>71</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Why doesn't boost::exception derive from std::exception? Despite that (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-14</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> is equivalent to: [@if( p ) try { </string>
+ <string>|virtual inheritance should be used in deriving from base exception types:), many programmers fail to follow this principle when deriving from std::exception. If boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>(p); } catch(...) { return </string>
+ <string>:) derives from std::exception, using the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>(); } else return <unspecified-string-value>;@] !!!!Notes: *The format of the returned string is unspecified. *The returned string is ''not'' user-friendly. *The returned string may include additional platform-specific diagnostic information. (:include </string>
+ <string>:) function with such user-defined types would introduce dangerous ambiguity which would break all catch(std::exception &) statements. Of course, boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-15</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-25</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-26</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) (:pagelist fmt="index" tags="function":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-27</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>9</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This </string>
+ <string>:) should not be used to replace std::exception as a base type in exception type hierarchies. Instead, it should be included as a virtual base, in addition to std::exception (which should also be derived virtually.) !!!Why is boost::exception abstract? To prevent exception-neutral contexts from erroneously erasing the type of the original exception when adding (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> typedef is used by </string>
+ <string>:) to an active exception object: [@catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> if it defaults to returning an </string>
+ <string>:) & e ) { e (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> that refers to an object of type </string>
+ <string>|<<:) foo_info(foo); throw e; //Compile error: boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>, to record in it the std::type_info of the original exception object.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-28</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-29</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Description: Returns a const reference to the copy of the value passed to (:link </string>
+ <string>:) is abstract }@] The correct code is: [@catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)'s constructor stored in the (:link </string>
+ <string>:) & e ) { e (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object. !!!!Throws: Nothing. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-30</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>33</size>
- <variant>2</variant>
- <string>(:auto !!!:) Traditionally, when using exceptions to report failures, the throw site: *creates an exception object of the appropriate type, and *stuffs it with data relevant to the detected error. A higher context in the program contains a catch statement which: *selects failures based on exception types, and *inspects exception objects for data required to deal with the problem. The main issue with this "traditional" approach is that often, the data available at the point of the throw is insufficient for the catch site to handle the failure. Here is an example of a catch statement: [@catch( file_read_error & e ) { std::cerr << e.file_name(); }@] And here is a possible matching throw: [@void read_file( FILE * f ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error(???); ....&#
10; }@] Clearly, the problem is that the handler requires a file name but the read_file function does not have a file name to put in the exception object; all it has is a FILE pointer! In an attempt to deal with this problem, we could modify read_file to accept a file name: [@void read_file( FILE * f, char const * name ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error(name); .... }@] This is not a real solution: it simply shifts the burden of supplying a file name to the immediate caller of the read_file function. ->''In general, the data required to handle a given library-emitted exception depends on the program that links to it. Many contexts between the throw and the catch may have relevant information which must be transported to the exception handler.'' !!!Exception wrapping The idea of exception wrapping is to catch an exce
ption from a lower level function (such as the read_file function above), and throw a new exception object that contains the original exception (and also carries a file name.) This method seems to be particularly popular with C++ programmers with Java background. Exception wrapping leads to the following problems: *To wrap an exception object it must be copied, which may result in slicing. *Wrapping is practically impossible to use in generic contexts. The second point is actually special case of violating the exception neutrality principle. Most contexts in a program can not handle exceptions; such contexts should not interfere with the process of exception handling. !!!The boost::exception solution *Simply derive your exception types from boost::(:link </string>
+ <string>|<<:) foo_info(foo); throw; //Okay, re-throwing the original exception object. }@] !!!What is the space overhead of the boost::exception base class? The space overhead for the boost::exception data members is negligible in the context of exception handling. Throwing objects that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). *Confidently limit the throw site to provide only data that is available naturally. *Use exception-neutral contexts between the throw and the catch to augment exceptions with more relevant data as they bubble up. For example, in the throw statement below we only add the errno code, since this is the only failure-relevant information available in this context: [@struct exception_base: virtual std::exception, virtual boost::(:link </string>
+ <string>:) does not by itself cause dynamic memory allocations. Deriving from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) { }; struct io_error: virtual exception_base { }; struct file_read_error: virtual io_error { }; typedef boost::(:link </string>
+ <string>:) enables any data to be added to exceptions, which usually does allocate memory. However, this memory is reclaimed when the exception has been handled, and since typically user code does not allocate memory during the unrolling of the stack, adding error info to exceptions should not cause memory fragmentation. !!!Should I use boost::throw_exception or BOOST_THROW_EXCEPTION or just throw? The benefit of calling boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_errno_code,int> errno_code; void read_file( FILE * f ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error() (:link </string>
+ <string>:) instead of using throw directly is that it ensures that the emitted exception derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) errno_code(errno); .... }@] In a higher exception-neutral context, we add the file name to ''any'' exception that derives from boost::(:link </string>
+ <string>:) and that it is compatible with boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:): [@typedef boost::(:link </string>
+ <string>:). The (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-64</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_file_name,std::string> file_name; .... try { if( FILE * fp=fopen("foo.txt","rt") ) { shared_ptr<FILE> f(fp,fclose); .... read_file(fp); //throws types deriving from boost::(:link </string>
+ <string>:) macro also results in a call to boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) do_something(); .... } else throw file_open_error() (:link </string>
+ <string>:), but in addition it records in the exception object the __FILE__ and __LINE__ of the throw, as well as the pretty name of the function that throws. This has virtually no overhead, yet enables boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) errno_code(errno); } catch( boost::(:link </string>
+ <string>:) to compose a more useful, if not user-friendly message. Typical use of boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & e ) { e (:link </string>
+ <string>:) is: [@catch( boost::exception & e ) { std::cerr << "OMG!" << boost::diagnostic_information(e); } catch( ... ) { std::cerr << "OMG!!!"; }@] This is a possible message it may display, the first line is only possible if (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-64</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) file_name("foo.txt"); throw; }@] Finally here is how the handler retrieves data from exceptions that derive from boost::(:link </string>
+ <string>:) is used: [@example_io.cpp(83): Throw in function void parse_file(const char *) Dynamic exception type: class file_open_error std::exception::what: example_io error [struct tag_errno_code *] = 2, OS says "No such file or directory" [struct tag_file_name *] = tmp1.xml [struct tag_function *] = fopen [struct tag_open_mode *] = rb@] !!!Why is boost::exception integrated in boost::throw_exception? The boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:): [@catch( io_error & e ) { std::cerr << "I/O Error!\n"; if( std::string const * fn=(:link </string>
+ <string>:) function predates the Boost Exception library and there has been some concern about its current behavior of injecting boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -8494,526 +8667,603 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<file_name>(e) ) std::cerr << "File name: " << *fn << "\n"; if( int const * c=(:link </string>
+ <string>:) as a base of any exception passed to boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<errno_code>(e) ) std::cerr << "OS says: " << strerror(*c) << "\n"; }@] In addition, boost::(:link </string>
+ <string>:). Such concerns are dictated by the typical strict interpretation of a common principle in C and C++, that users only pay for features they actually use. The problem is that users of Boost Exception can't by themselves cause a library to throw types that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) can be used to compose an automatic (if not user-friendly) message that contains all of the (:link </string>
+ <string>:), and without this they can't use any of the Boost Exception facilities. For example, if a user wants to use Boost Serialization in a separate thread, it is desirable to be able to transport exceptions emitted by that library into the main thread where they can be analyzed to generate a user-friendly message. This can be easily achieved using boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) objects added to a boost::(:link </string>
+ <string>:), but this requires that Boost Serialization throws exceptions using boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). This is useful for inclusion in logs and other diagnostic objects. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-34</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-31</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>7</size>
- <variant>2</variant>
- <string>(:auto !!!:) Deriving from boost::(:link </string>
+ <string>:). If Boost Serialization calls boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) effectively decouples the semantics of a failure from the information that is relevant to each individual instance of reporting a failure with a given semantic. In other words: with boost::(:link </string>
+ <string>:) to throw, this behavior happens automatically and transparently. The cost of this integration is: * In terms of space: a pointer and 3 ints are added to the static size of exception objects. * In terms of speed: the pointer is initialized to null at the point of the throw. * In terms of coupling: about 400 self-contained lines of C++ with no external includes. !!!Why use operator<< overload for adding info to exceptions? Before throwing an object of type that derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), what data a given exception object transports depends primarily on the context in which failures are reported (not on its type.) Since exception types need no members, it becomes very natural to throw exceptions that derive from more than one type to indicate multiple appropriate semantics: [@struct exception_base: virtual std::exception, virtual boost::(:link </string>
+ <string>:), it is often desirable to add one or more (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) { }; struct io_error: virtual exception_base { }; struct file_error: virtual io_error { }; struct read_error: virtual io_error { }; struct file_read_error: virtual file_error, virtual read_error { };@] Using this approach, exception types become a simple tagging system for categorizing errors and selecting failures in exception handlers. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-35</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) (:pagelist tags="macro":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-36</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>13</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: * ErrorInfo must be an instance of the (:link </string>
+ <string>:) objects in it. The syntactic sugar provided by (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) template. * E must be polymorphic. !!!!Returns: * If dynamic_cast<boost::(:link </string>
+ <string>:) allows this to be done directly in a throw expression: [@throw error() (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) const *>(&x) is 0, or if x does not store an object of type ErrorInfo, the returned value is null. * Otherwise, the returned pointer points to the stored value (use (:link </string>
+ <string>|<<:) foo_info(foo) (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":) to store values in exception objects.) When x is destroyed, any pointers returned by (:link </string>
+ <string>|<<:) bar_info(bar);@] which saves typing compared to this possible alternative: [@error e; e.add(foo_info(foo)); e.add(bar_info(bar)); throw e;@] and looks better than something like: [@throw error().add(foo_info(foo)).add(bar_info(bar));@] !!!Why is operator<< allowed to throw? This question is referring to the following issue. Consider this throw statement example: [@throw file_open_error() (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) become invalid. !!!!Throws: Nothing. !!!!Note: The interface of (:link </string>
+ <string>|<<:) file_name(fn);@] The intention here is to throw a file_open_error, however if (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) may be affected by the build (:link </string>
+ <string> mod="/":) fails to copy the std::string contained in the file_name </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-40</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). </string>
+ <string> wrapper, a std::bad_alloc could propagate instead. This behavior seems undesirable to some programmers. Bjarne Stroustrup, The C++ Programming Language, 3rd Edition, page 371: ->''"Throwing an exception requires an object to throw. A C++ implementation is required to have enough spare memory to be able to throw bad_alloc in case of memory exhaustion. However, it is possible that throwing some other exception will cause memory exhaustion."'' So, an attempt to throw any exception may already result in propagating std::bad_alloc instead. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>71</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Why doesn't boost::exception derive from std::exception? Despite that (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-16</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>|virtual inheritance should be used in deriving from base exception types:), many programmers fail to follow this principle when deriving from std::exception. If boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:) derives from std::exception, using the (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
+ <size>13</size>
<variant>2</variant>
- <string>:) function with such user-defined types would introduce dangerous ambiguity which would break all catch(std::exception &) statements. Of course, boost::(:link </string>
+ <string>(:auto !!!:) (:include synopsis:) Class boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) should not be used to replace std::exception as a base type in exception type hierarchies. Instead, it should be included as a virtual base, in addition to std::exception (which should also be derived virtually.) !!!Why is boost::exception abstract? To prevent exception-neutral contexts from erroneously erasing the type of the original exception when adding (:link </string>
+ <string>:) is designed to be used as a universal base for user-defined exception types. An object of any type deriving from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) to an active exception object: [@catch( boost::(:link </string>
+ <string>:) can store data of arbitrary types, using the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & e ) { e (:link </string>
+ <string>:) wrapper and (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) foo_info(foo); throw e; //Compile error: boost::(:link </string>
+ <string> mod="/":). To retrieve data from a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is abstract }@] The correct code is: [@catch( boost::(:link </string>
+ <string>:) object, use the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & e ) { e (:link </string>
+ <string>:) function template. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-37</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-38</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-39</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>3</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Effects: Stores a copy of v in the </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) foo_info(foo); throw; //Okay, re-throwing the original exception object. }@] !!!What is the space overhead of the boost::exception base class? The space overhead for the boost::exception data members is negligible in the context of exception handling. Throwing objects that derive from boost::(:link </string>
+ <string> object. (:include throws:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-40</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>19</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) Sometimes the throw site does not have all the information that is needed at the catch site to make sense of what went wrong. Let's say we have an exception type file_read_error, which takes a file name in its constructor. Consider the following function: [@void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error(????); }@] How can the file_read function pass a file name to the exception type constructor? All it has is a FILE handle. Using boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) does not by itself cause dynamic memory allocations. Deriving from boost::(:link </string>
+ <string>:) allows us to free the file_read function from the burden of storing the file name in exceptions it throws: [@(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) enables any data to be added to exceptions, which usually does allocate memory. However, this memory is reclaimed when the exception has been handled, and since typically user code does not allocate memory during the unrolling of the stack, adding error info to exceptions should not cause memory fragmentation. !!!Should I use boost::throw_exception or BOOST_THROW_EXCEPTION or just throw? The benefit of calling boost::(:link </string>
+ <string>:)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <errno.h> class file_read_error: public boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) instead of using throw directly is that it ensures that the emitted exception derives from boost::(:link </string>
+ <string>:) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error() << boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-72</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and that it is compatible with boost::(:link </string>
+ <string>:)(errno); }@] If file_read detects a failure, it throws an exception which contains the information that is available at the time, namely the errno. Other relevant information, such as the file name, can be added in a context higher up the call stack, where it is known naturally: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). The (:link </string>
+ <string>:)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode ); void file_read( FILE * f, void * buffer, size_t size ); void parse_file( char const * file_name ) { boost::shared_ptr<FILE> f = file_open(file_name,"rb"); assert(f); try { char buf[1024]; file_read( f.get(), buf, sizeof(buf) ); } catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) macro also results in a call to boost::(:link </string>
+ <string>:) & e ) { e << boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), but in addition it records in the exception object the __FILE__ and __LINE__ of the throw, as well as the pretty name of the function that throws. This has virtually no overhead, yet enables boost::(:link </string>
+ <string>:)(file_name); throw; } }@] The above function is (almost) exception-neutral -- if an exception is emitted by any function call within the try block, parse_file does not need to do any real work, but it intercepts any boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) to compose a more useful, if not user-friendly message. Typical use of boost::(:link </string>
+ <string>:) object, stores the file name, and re-throws using a throw-expression with no operand (15.1.6). The rationale for catching any boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is: [@catch( boost::exception & e ) { std::cerr << "OMG!" << boost::diagnostic_information(e); } catch( ... ) { std::cerr << "OMG!!!"; }@] This is a possible message it may display, the first line is only possible if (:link </string>
+ <string>:) object is that the file name is relevant to any failure that occurs in parse_file, ''even if the failure is unrelated to file I/O''. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-41</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is used: [@example_io.cpp(83): Throw in function void parse_file(const char *) Dynamic exception type: class file_open_error std::exception::what: example_io error [struct tag_errno_code *] = 2, OS says "No such file or directory" [struct tag_file_name *] = tmp1.xml [struct tag_function *] = fopen [struct tag_open_mode *] = rb@] !!!Why is boost::exception integrated in boost::throw_exception? The boost::(:link </string>
+ <string> instance for transporting a relevant text file line number, for example in parse error exceptions deriving from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function predates the Boost Exception library and there has been some concern about its current behavior of injecting boost::(:link </string>
+ <string>.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-42</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>11</size>
+ <variant>2</variant>
+ <string>(:auto !!:) Boost Exception supports transporting of exception objects between threads through cloning. This system is similar to (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:), but because Boost Exception can not rely on language support, the use of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) as a base of any exception passed to boost::(:link </string>
+ <string>:) at the time of the throw is required in order to use cloning. !!!!Note: All exceptions emitted by the familiar function boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). Such concerns are dictated by the typical strict interpretation of a common principle in C and C++, that users only pay for features they actually use. The problem is that users of Boost Exception can't by themselves cause a library to throw types that derive from boost::(:link </string>
+ <string>:) are guaranteed to derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), and without this they can't use any of the Boost Exception facilities. For example, if a user wants to use Boost Serialization in a separate thread, it is desirable to be able to transport exceptions emitted by that library into the main thread where they can be analyzed to generate a user-friendly message. This can be easily achieved using boost::(:link </string>
+ <string>:) and to support cloning. (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-27</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), but this requires that Boost Serialization throws exceptions using boost::(:link </string>
+ <string>:) (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-71</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). If Boost Serialization calls boost::(:link </string>
+ <string>:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-43</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: This function must not be called outside of a catch block. !!!!Returns: A pointer of type E to the current exception object, or null if the current exception object can not be converted to E *. !!!!Throws: Nothing. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-44</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) to throw, this behavior happens automatically and transparently. The cost of this integration is: * In terms of space: a pointer and 3 ints are added to the static size of exception objects. * In terms of speed: the pointer is initialized to null at the point of the throw. * In terms of coupling: about 400 self-contained lines of C++ with no external includes. !!!Why use operator<< overload for adding info to exceptions? Before throwing an object of type that derives from boost::(:link </string>
+ <string> instance for transporting the name of a relevant API function (which does not use exceptions to report errors) in exceptions deriving from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), it is often desirable to add one or more (:link </string>
+ <string>.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-45</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-46</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>9</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) This </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) objects in it. The syntactic sugar provided by (:link </string>
+ <string> typedef is used by </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) allows this to be done directly in a throw expression: [@throw error() (:link </string>
+ <string> if it defaults to returning an </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) foo_info(foo) (:link </string>
+ <string> that refers to an object of type </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) bar_info(bar);@] which saves typing compared to this possible alternative: [@error e; e.add(foo_info(foo)); e.add(bar_info(bar)); throw e;@] and looks better than something like: [@throw error().add(foo_info(foo)).add(bar_info(bar));@] !!!Why is operator<< allowed to throw? This question is referring to the following issue. Consider this throw statement example: [@throw file_open_error() (:link </string>
+ <string>, to record in it the std::type_info of the original exception object.</string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-47</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>7</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include decl:) !!!!Effects: * Default constructor: initializes an empty boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|<<:) file_name(fn);@] The intention here is to throw a file_open_error, however if (:link </string>
+ <string>:) object. * Copy constructor: initializes a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":) fails to copy the std::string contained in the file_name </string>
+ <string>:) object which shares ownership with x of all data added through (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> wrapper, a std::bad_alloc could propagate instead. This behavior seems undesirable to some programmers. Bjarne Stroustrup, The C++ Programming Language, 3rd Edition, page 371: ->''"Throwing an exception requires an object to throw. A C++ implementation is required to have enough spare memory to be able to throw bad_alloc in case of memory exhaustion. However, it is possible that throwing some other exception will cause memory exhaustion."'' So, an attempt to throw any exception may already result in propagating std::bad_alloc instead. </string>
+ <string> mod="/":), including data that is added at a future time. !!!!Throws: Nothing. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-48</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Precondition: ep shall not be null. !!!!Throws: The exception to which ep refers. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-49</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
+ <size>5</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This macro takes an exception object, records BOOST_CURRENT_FUNCTION, __FILE__ and __LINE__ in it, and forwards it to </string>
+ <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>. To recover this information at the catch site, use </string>
+ <string> instance for transporting strings returned by std::type_info::name in exceptions deriving from boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -9022,828 +9272,750 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>; the information is also included in the message returned by </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-24</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>. </string>
+ <string> objects.</string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>(:auto !!:) This header has been deprecated. Please #include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-75</id>
- </shared_ptr>
- </weak_ptr>
+ <size>1</size>
<variant>2</variant>
- <string>> instead.</string>
+ <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-51</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>7</size>
+ <size>11</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link </string>
+ <string>(:auto !!:) All exception types that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), or a type that derives (indirectly) from boost::(:link </string>
+ <string>:) can be used as type-safe containers of arbitrary data objects, while complying with the no-throw requirements (15.5.1) of the ANSI C++ standard for exception types. When exceptions derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). !!!!Postcondition: A copy of v is stored into x. If x already contains data of type (:link </string>
+ <string>:), arbitrary data can be added to exception objects: *At the point of the throw; *At a later time as exceptions bubble up the call stack. (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-54</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<Tag,T>, that data is overwritten. Basic exception safety guarantee. !!!!Returns: x. (:include throws:) </string>
+ <string>:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-40</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-53</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-40</id>
+ <id>-52</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>19</size>
- <variant>2</variant>
- <string>(:auto !!:) Boost Exception responds to the following configuration macros: '''BOOST_NO_RTTI'''\\ '''BOOST_NO_TYPEID''' The first macro prevents Boost Exception from using dynamic_cast and dynamic typeid. If the second macro is also defined, Boost Exception does not use static typeid either. There are no observable degrading effects on the library functionality, except for the following: ->By default, the (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-36</id>
- </shared_ptr>
- </weak_ptr>
+ <size>69</size>
<variant>2</variant>
- <string>:) function template can be called with any exception type. If BOOST_NO_RTTI is defined, (:link </string>
+ <string>!!Introduction The purpose of Boost Exception is to ease the design of exception class hierarchies and to help write exception handling and error reporting code. It supports transporting of arbitrary data to the catch site, which is otherwise tricky due to the no-throw requirements (15.5.1) for exception types. Data can be added to any exception object, either directly in the throw-expression (15.1), or at a later time as the exception object propagates up the call stack. The ability to add data to exception objects after they have been passed to throw is important, because often some of the information needed to handle an exception is unavailable in the context where the failure is detected. Boost Exception also supports (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:)-style (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-42</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) can be used only with objects of type boost::(:link </string>
+ <string>|copying:) of exception objects, implemented non-intrusively and automatically by the boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). !!!!Note: The library needs RTTI functionality. Disabling the language RTTI support enables an internal RTTI system, which may have more or less overhead depending on the platform. '''BOOST_EXCEPTION_DISABLE''' By default, (:link </string>
+ <string>:) function. !!Contents #(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-57</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and (:link </string>
+ <string>:) #Tutorial ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-51</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) are integrated directly in the (:link </string>
+ <string> mod="w":) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-55</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function. Defining BOOST_EXCEPTION_DISABLE disables this integration. Note that on some non-conformant compilers, for example MSVC 7.0 and older, as well as BCC, BOOST_EXCEPTION_DISABLE is implicitly defined in (:link </string>
+ <string> mod="w":) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-42</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). '''BOOST_NO_EXCEPTIONS''' This macro disables exception handling in Boost, forwarding all exceptions to a user-defined non-template version of boost::</string>
+ <string> mod="w":) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-58</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>. However, unless BOOST_EXCEPTION_DISABLE is also defined, users can still examine the exception object for any data added at the point of the throw, or use boost::</string>
+ <string> mod="w":) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-14</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> (of course under BOOST_NO_EXCEPTIONS, the user-defined boost::throw_exception is not allowed to return to the caller.) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-41</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-42</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
+ <string> mod="w":) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-12</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> instance for transporting a relevant text file line number, for example in parse error exceptions deriving from boost::</string>
+ <string> mod="w":) #Documentation ##Class (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-43</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is used by the (:link </string>
+ <string>:) ##Throwing Exceptions ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-64</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) support in Boost Exception. Please see (:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-44</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: T must be a class with an accessible no-throw copy constructor as per (15.5.1). !!!!Returns: * If T derives from boost::(:link </string>
+ <string>:) ##Transporting of Arbitrary Data to the Catch Site ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), the returned object is of type T and is a copy of x. * Otherwise, the returned object is of an unspecified type that derives publicly from both T and boost::(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). The T sub-object is initialized from x by the T copy constructor. !!!!Throws: Nothing. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-45</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>37</size>
- <variant>2</variant>
- <string>(:auto !!!:) When you catch an exception, you can call (:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) to get an (:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object: [@#include <(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <boost/thread.hpp> #include <boost/bind.hpp> void do_work(); //throws cloning-enabled boost::(:link </string>
+ <string>:) ##(:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:) Transporting of Exceptions between Threads ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)s void worker_thread( boost::(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) & error ) { try { do_work(); error = boost::(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(); } catch( ... ) { error = boost::(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-18</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(); } }@] In the above example, note that (:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) captures the original type of the exception object. The exception can be thrown again using the (:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function: [@// ...continued void work() { boost::(:link </string>
+ <string>:) ##Diagnostic Information ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) error; boost::(:link http://www.boost.org/doc/html/boost/thread.html|thread:) t( boost::(:link http://www.boost.org/libs/bind/bind.html|bind:)(worker_thread,boost::(:link http://www.boost.org/doc/html/ref.html|ref:)(error)) ); t.(:link http://www.boost.org/doc/html/boost/thread.html|join:)(); if( error ) boost::(:link </string>
+ <string>:) ###(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-19</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(error); }@] Note that (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-43</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) could fail to copy the original exception object in the following cases: * if there is not enough memory, in which case the returned (:link </string>
+ <string>:) #API ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-7</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) points to an instance of std::bad_alloc, or * if (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-31</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) was not used in the throw-expression passed to the original throw statement and the current implementation does not have the necessary compiler-specific support to copy the exception automatically, in which case the returned (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-25</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) points to an instance of (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-65</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). Regardless, the use of (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-30</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and (:link </string>
+ <string>:) ##(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-60</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) in the above examples is well-formed. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-46</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-47</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link </string>
+ <string> mod="w":) #(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), or a type that derives (indirectly) from boost::(:link </string>
+ <string> mod="w":) #(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-15</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). !!!!Effects: Equivalent to x << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<0>() << ... << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<N>(). !!!!Returns: x. (:include throws:) </string>
+ <string> mod="w":) !!!Acknowledgements Thanks to Peter Dimov for his continuing help. Also thanks to Tobias Schwinger, Tom Brinkman, Pavel Vozenilek and everyone who participated in the review process. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-53</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>21</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: * T must be a class with an accessible no-throw copy constructor. * If T has any virtual base types, those types must have an accessible default constructor. !!!!Returns: An object of ''unspecified'' type which derives publicly from T. That is, the returned object can be intercepted by a catch(T &). !!!!Description: This function is designed to be used directly in a throw-expression to enable the (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
+ <size>19</size>
<variant>2</variant>
- <string>:) support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link </string>
+ <string>(:auto !!!:) The code snippet below demonstrates how boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) can be used to bundle the name of the function that failed, together with the reported errno so that they can be added to exception objects more conveniently together: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-11</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(my_exception());@] Unless (:link </string>
+ <string>:)> #include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-17</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link </string>
+ <string>:)> #include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) may return an (:link </string>
+ <string>:)> #include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) which refers to an instance of (:link </string>
+ <string>:)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> #include <errno.h> typedef boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)<boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-44</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). See (:link </string>
+ <string>:),boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-72</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) for details. !!!!Note: Instead of using the throw keyword directly, it is preferable to call boost::(:link </string>
+ <string>:)> clib_failure; class file_open_error: public boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). This is guaranteed to throw an exception that derives from boost::(:link </string>
+ <string>:) { }; boost::shared_ptr<FILE> file_open( char const * name, char const * mode ) { if( FILE * f=fopen(name,mode) ) return boost::shared_ptr<FILE>(f,fclose); else throw file_open_error() << boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and supports the (:link </string>
+ <string>:)(name) << clib_failure("fopen",errno); }@] Note that the members of a boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) are stored separately in exception objects; they can only be retrieved individually, using (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) functionality. </string>
+ <string>:). </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-49</id>
+ <id>-54</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>17</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include decl:) !!!!Effects: Frees all resources associated with a boost::(:link </string>
+ <string>(:auto !!!:) The following example demonstrates how errno can be stored in exception objects using Boost Exception: [@#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object. !!!!Throws: Nothing. </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-50</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>11</size>
+ <string>> #include <iostream> typedef boost::</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-8</id>
+ </shared_ptr>
+ </weak_ptr>
<variant>2</variant>
- <string>(:auto !!:) All exception types that derive from boost::(:link </string>
+ <string><struct tag_my_info,int> my_info; //(1) class my_error: public boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) can be used as type-safe containers of arbitrary data objects, while complying with the no-throw requirements (15.5.1) of the ANSI C++ standard for exception types. When exceptions derive from boost::(:link </string>
+ <string>, public std::exception { }; //(2) void f() { throw my_error() << my_info(42); //(3) }@] First, we instantiate the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), arbitrary data can be added to exception objects: *At the point of the throw; *At a later time as exceptions bubble up the call stack. (:include </string>
+ <string>:) template using a unique identifier -- tag_my_info, and the type of the info it identifies -- int. This provides compile-time type safety for the various values stored in exception objects. Second, we define class my_error, which derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-58</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) (:include </string>
+ <string>:). Finally, (3) illustrates how the typedef from (1) can be used with (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-9</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) (:include </string>
+ <string>|operator<<:) to store values in exception objects at the point of the throw. The stored my_info value can be recovered at a later time like this: [@// ...continued void g() { try { f(); } catch( my_error & x ) { if( int const * mi=boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-57</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) </string>
+ <string><my_info>(x) ) std::cerr << "My info: " << *mi; } }@] The (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-34</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) function template is instantiated with the typedef from (1), and is passed an exception object of a polymorphic type. If the exception object contains the requested value, err will point to it; otherwise a null pointer is returned. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-51</id>
+ <id>-55</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>69</size>
+ <size>27</size>
<variant>2</variant>
- <string>!!Introduction The purpose of Boost Exception is to ease the design of exception class hierarchies and to help write exception handling and error reporting code. It supports transporting of arbitrary data to the catch site, which is otherwise tricky due to the no-throw requirements (15.5.1) for exception types. Data can be added to any exception object, either directly in the throw-expression (15.1), or at a later time as the exception object propagates up the call stack. The ability to add data to exception objects after they have been passed to throw is important, because often some of the information needed to handle an exception is unavailable in the context where the failure is detected. Boost Exception also supports (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:)-style (:link </string>
+ <string>(:auto !!:) Some exception hierarchies can not be modified to make boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-53</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|copying:) of exception objects, implemented non-intrusively and automatically by the boost::(:link </string>
+ <string>:) a base type. In this case, the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function. !!Contents #(:link </string>
+ <string>:) function template can be used to make exception objects derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-30</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) #Tutorial ##(:link </string>
+ <string>:) anyway. Here is an example: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-50</id>
+ <id>-75</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) ##(:link </string>
+ <string>:)> #include <stdexcept> typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) ##(:link </string>
+ <string>:)<struct tag_std_range_min,size_t> std_range_min; typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-53</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) ##(:link </string>
+ <string>:)<struct tag_std_range_max,size_t> std_range_max; typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) ##(:link </string>
+ <string>:)<struct tag_std_range_index,size_t> std_range_index; template <class T> class my_container { public: size_t size() const; T const & operator[]( size_t i ) const { if( i > size() ) throw boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-16</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) ##(:link </string>
+ <string>:)(std::range_error("Index out of range")) << std_range_min(0) << std_range_max(size()) << std_range_index(i); //.... } }; @] The call to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-22</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) #Documentation ##Class (:link </string>
+ <string>:)<T> gets us an object of ''unspecified type'' which is guaranteed to derive from both boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##Throwing Exceptions ###(:link </string>
+ <string>:) and T. This makes it possible to use (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string> mod="/":) to store additional information in the exception object. The exception can be intercepted as T &, so existing exception handling will not break. It can also be intercepted as boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##Transporting of Arbitrary Data to the Catch Site ###(:link </string>
+ <string>:) &, so that (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-51</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>|more information can be added to the exception at a later time:). </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-56</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:), or a type that derives (indirectly) from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-47</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:). !!!!Effects: Equivalent to x << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<0>() << ... << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<N>(). !!!!Returns: x. (:include throws:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-57</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>33</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) Traditionally, when using exceptions to report failures, the throw site: *creates an exception object of the appropriate type, and *stuffs it with data relevant to the detected error. A higher context in the program contains a catch statement which: *selects failures based on exception types, and *inspects exception objects for data required to deal with the problem. The main issue with this "traditional" approach is that often, the data available at the point of the throw is insufficient for the catch site to handle the failure. Here is an example of a catch statement: [@catch( file_read_error & e ) { std::cerr << e.file_name(); }@] And here is a possible matching throw: [@void read_file( FILE * f ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error(???); ....&#
10; }@] Clearly, the problem is that the handler requires a file name but the read_file function does not have a file name to put in the exception object; all it has is a FILE pointer! In an attempt to deal with this problem, we could modify read_file to accept a file name: [@void read_file( FILE * f, char const * name ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error(name); .... }@] This is not a real solution: it simply shifts the burden of supplying a file name to the immediate caller of the read_file function. ->''In general, the data required to handle a given library-emitted exception depends on the program that links to it. Many contexts between the throw and the catch may have relevant information which must be transported to the exception handler.'' !!!Exception wrapping The idea of exception wrapping is to catch an exce
ption from a lower level function (such as the read_file function above), and throw a new exception object that contains the original exception (and also carries a file name.) This method seems to be particularly popular with C++ programmers with Java background. Exception wrapping leads to the following problems: *To wrap an exception object it must be copied, which may result in slicing. *Wrapping is practically impossible to use in generic contexts. The second point is actually special case of violating the exception neutrality principle. Most contexts in a program can not handle exceptions; such contexts should not interfere with the process of exception handling. !!!The boost::exception solution *Simply derive your exception types from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -9852,176 +10024,189 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:). *Confidently limit the throw site to provide only data that is available naturally. *Use exception-neutral contexts between the throw and the catch to augment exceptions with more relevant data as they bubble up. For example, in the throw statement below we only add the errno code, since this is the only failure-relevant information available in this context: [@struct exception_base: virtual std::exception, virtual boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:) Transporting of Exceptions between Threads ###(:link </string>
+ <string>:) { }; struct io_error: virtual exception_base { }; struct file_read_error: virtual io_error { }; typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:)<struct tag_errno_code,int> errno_code; void read_file( FILE * f ) { .... size_t nr=fread(buf,1,count,f); if( ferror(f) ) throw file_read_error() (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>|<<:) errno_code(errno); .... }@] In a higher exception-neutral context, we add the file name to ''any'' exception that derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:): [@typedef boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-61</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:)<struct tag_file_name,std::string> file_name; .... try { if( FILE * fp=fopen("foo.txt","rt") ) { shared_ptr<FILE> f(fp,fclose); .... read_file(fp); //throws types deriving from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:) do_something(); .... } else throw file_open_error() (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##Diagnostic Information ###(:link </string>
+ <string>|<<:) errno_code(errno); } catch( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ###(:link </string>
+ <string>:) & e ) { e (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-18</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>|<<:) file_name("foo.txt"); throw; }@] Finally here is how the handler retrieves data from exceptions that derive from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-23</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) #API ##(:link </string>
+ <string>:): [@catch( io_error & e ) { std::cerr << "I/O Error!\n"; if( std::string const * fn=(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-6</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>:)<file_name>(e) ) std::cerr << "File name: " << *fn << "\n"; if( int const * c=(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-64</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>:)<errno_code>(e) ) std::cerr << "OS says: " << strerror(*c) << "\n"; }@] In addition, boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-14</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>:) can be used to compose an automatic (if not user-friendly) message that contains all of the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-26</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>:) objects added to a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-35</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) ##(:link </string>
+ <string>:). This is useful for inclusion in logs and other diagnostic objects. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-58</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>7</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) Deriving from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-40</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) #(:link </string>
+ <string>:) effectively decouples the semantics of a failure from the information that is relevant to each individual instance of reporting a failure with a given semantic. In other words: with boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) #(:link </string>
+ <string>:), what data a given exception object transports depends primarily on the context in which failures are reported (not on its type.) Since exception types need no members, it becomes very natural to throw exceptions that derive from more than one type to indicate multiple appropriate semantics: [@struct exception_base: virtual std::exception, virtual boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-13</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="w":) !!!Acknowledgements Thanks to Peter Dimov for his continuing help. Also thanks to Tobias Schwinger, Tom Brinkman, Pavel Vozenilek and everyone who participated in the review process. </string>
+ <string>:) { }; struct io_error: virtual exception_base { }; struct file_error: virtual io_error { }; struct read_error: virtual io_error { }; struct file_read_error: virtual file_error, virtual read_error { };@] Using this approach, exception types become a simple tagging system for categorizing errors and selecting failures in exception handlers. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -10034,258 +10219,210 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-53</id>
+ <id>-60</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>11</size>
+ <size>19</size>
<variant>2</variant>
- <string>(:auto !!:) Boost Exception supports transporting of exception objects between threads through cloning. This system is similar to (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:), but because Boost Exception can not rely on language support, the use of (:link </string>
+ <string>(:auto !!:) Boost Exception responds to the following configuration macros: '''BOOST_NO_RTTI'''\\ '''BOOST_NO_TYPEID''' The first macro prevents Boost Exception from using dynamic_cast and dynamic typeid. If the second macro is also defined, Boost Exception does not use static typeid either. There are no observable degrading effects on the library functionality, except for the following: ->By default, the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) at the time of the throw is required in order to use cloning. !!!!Note: All exceptions emitted by the familiar function boost::(:link </string>
+ <string>:) function template can be called with any exception type. If BOOST_NO_RTTI is defined, (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) are guaranteed to derive from boost::(:link </string>
+ <string>:) can be used only with objects of type boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and to support cloning. (:include </string>
+ <string>:). !!!!Note: The library needs RTTI functionality. Disabling the language RTTI support enables an internal RTTI system, which may have more or less overhead depending on the platform. '''BOOST_EXCEPTION_DISABLE''' By default, (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-69</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) (:include </string>
+ <string>:) and (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-45</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-54</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-55</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
+ <string>:) are integrated directly in the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> instance for transporting strings returned by std::type_info::name in exceptions deriving from boost::</string>
+ <string>:) function. Defining BOOST_EXCEPTION_DISABLE disables this integration. Note that on some non-conformant compilers, for example MSVC 7.0 and older, as well as BCC, BOOST_EXCEPTION_DISABLE is implicitly defined in (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-22</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> objects.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-57</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>13</size>
- <variant>2</variant>
- <string>(:auto !!!:) The code snippet below demonstrates how boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) can be used to bundle the name of the function that failed, together with the reported errno so that they can be added to exception objects more conveniently together: [@#include <(:link </string>
+ <string>:). '''BOOST_NO_EXCEPTIONS''' This macro disables exception handling in Boost, forwarding all exceptions to a user-defined non-template version of boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> #include <errno.h> typedef boost::(:link </string>
+ <string>. However, unless BOOST_EXCEPTION_DISABLE is also defined, users can still examine the exception object for any data added at the point of the throw, or use boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_file_name,std::string> file_name_info; typedef boost::(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-17</id>
- </shared_ptr>
- </weak_ptr>
+ <string> (of course under BOOST_NO_EXCEPTIONS, the user-defined boost::throw_exception is not allowed to return to the caller.) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-61</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>21</size>
<variant>2</variant>
- <string>:)<struct tag_function,char const *> function_info; typedef boost::(:link </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: * T must be a class with an accessible no-throw copy constructor. * If T has any virtual base types, those types must have an accessible default constructor. !!!!Returns: An object of ''unspecified'' type which derives publicly from T. That is, the returned object can be intercepted by a catch(T &). !!!!Description: This function is designed to be used directly in a throw-expression to enable the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_errno,int> errno_info; typedef boost::tuple<function_info,errno_info> clib_failure; class file_open_error: public boost::(:link </string>
+ <string>:) support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) { }; boost::shared_ptr<FILE> file_open( char const * name, char const * mode ) { if( FILE * f=fopen(name,mode) ) return boost::shared_ptr<FILE>(f,fclose); else throw file_open_error() << file_name_info(name) << clib_failure("fopen",errno); }@] Note that the members of a boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) are stored separately in exception objects; they can only be retrieved individually, using (:link </string>
+ <string>:)(my_exception());@] Unless (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-58</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>17</size>
- <variant>2</variant>
- <string>(:auto !!!:) The following example demonstrates how errno can be stored in exception objects using Boost Exception: [@#include <(:link </string>
+ <string>:) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <errno.h> #include <iostream> typedef boost::(:link </string>
+ <string>:) may return an (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_errno,int> errno_info; //(1) class my_error: public boost::(:link </string>
+ <string>:) which refers to an instance of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:), public std::exception { }; //(2) void f() { throw my_error() << errno_info(errno); //(3) } @] First, we instantiate the (:link </string>
+ <string>:). See (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) template using a unique identifier -- tag_errno, and the type of the info it identifies -- int. This provides compile-time type safety for the various values stored in exception objects. Second, we define class my_error, which derives from boost::(:link </string>
+ <string>:) for details. !!!!Note: Instead of using the throw keyword directly, it is preferable to call boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). Finally, (3) illustrates how the typedef from (1) can be used with (:link </string>
+ <string>:). This is guaranteed to throw an exception that derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|operator<<:) to store values in exception objects at the point of the throw. The stored errno value can be recovered at a later time like this: [@// ...continued void g() { try { f(); } catch( my_error & x ) { if( int const * err=boost::(:link </string>
+ <string>:) and supports the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<errno_info>(x) ) std::cerr << "Error code: " << *err; } }@] The (:link </string>
+ <string>:) functionality. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-62</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>3</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include decl:) !!!!Effects: Frees all resources associated with a boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -10294,135 +10431,160 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function template is instantiated with the typedef from (1), and is passed an exception object of a polymorphic type. If the exception object contains the requested value, err will point to it; otherwise a null pointer is returned. </string>
+ <string>:) object. !!!!Throws: Nothing. </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>25</size>
+ <size>5</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) The (:link </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: T must be a class with an accessible no-throw copy constructor as per (15.5.1). !!!!Returns: * If T derives from boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; (:link </string>
+ <string>:), the returned object is of type T and is a copy of x. * Otherwise, the returned object is of an unspecified type that derives publicly from both T and boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)'s operations do not throw. The referenced object remains valid at least as long as there is an (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
+ <string>:). The T sub-object is initialized from x by the T copy constructor. !!!!Throws: Nothing. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-64</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>7</size>
<variant>2</variant>
- <string>:) object that refers to it. Two instances of (:link </string>
+ <string>(:auto !!!:) (:include synopsis:) This macro takes an exception object, records BOOST_CURRENT_FUNCTION, __FILE__ and __LINE__ in it, and forwards it to </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) are equivalent and compare equal if and only if they refer to the same exception. The default constructor of (:link </string>
+ <string>. To recover this information at the catch site, use </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) produces the null value of the type. The null value is equivalent only to itself. !!!!Thread safety * It is legal for multiple threads to hold (:link </string>
+ <string>; the information is also included in the message returned by </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) references to the same exception object. * It is illegal for multiple threads to modify the same (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-59</id>
- </shared_ptr>
- </weak_ptr>
+ <string>. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-65</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
<variant>2</variant>
- <string>:) object concurrently. * While calling (:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-7</id>
- </shared_ptr>
- </weak_ptr>
+ <string>(:auto !!:) (:pagelist fmt="index" tags="function":) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-66</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
<variant>2</variant>
- <string>:) makes a copy of the current exception object, it is still possible for the two copies to share internal state. Therefore, in general it is not safe to call (:link </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Description: Returns a const reference to the copy of the value passed to (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-10</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) concurrently to throw the same exception object into multiple threads. !!!!Nesting of exceptions: An (:link </string>
+ <string>:)'s constructor stored in the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-59</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) can be added as (:link </string>
+ <string>:) object. !!!!Throws: Nothing. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-67</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) (:include synopsis:) This type is used by the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) to any boost::(:link </string>
+ <string>:) support in Boost Exception. Please see (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). This is a convenient way to nest exceptions. There is no limit on the depth of the nesting, however cyclic references result in undefined behavior. </string>
+ <string>:). </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-60</id>
+ <id>-68</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -10435,462 +10597,381 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-61</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
+ <size>17</size>
<variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Effects: As if [@try { throw </string>
+ <string>(:auto !!!:) (:include synopsis:) !!!!Requirements: E must derive publicly from std::exception. !!!!Effects: * If BOOST_NO_EXCEPTIONS is not defined, boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>(e); } catch(...) { return (:link </string>
+ <string>:)(e) is equivalent to throw boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(); }@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>13</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) Class boost::(:link </string>
+ <string>:)(boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-63</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) is designed to be used as a universal base for user-defined exception types. An object of any type deriving from boost::(:link </string>
+ <string>:)(e)), unless BOOST_EXCEPTION_DISABLE is defined, in which case boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) can store data of arbitrary types, using the (:link </string>
+ <string>:)(e) is equivalent to throw e; * If BOOST_NO_EXCEPTIONS is defined, the function is left undefined, and the user is expected to supply an appropriate definition. Callers of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) wrapper and (:link </string>
+ <string>:) are allowed to assume that the function never returns; therefore, if the user-defined (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":). To retrieve data from a boost::(:link </string>
+ <string>:) returns, the behavior is undefined. !!!!Note: Under BOOST_NO_EXCEPTIONS, unless BOOST_EXCEPTION_DISABLE is also defined, users can examine the passed exception object using boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) object, use the (:link </string>
+ <string>, or format an automatic diagnostic message using boost::</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-10</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function template. </string>
+ <string>.</string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-63</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
+ <size>25</size>
<variant>2</variant>
- <string>(:auto !!!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-64</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
+ <string>(:auto !!!:) (:include synopsis:) The (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
<variant>2</variant>
- <string>(:auto !!:) (:pagelist tags="hpp" except_tags="noindex":) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-32</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>27</size>
+ <string>:) type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-70</id>
+ </shared_ptr>
+ </weak_ptr>
<variant>2</variant>
- <string>(:auto !!:) Some exception hierarchies can not be modified to make boost::(:link </string>
+ <string>:)'s operations do not throw. The referenced object remains valid at least as long as there is an (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) a base type. In this case, the (:link </string>
+ <string>:) object that refers to it. Two instances of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) function template can be used to make exception objects derive from boost::(:link </string>
+ <string>:) are equivalent and compare equal if and only if they refer to the same exception. The default constructor of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) anyway. Here is an example: [@#include <(:link </string>
+ <string>:) produces the null value of the type. The null value is equivalent only to itself. !!!!Thread safety * It is legal for multiple threads to hold (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-75</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <stdexcept> typedef boost::(:link </string>
+ <string>:) references to the same exception object. * It is illegal for multiple threads to modify the same (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_std_range_min,size_t> std_range_min; typedef boost::(:link </string>
+ <string>:) object concurrently. * While calling (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) makes a copy of the current exception object, it is still possible for the two copies to share internal state. Therefore, in general it is not safe to call (:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-48</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:) concurrently to throw the same exception object into multiple threads. !!!!Nesting of exceptions: An (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_std_range_max,size_t> std_range_max; typedef boost::(:link </string>
+ <string>:) can be added as (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<struct tag_std_range_index,size_t> std_range_index; template <class T> class my_container { public: size_t size() const; T const & operator[]( size_t i ) const { if( i > size() ) throw boost::(:link </string>
+ <string>:) to any boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(std::range_error("Index out of range")) << std_range_min(0) << std_range_max(size()) << std_range_index(i); //.... } }; @] The call to (:link </string>
+ <string>:). This is a convenient way to nest exceptions. There is no limit on the depth of the nesting, however cyclic references result in undefined behavior. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-71</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>37</size>
+ <variant>2</variant>
+ <string>(:auto !!!:) When you catch an exception, you can call (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)<T> gets us an object of ''unspecified type'' which is guaranteed to derive from both boost::(:link </string>
+ <string>:) to get an (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) and T. This makes it possible to use (:link </string>
+ <string>:) object: [@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="/":) to store additional information in the exception object. The exception can be intercepted as T &, so existing exception handling will not break. It can also be intercepted as boost::(:link </string>
+ <string>:)> #include <boost/thread.hpp> #include <boost/bind.hpp> void do_work(); //throws cloning-enabled boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) &, so that (:link </string>
+ <string>:)s void worker_thread( boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-50</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>|more information can be added to the exception at a later time:). </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-65</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
+ <string>:) & error ) { try { do_work(); error = boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> instance for transporting a relevant FILE pointer managed by a boost::shared_ptr<FILE> in exceptions deriving from boost::</string>
+ <string>:)(); } catch( ... ) { error = boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-66</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) !!!!Definition: The expression </string>
+ <string>:)(); } }@] In the above example, note that (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string><Tag,T>::(:link </string>
+ <string>:) captures the original type of the exception object. The exception can be thrown again using the (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-66</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> mod="m":) evaluates to T.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-67</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
+ <string>:) function: [@// ...continued void work() { boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> instance for transporting the name of a relevant API function (which does not use exceptions to report errors) in exceptions deriving from boost::</string>
+ <string>:) error; boost::(:link http://www.boost.org/doc/html/boost/thread.html|thread:) t( boost::(:link http://www.boost.org/libs/bind/bind.html|bind:)(worker_thread,boost::(:link http://www.boost.org/doc/html/ref.html|ref:)(error)) ); t.(:link http://www.boost.org/doc/html/boost/thread.html|join:)(); if( error ) boost::(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>.</string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-68</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-69</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>11</size>
- <variant>2</variant>
- <string>(:auto !!!:) Here is how cloning can be enabled in a throw-expression (15.1): [@#include <(:link </string>
+ <string>:)(error); }@] Note that (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> #include <stdio.h> #include <errno.h> typedef boost::error_info<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link </string>
+ <string>:) could fail to copy the original exception object in the following cases: * if there is not enough memory, in which case the returned (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw boost::(:link </string>
+ <string>:) points to an instance of std::bad_alloc, or * if (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-61</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)(file_read_error()) << errno_info(errno); }@] Of course, (:link </string>
+ <string>:) was not used in the throw-expression passed to the original throw statement and the current implementation does not have the necessary compiler-specific support to copy the exception automatically, in which case the returned (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:) may be used with any exception type; there is no requirement that it should derive from boost::(:link </string>
+ <string>:) points to an instance of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:). </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-70</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>(:auto !!:) !!!Synopsis (:include synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-71</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
- <variant>2</variant>
- <string>(:auto !!!:) (:include synopsis:) This type is designed to be used as a standard </string>
+ <string>:). Regardless, the use of (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> instance for transporting a relevant file name in exceptions deriving from boost::</string>
+ <string>:) and (:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>.</string>
+ <string>:) in the above examples is well-formed. </string>
</container>
</pair>
<pair>
@@ -10908,7 +10989,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -10917,7 +10998,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -10939,7 +11020,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -10948,7 +11029,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -11093,9 +11174,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>!!!!Throws: Any exception emitted by v's copy constructor.</string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -11300,7 +11379,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-31</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11311,7 +11390,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11322,7 +11401,20 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-35</id>
+ <id>-33</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>1</size>
+ <variant>2</variant>
+ <string>!!!!Throws: std::bad_alloc, or any exception emitted by the T copy constructor. </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-34</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11333,7 +11425,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11344,7 +11436,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11383,7 +11475,7 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>!!!!Throws: std::bad_alloc, or any exception emitted by the T copy constructor. </string>
+ <string>!!!!Throws: Any exception emitted by v's copy constructor.</string>
</container>
</pair>
<pair>
@@ -11471,9 +11563,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>!!!!Throws: std::bad_alloc, or any exception emitted by T1..TN copy constructor. </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -11572,7 +11662,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>!!!!Throws: std::bad_alloc, or any exception emitted by T1..TN copy constructor. </string>
</container>
</pair>
<pair>
@@ -11667,17 +11759,6 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
<id>-65</id>
</shared_ptr>
</weak_ptr>
@@ -11824,7 +11905,29 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-5</id>
+ <id>-5</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@#include <</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11835,18 +11938,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl:) }@] </string>
+ <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-6</id>
+ <id>-7</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11857,7 +11960,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-8</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11868,18 +11971,18 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>:)> [@namespace boost { (:include def pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -11890,22 +11993,11 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> #include <boost/tuple/tuple.hpp> namespace boost { (:include api pre_indent="4":) }@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-9</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
+ <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -11923,11 +12015,11 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -11940,16 +12032,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <(:link </string>
+ <string>[@#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>> #include <boost/tuple/tuple.hpp> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -11960,18 +12052,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>`#include <(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-11</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)> [@(:include decl:)@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -11982,7 +12063,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12028,16 +12111,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>[@#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include def pre_indent="4":) }@] </string>
+ <string>> #include <string> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12055,11 +12138,11 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12072,16 +12155,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <</string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12092,7 +12175,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@#include <</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-59</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>> #include <string> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12105,16 +12199,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <</string>
+ <string>[@#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>:)> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12125,7 +12219,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>1</size>
+ <variant>2</variant>
+ <string>(:include api:) </string>
</container>
</pair>
<pair>
@@ -12138,16 +12234,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <</string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>:)> [@(:include decl:)@] </string>
</container>
</pair>
<pair>
@@ -12160,16 +12256,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>[@#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>> #include <errno.h> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12180,9 +12276,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
- <variant>2</variant>
- <string>(:include api:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -12204,73 +12298,135 @@
</shared_ptr>
</weak_ptr>
<container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-28</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
<size>3</size>
<variant>2</variant>
- <string>`#include <</string>
+ <string>[@#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>5</size>
<variant>2</variant>
- <string>[@#include <</string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-17</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> #include <errno.h> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>> (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-17</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-29</id>
+ <id>-30</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-31</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-32</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>5</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-76</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@(:include decl:)@] </string>
+ <string>> (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-76</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-30</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>`#include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-38</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12283,14 +12439,14 @@
<container>
<size>1</size>
<variant>2</variant>
- <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>[@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-31</id>
+ <id>-35</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12301,64 +12457,95 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-35</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>`#include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)> [@namespace boost { (:include def pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-36</id>
+ <id>-37</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
+ <size>3</size>
<variant>2</variant>
- <string>[@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>[@#include <</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-33</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>[@#include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-50</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-37</id>
+ <id>-39</id>
</shared_ptr>
</weak_ptr>
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <</string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> (:include decl:) </string>
+ <string>:)> [@(:include decl:)@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-38</id>
+ <id>-40</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12369,29 +12556,38 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-39</id>
+ <id>-41</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
+ <size>5</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-28</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>> (:include </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-28</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string> synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-40</id>
+ <id>-42</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12402,20 +12598,29 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-41</id>
+ <id>-43</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>1</size>
+ <size>3</size>
<variant>2</variant>
- <string>[@#include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>`#include <</string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-13</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-42</id>
+ <id>-44</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12426,7 +12631,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -12435,7 +12640,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-70</id>
+ <id>-9</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -12446,29 +12651,29 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-43</id>
+ <id>-45</id>
</shared_ptr>
</weak_ptr>
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>[@#include <string> namespace boost { (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-36</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string> decl pre_indent="4":) (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-44</id>
+ <id>-46</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12479,7 +12684,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-19</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -12490,7 +12695,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-45</id>
+ <id>-47</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12501,82 +12706,73 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-48</id>
</shared_ptr>
</weak_ptr>
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <(:link </string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-47</id>
+ <id>-49</id>
</shared_ptr>
</weak_ptr>
<container>
<size>5</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-8</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include </string>
+ <string>> (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-47</id>
+ <id>-20</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> decl pre_indent="4":) }@] </string>
+ <string> synopsis:) </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-48</id>
+ <id>-50</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>`#include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-63</id>
- </shared_ptr>
- </weak_ptr>
+ <size>1</size>
<variant>2</variant>
- <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-49</id>
+ <id>-51</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12587,7 +12783,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-50</id>
+ <id>-52</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12598,7 +12794,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-51</id>
+ <id>-53</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12609,20 +12805,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-52</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-53</id>
+ <id>-54</id>
</shared_ptr>
</weak_ptr>
<container>
@@ -12633,66 +12816,42 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-55</id>
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@#include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-34</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>> #include <string> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-55</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
<container>
<size>5</size>
<variant>2</variant>
- <string>`#include <</string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-11</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> (:include </string>
+ <string>:)> [@namespace boost { (:include </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-54</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> synopsis:) </string>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>1</size>
- <variant>2</variant>
- <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string> decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12725,18 +12884,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>`#include <(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-46</id>
- </shared_ptr>
- </weak_ptr>
+ <size>1</size>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>[@namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12747,18 +12897,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@#include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-34</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>> #include <string> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -12771,16 +12910,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>`#include <(:link </string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-46</id>
+ <id>-37</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
+ <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12791,18 +12930,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>`#include <(:link </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-56</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>:)> [@namespace boost { (:include def pre_indent="4":) }@] </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -12815,16 +12943,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <</string>
+ <string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-5</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12835,49 +12963,29 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-32</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>0</size>
- </container>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-65</id>
- </shared_ptr>
- </weak_ptr>
- <container>
- <size>5</size>
+ <size>3</size>
<variant>2</variant>
<string>`#include <</string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-76</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>> (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-76</id>
+ <id>-22</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> synopsis:) </string>
+ <string>> (:include decl:) </string>
+ </container>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-65</id>
+ </shared_ptr>
+ </weak_ptr>
+ <container>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -12895,7 +13003,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-11</id>
+ <id>-38</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -12910,18 +13018,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>`#include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-21</id>
- </shared_ptr>
- </weak_ptr>
+ <size>3</size>
<variant>2</variant>
- <string>> (:include </string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
@@ -12930,7 +13029,7 @@
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string> synopsis:) </string>
+ <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12941,18 +13040,9 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>3</size>
- <variant>2</variant>
- <string>[@#include <string> namespace boost { (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-62</id>
- </shared_ptr>
- </weak_ptr>
+ <size>1</size>
<variant>2</variant>
- <string> decl pre_indent="4":) (:include api pre_indent="4":) }@] </string>
+ <string>[@#include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12963,7 +13053,18 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>0</size>
+ <size>3</size>
+ <variant>2</variant>
+ <string>`#include <(:link </string>
+ <variant>1</variant>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-22</id>
+ </shared_ptr>
+ </weak_ptr>
+ <variant>2</variant>
+ <string>:)> [@namespace boost { (:include decl:) }@] </string>
</container>
</pair>
<pair>
@@ -12976,16 +13077,16 @@
<container>
<size>3</size>
<variant>2</variant>
- <string>[@#include <</string>
+ <string>`#include <(:link </string>
<variant>1</variant>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
- <string>> namespace boost { (:include api pre_indent="4":) }@] </string>
+ <string>:)> [@namespace boost { (:include decl pre_indent="4":) }@] </string>
</container>
</pair>
<pair>
@@ -12996,27 +13097,7 @@
</shared_ptr>
</weak_ptr>
<container>
- <size>5</size>
- <variant>2</variant>
- <string>`#include <</string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-60</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string>> (:include </string>
- <variant>1</variant>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-60</id>
- </shared_ptr>
- </weak_ptr>
- <variant>2</variant>
- <string> synopsis:) </string>
+ <size>0</size>
</container>
</pair>
<pair>
@@ -13034,7 +13115,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -13043,7 +13124,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -13096,7 +13177,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -13131,7 +13212,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</weak_ptr>
<variant>2</variant>
@@ -13235,19 +13316,22 @@
<id>-30</id>
</shared_ptr>
<shared_ptr>
- <id>-34</id>
+ <id>-31</id>
</shared_ptr>
<shared_ptr>
- <id>-31</id>
+ <id>-32</id>
</shared_ptr>
<shared_ptr>
- <id>-35</id>
+ <id>-33</id>
</shared_ptr>
<shared_ptr>
- <id>-36</id>
+ <id>-34</id>
</shared_ptr>
<shared_ptr>
- <id>-33</id>
+ <id>-35</id>
+ </shared_ptr>
+ <shared_ptr>
+ <id>-36</id>
</shared_ptr>
<shared_ptr>
<id>-37</id>
@@ -13334,9 +13418,6 @@
<id>-64</id>
</shared_ptr>
<shared_ptr>
- <id>-32</id>
- </shared_ptr>
- <shared_ptr>
<id>-65</id>
</shared_ptr>
<shared_ptr>
@@ -13391,7 +13472,7 @@
</path>
</file>
<shared_ptr>
- <id>-51</id>
+ <id>-52</id>
</shared_ptr>
</pair>
<pair>
@@ -13408,7 +13489,7 @@
</path>
</file>
<shared_ptr>
- <id>-53</id>
+ <id>-42</id>
</shared_ptr>
</pair>
<pair>
@@ -13425,7 +13506,7 @@
</path>
</file>
<shared_ptr>
- <id>-50</id>
+ <id>-51</id>
</shared_ptr>
</pair>
<pair>
@@ -13442,7 +13523,7 @@
</path>
</file>
<shared_ptr>
- <id>-13</id>
+ <id>-15</id>
</shared_ptr>
</pair>
<pair>
@@ -13459,7 +13540,7 @@
</path>
</file>
<shared_ptr>
- <id>-19</id>
+ <id>-5</id>
</shared_ptr>
</pair>
<pair>
@@ -13476,7 +13557,7 @@
</path>
</file>
<shared_ptr>
- <id>-63</id>
+ <id>-37</id>
</shared_ptr>
</pair>
<pair>
@@ -13493,7 +13574,7 @@
</path>
</file>
<shared_ptr>
- <id>-30</id>
+ <id>-57</id>
</shared_ptr>
</pair>
<pair>
@@ -13510,7 +13591,7 @@
</path>
</file>
<shared_ptr>
- <id>-16</id>
+ <id>-14</id>
</shared_ptr>
</pair>
<pair>
@@ -13527,7 +13608,7 @@
</path>
</file>
<shared_ptr>
- <id>-31</id>
+ <id>-58</id>
</shared_ptr>
</pair>
<pair>
@@ -13544,7 +13625,7 @@
</path>
</file>
<shared_ptr>
- <id>-33</id>
+ <id>-35</id>
</shared_ptr>
</pair>
<pair>
@@ -13561,7 +13642,7 @@
</path>
</file>
<shared_ptr>
- <id>-26</id>
+ <id>-65</id>
</shared_ptr>
</pair>
<pair>
@@ -13578,7 +13659,7 @@
</path>
</file>
<shared_ptr>
- <id>-64</id>
+ <id>-31</id>
</shared_ptr>
</pair>
<pair>
@@ -13595,7 +13676,7 @@
</path>
</file>
<shared_ptr>
- <id>-14</id>
+ <id>-25</id>
</shared_ptr>
</pair>
<pair>
@@ -13612,7 +13693,7 @@
</path>
</file>
<shared_ptr>
- <id>-35</id>
+ <id>-30</id>
</shared_ptr>
</pair>
<pair>
@@ -13629,7 +13710,7 @@
</path>
</file>
<shared_ptr>
- <id>-6</id>
+ <id>-7</id>
</shared_ptr>
</pair>
<pair>
@@ -13653,7 +13734,7 @@
</path>
</file>
<shared_ptr>
- <id>-68</id>
+ <id>-45</id>
</shared_ptr>
</pair>
<pair>
@@ -13677,7 +13758,7 @@
</path>
</file>
<shared_ptr>
- <id>-46</id>
+ <id>-21</id>
</shared_ptr>
</pair>
<pair>
@@ -13701,7 +13782,7 @@
</path>
</file>
<shared_ptr>
- <id>-60</id>
+ <id>-17</id>
</shared_ptr>
</pair>
<pair>
@@ -13753,7 +13834,7 @@
</path>
</file>
<shared_ptr>
- <id>-21</id>
+ <id>-9</id>
</shared_ptr>
</pair>
<pair>
@@ -13781,7 +13862,7 @@
</path>
</file>
<shared_ptr>
- <id>-43</id>
+ <id>-67</id>
</shared_ptr>
</pair>
<pair>
@@ -13809,7 +13890,7 @@
</path>
</file>
<shared_ptr>
- <id>-7</id>
+ <id>-6</id>
</shared_ptr>
</pair>
<pair>
@@ -13837,7 +13918,7 @@
</path>
</file>
<shared_ptr>
- <id>-59</id>
+ <id>-70</id>
</shared_ptr>
</pair>
<pair>
@@ -13865,7 +13946,7 @@
</path>
</file>
<shared_ptr>
- <id>-27</id>
+ <id>-46</id>
</shared_ptr>
</pair>
<pair>
@@ -13893,7 +13974,7 @@
</path>
</file>
<shared_ptr>
- <id>-10</id>
+ <id>-48</id>
</shared_ptr>
</pair>
<pair>
@@ -13921,7 +14002,7 @@
</path>
</file>
<shared_ptr>
- <id>-61</id>
+ <id>-18</id>
</shared_ptr>
</pair>
<pair>
@@ -13945,31 +14026,7 @@
</path>
</file>
<shared_ptr>
- <id>-45</id>
- </shared_ptr>
- </pair>
- <pair>
- <hook>
- <stream_hook_path>
- <container>
- <size>1</size>
- <strong>9E8DCE3BCF462A3A332DA70F61E46FA5C2AB791B95E33D3F2AF1307F53C84B1C</strong>
- <weak>1960675522</weak>
- <size>6483</size>
- <position>591</position>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>0</empty>
- <string>../../example/example_io.cpp</string>
- <type>0</type>
- <base>0</base>
- </path>
- </file>
- <shared_ptr>
- <id>-15</id>
+ <id>-71</id>
</shared_ptr>
</pair>
<pair>
@@ -13997,7 +14054,7 @@
</path>
</file>
<shared_ptr>
- <id>-55</id>
+ <id>-49</id>
</shared_ptr>
</pair>
<pair>
@@ -14025,7 +14082,7 @@
</path>
</file>
<shared_ptr>
- <id>-12</id>
+ <id>-39</id>
</shared_ptr>
</pair>
<pair>
@@ -14053,7 +14110,7 @@
</path>
</file>
<shared_ptr>
- <id>-39</id>
+ <id>-33</id>
</shared_ptr>
</pair>
<pair>
@@ -14077,7 +14134,55 @@
</path>
</file>
<shared_ptr>
- <id>-28</id>
+ <id>-24</id>
+ </shared_ptr>
+ </pair>
+ <pair>
+ <hook>
+ <stream_hook_path>
+ <container>
+ <size>1</size>
+ <strong>025A8CE0643CFC0EB812BD3EB89F8F410D91EC3467CC6F371E7215F25F590B27</strong>
+ <weak>2422739525</weak>
+ <size>6071</size>
+ <position>412</position>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>0</empty>
+ <string>../../example/example_io.cpp</string>
+ <type>0</type>
+ <base>0</base>
+ </path>
+ </file>
+ <shared_ptr>
+ <id>-26</id>
+ </shared_ptr>
+ </pair>
+ <pair>
+ <hook>
+ <stream_hook_path>
+ <container>
+ <size>1</size>
+ <strong>75EA7D29A2D365F947FE504A6AE38FA23FEA7031FDA3B6DA5DBBAA3D93794D30</strong>
+ <weak>1826787048</weak>
+ <size>526</size>
+ <position>382</position>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>0</empty>
+ <string>../../example/error_info_1.cpp</string>
+ <type>0</type>
+ <base>0</base>
+ </path>
+ </file>
+ <shared_ptr>
+ <id>-54</id>
</shared_ptr>
</pair>
<pair>
@@ -14105,7 +14210,7 @@
</path>
</file>
<shared_ptr>
- <id>-23</id>
+ <id>-43</id>
</shared_ptr>
</pair>
<pair>
@@ -14133,7 +14238,7 @@
</path>
</file>
<shared_ptr>
- <id>-36</id>
+ <id>-34</id>
</shared_ptr>
</pair>
<pair>
@@ -14161,7 +14266,7 @@
</path>
</file>
<shared_ptr>
- <id>-65</id>
+ <id>-32</id>
</shared_ptr>
</pair>
<pair>
@@ -14172,7 +14277,7 @@
<strong>66E0BD9724AB83012F5B35D887E3313960DC0E69B94E0C03CA1F3C85A0D84A5C</strong>
<weak>2883671483</weak>
<size>311</size>
- <position>302</position>
+ <position>306</position>
</container>
</stream_hook_path>
</hook>
@@ -14185,7 +14290,7 @@
</path>
</file>
<shared_ptr>
- <id>-22</id>
+ <id>-12</id>
</shared_ptr>
</pair>
<pair>
@@ -14213,7 +14318,7 @@
</path>
</file>
<shared_ptr>
- <id>-24</id>
+ <id>-10</id>
</shared_ptr>
</pair>
<pair>
@@ -14237,7 +14342,7 @@
</path>
</file>
<shared_ptr>
- <id>-54</id>
+ <id>-20</id>
</shared_ptr>
</pair>
<pair>
@@ -14317,7 +14422,7 @@
</path>
</file>
<shared_ptr>
- <id>-67</id>
+ <id>-44</id>
</shared_ptr>
</pair>
<pair>
@@ -14341,7 +14446,7 @@
</path>
</file>
<shared_ptr>
- <id>-70</id>
+ <id>-28</id>
</shared_ptr>
</pair>
<pair>
@@ -14369,7 +14474,7 @@
</path>
</file>
<shared_ptr>
- <id>-42</id>
+ <id>-41</id>
</shared_ptr>
</pair>
<pair>
@@ -14397,7 +14502,7 @@
</path>
</file>
<shared_ptr>
- <id>-18</id>
+ <id>-19</id>
</shared_ptr>
</pair>
<pair>
@@ -14429,23 +14534,23 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>D10E536B909EFFF78FB09E6242AEC7C74ACDD75AE7DF32B45870422B752E5D8E</strong>
- <weak>1903336130</weak>
- <size>557</size>
- <position>382</position>
+ <strong>FB3526A6A3A99CF87E766D0B34CEC3F8FB49228B2BFC54C3D56098778710397F</strong>
+ <weak>3851746268</weak>
+ <size>852</size>
+ <position>306</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/error_info_1.cpp</string>
+ <string>../../example/error_info_2.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
<shared_ptr>
- <id>-58</id>
+ <id>-40</id>
</shared_ptr>
</pair>
<pair>
@@ -14469,7 +14574,7 @@
</path>
</file>
<shared_ptr>
- <id>-52</id>
+ <id>-13</id>
</shared_ptr>
</pair>
<pair>
@@ -14521,7 +14626,7 @@
</path>
</file>
<shared_ptr>
- <id>-17</id>
+ <id>-8</id>
</shared_ptr>
</pair>
<pair>
@@ -14553,7 +14658,7 @@
</path>
</file>
<shared_ptr>
- <id>-66</id>
+ <id>-23</id>
</shared_ptr>
</pair>
<pair>
@@ -14585,7 +14690,31 @@
</path>
</file>
<shared_ptr>
- <id>-29</id>
+ <id>-66</id>
+ </shared_ptr>
+ </pair>
+ <pair>
+ <hook>
+ <stream_hook_path>
+ <container>
+ <size>1</size>
+ <strong>4BF26702AE28644631FE5D0F726C9AD0877433607F35DE5F522D94F39BE2A2AB</strong>
+ <weak>1734013977</weak>
+ <size>733</size>
+ <position>363</position>
+ </container>
+ </stream_hook_path>
+ </hook>
+ <file>
+ <path>
+ <empty>0</empty>
+ <string>../../example/info_tuple.cpp</string>
+ <type>0</type>
+ <base>0</base>
+ </path>
+ </file>
+ <shared_ptr>
+ <id>-53</id>
</shared_ptr>
</pair>
<pair>
@@ -14613,7 +14742,7 @@
</path>
</file>
<shared_ptr>
- <id>-5</id>
+ <id>-69</id>
</shared_ptr>
</pair>
<pair>
@@ -14645,7 +14774,7 @@
</path>
</file>
<shared_ptr>
- <id>-40</id>
+ <id>-60</id>
</shared_ptr>
</pair>
<pair>
@@ -14669,7 +14798,7 @@
</path>
</file>
<shared_ptr>
- <id>-41</id>
+ <id>-68</id>
</shared_ptr>
</pair>
<pair>
@@ -14693,7 +14822,7 @@
</path>
</file>
<shared_ptr>
- <id>-11</id>
+ <id>-38</id>
</shared_ptr>
</pair>
<pair>
@@ -14717,7 +14846,7 @@
</path>
</file>
<shared_ptr>
- <id>-56</id>
+ <id>-50</id>
</shared_ptr>
</pair>
<pair>
@@ -14745,7 +14874,7 @@
</path>
</file>
<shared_ptr>
- <id>-49</id>
+ <id>-62</id>
</shared_ptr>
</pair>
<pair>
@@ -14773,7 +14902,7 @@
</path>
</file>
<shared_ptr>
- <id>-48</id>
+ <id>-61</id>
</shared_ptr>
</pair>
<pair>
@@ -14801,7 +14930,7 @@
</path>
</file>
<shared_ptr>
- <id>-44</id>
+ <id>-63</id>
</shared_ptr>
</pair>
<pair>
@@ -14829,7 +14958,7 @@
</path>
</file>
<shared_ptr>
- <id>-62</id>
+ <id>-36</id>
</shared_ptr>
</pair>
<pair>
@@ -14861,7 +14990,7 @@
</path>
</file>
<shared_ptr>
- <id>-20</id>
+ <id>-47</id>
</shared_ptr>
</pair>
<pair>
@@ -14885,7 +15014,7 @@
</path>
</file>
<shared_ptr>
- <id>-8</id>
+ <id>-11</id>
</shared_ptr>
</pair>
<pair>
@@ -14909,31 +15038,7 @@
</path>
</file>
<shared_ptr>
- <id>-25</id>
- </shared_ptr>
- </pair>
- <pair>
- <hook>
- <stream_hook_path>
- <container>
- <size>1</size>
- <strong>4ED9709788BBAB4DE7CF336561606B8C0B41F70877A3395F4EE026F4AEB66CC6</strong>
- <weak>743998427</weak>
- <size>409</size>
- <position>307</position>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>0</empty>
- <string>../../example/cloning_1.cpp</string>
- <type>0</type>
- <base>0</base>
- </path>
- </file>
- <shared_ptr>
- <id>-69</id>
+ <id>-22</id>
</shared_ptr>
</pair>
<pair>
@@ -14957,31 +15062,7 @@
</path>
</file>
<shared_ptr>
- <id>-37</id>
- </shared_ptr>
- </pair>
- <pair>
- <hook>
- <stream_hook_path>
- <container>
- <size>1</size>
- <strong>F4C951B28F7DE500973AA3DFAA99F2BADA6EDAFA2B406C30BEF3B7FBE6FD57D7</strong>
- <weak>2263754923</weak>
- <size>982</size>
- <position>306</position>
- </container>
- </stream_hook_path>
- </hook>
- <file>
- <path>
- <empty>0</empty>
- <string>../../example/error_info_2.cpp</string>
- <type>0</type>
- <base>0</base>
- </path>
- </file>
- <shared_ptr>
- <id>-9</id>
+ <id>-64</id>
</shared_ptr>
</pair>
<pair>
@@ -15009,7 +15090,7 @@
</path>
</file>
<shared_ptr>
- <id>-71</id>
+ <id>-29</id>
</shared_ptr>
</pair>
<pair>
@@ -15033,7 +15114,7 @@
</path>
</file>
<shared_ptr>
- <id>-32</id>
+ <id>-55</id>
</shared_ptr>
</pair>
<pair>
@@ -15061,7 +15142,7 @@
</path>
</file>
<shared_ptr>
- <id>-34</id>
+ <id>-59</id>
</shared_ptr>
</pair>
<pair>
@@ -15089,7 +15170,7 @@
</path>
</file>
<shared_ptr>
- <id>-47</id>
+ <id>-56</id>
</shared_ptr>
</pair>
<pair>
@@ -15097,23 +15178,23 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>E444EE9697EEADFDE0767E1D0242FC0E70D98E61FB1F0FFA099648DE509B82F3</strong>
- <weak>94503238</weak>
- <size>773</size>
- <position>374</position>
+ <strong>F39D869016327CDFEA720920B2743F47989202BF5814B6556EC54A1B0FE562F8</strong>
+ <weak>3703518029</weak>
+ <size>147</size>
+ <position>323</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../example/info_tuple.cpp</string>
+ <string>../../../../boost/exception.hpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
<shared_ptr>
- <id>-57</id>
+ <id>-16</id>
</shared_ptr>
</pair>
<pair>
@@ -15121,23 +15202,23 @@
<stream_hook_path>
<container>
<size>1</size>
- <strong>F39D869016327CDFEA720920B2743F47989202BF5814B6556EC54A1B0FE562F8</strong>
- <weak>3703518029</weak>
- <size>147</size>
- <position>323</position>
+ <strong>08D021CA79AEBFFD7EB5E272BEBACE3BDED36B949DA26DD1EAFB7723C24065FE</strong>
+ <weak>3589963844</weak>
+ <size>393</size>
+ <position>307</position>
</container>
</stream_hook_path>
</hook>
<file>
<path>
<empty>0</empty>
- <string>../../../../boost/exception.hpp</string>
+ <string>../../example/cloning_1.cpp</string>
<type>0</type>
<base>0</base>
</path>
</file>
<shared_ptr>
- <id>-38</id>
+ <id>-27</id>
</shared_ptr>
</pair>
</sorted>
@@ -15168,13 +15249,13 @@
<id>-5</id>
</shared_ptr>
</weak_ptr>
- <string>free function</string>
+ <string>error_info</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-7</id>
+ <id>-6</id>
</shared_ptr>
</weak_ptr>
<string>exception_ptr free function</string>
@@ -15186,16 +15267,7 @@
<id>-8</id>
</shared_ptr>
</weak_ptr>
- <string></string>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-9</id>
- </shared_ptr>
- </weak_ptr>
- <string>noalso noindex tutorial</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15204,7 +15276,7 @@
<id>-10</id>
</shared_ptr>
</weak_ptr>
- <string>exception_ptr free function</string>
+ <string>diagnostic_information free function</string>
</pair>
<pair>
<weak_ptr>
@@ -15222,7 +15294,7 @@
<id>-12</id>
</shared_ptr>
</weak_ptr>
- <string>function member</string>
+ <string>diagnostic_information tutorial</string>
</pair>
<pair>
<weak_ptr>
@@ -15237,7 +15309,7 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-16</id>
+ <id>-14</id>
</shared_ptr>
</weak_ptr>
<string>tutorial</string>
@@ -15246,10 +15318,19 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-17</id>
+ <id>-15</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string></string>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-16</id>
+ </shared_ptr>
+ </weak_ptr>
+ <string>noindex</string>
</pair>
<pair>
<weak_ptr>
@@ -15258,7 +15339,7 @@
<id>-18</id>
</shared_ptr>
</weak_ptr>
- <string>function</string>
+ <string>exception_ptr free function</string>
</pair>
<pair>
<weak_ptr>
@@ -15267,16 +15348,16 @@
<id>-19</id>
</shared_ptr>
</weak_ptr>
- <string>error_info</string>
+ <string>function</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-20</id>
+ <id>-21</id>
</shared_ptr>
</weak_ptr>
- <string>function</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15285,7 +15366,7 @@
<id>-22</id>
</shared_ptr>
</weak_ptr>
- <string>diagnostic_information tutorial</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15294,31 +15375,31 @@
<id>-23</id>
</shared_ptr>
</weak_ptr>
- <string>function</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-24</id>
+ <id>-27</id>
</shared_ptr>
</weak_ptr>
- <string>diagnostic_information free function</string>
+ <string>noindex tutorial</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-25</id>
+ <id>-29</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-27</id>
+ <id>-32</id>
</shared_ptr>
</weak_ptr>
<string>type</string>
@@ -15327,10 +15408,10 @@
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-29</id>
+ <id>-33</id>
</shared_ptr>
</weak_ptr>
- <string>function member</string>
+ <string>error_info free function</string>
</pair>
<pair>
<weak_ptr>
@@ -15339,7 +15420,7 @@
<id>-34</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>error_info free function</string>
</pair>
<pair>
<weak_ptr>
@@ -15348,7 +15429,7 @@
<id>-36</id>
</shared_ptr>
</weak_ptr>
- <string>error_info free function</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15357,7 +15438,7 @@
<id>-37</id>
</shared_ptr>
</weak_ptr>
- <string>macro</string>
+ <string>exception_ptr</string>
</pair>
<pair>
<weak_ptr>
@@ -15366,7 +15447,7 @@
<id>-38</id>
</shared_ptr>
</weak_ptr>
- <string>noindex</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15375,7 +15456,16 @@
<id>-39</id>
</shared_ptr>
</weak_ptr>
- <string>error_info free function</string>
+ <string>function member</string>
+ </pair>
+ <pair>
+ <weak_ptr>
+ <expired>0</expired>
+ <shared_ptr>
+ <id>-40</id>
+ </shared_ptr>
+ </weak_ptr>
+ <string>noalso noindex tutorial</string>
</pair>
<pair>
<weak_ptr>
@@ -15384,7 +15474,7 @@
<id>-41</id>
</shared_ptr>
</weak_ptr>
- <string>error_info</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15393,7 +15483,7 @@
<id>-42</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>tutorial</string>
</pair>
<pair>
<weak_ptr>
@@ -15402,7 +15492,7 @@
<id>-43</id>
</shared_ptr>
</weak_ptr>
- <string>exception_ptr type</string>
+ <string>function</string>
</pair>
<pair>
<weak_ptr>
@@ -15411,7 +15501,7 @@
<id>-44</id>
</shared_ptr>
</weak_ptr>
- <string>error_info free function</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15420,7 +15510,7 @@
<id>-45</id>
</shared_ptr>
</weak_ptr>
- <string>noindex tutorial</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15429,7 +15519,7 @@
<id>-46</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15438,7 +15528,7 @@
<id>-47</id>
</shared_ptr>
</weak_ptr>
- <string>error_info free function</string>
+ <string>function</string>
</pair>
<pair>
<weak_ptr>
@@ -15456,7 +15546,7 @@
<id>-49</id>
</shared_ptr>
</weak_ptr>
- <string>function</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15465,7 +15555,7 @@
<id>-50</id>
</shared_ptr>
</weak_ptr>
- <string>tutorial</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15474,7 +15564,7 @@
<id>-51</id>
</shared_ptr>
</weak_ptr>
- <string>noindex</string>
+ <string>tutorial</string>
</pair>
<pair>
<weak_ptr>
@@ -15483,7 +15573,7 @@
<id>-52</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>noindex</string>
</pair>
<pair>
<weak_ptr>
@@ -15492,43 +15582,34 @@
<id>-53</id>
</shared_ptr>
</weak_ptr>
- <string>tutorial</string>
- </pair>
- <pair>
- <weak_ptr>
- <expired>0</expired>
- <shared_ptr>
- <id>-55</id>
- </shared_ptr>
- </weak_ptr>
- <string>type</string>
+ <string>noalso noindex tutorial</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-56</id>
+ <id>-54</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>noalso noindex tutorial</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-57</id>
+ <id>-55</id>
</shared_ptr>
</weak_ptr>
- <string>noalso noindex tutorial</string>
+ <string>tutorial</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-58</id>
+ <id>-56</id>
</shared_ptr>
</weak_ptr>
- <string>noalso noindex tutorial</string>
+ <string>error_info free function</string>
</pair>
<pair>
<weak_ptr>
@@ -15537,7 +15618,7 @@
<id>-59</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string></string>
</pair>
<pair>
<weak_ptr>
@@ -15555,7 +15636,7 @@
<id>-62</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>function</string>
</pair>
<pair>
<weak_ptr>
@@ -15564,61 +15645,61 @@
<id>-63</id>
</shared_ptr>
</weak_ptr>
- <string>exception_ptr</string>
+ <string>error_info free function</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-32</id>
+ <id>-64</id>
</shared_ptr>
</weak_ptr>
- <string>tutorial</string>
+ <string>macro</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-65</id>
+ <id>-66</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>function member</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-66</id>
+ <id>-67</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>exception_ptr type</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-67</id>
+ <id>-68</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>error_info</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-68</id>
+ <id>-69</id>
</shared_ptr>
</weak_ptr>
- <string></string>
+ <string>free function</string>
</pair>
<pair>
<weak_ptr>
<expired>0</expired>
<shared_ptr>
- <id>-69</id>
+ <id>-70</id>
</shared_ptr>
</weak_ptr>
- <string>noindex tutorial</string>
+ <string>type</string>
</pair>
<pair>
<weak_ptr>
@@ -15627,7 +15708,7 @@
<id>-71</id>
</shared_ptr>
</weak_ptr>
- <string>type</string>
+ <string>noindex tutorial</string>
</pair>
<pair>
<weak_ptr>
Modified: trunk/libs/exception/doc/tutorial_diagnostic_information.html
==============================================================================
--- trunk/libs/exception/doc/tutorial_diagnostic_information.html (original)
+++ trunk/libs/exception/doc/tutorial_diagnostic_information.html 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -47,13 +47,13 @@
}</pre>
<div class="RenoIncludeDIV"><h4>Example:</h4>
<p>this is a possible output from the <span class="RenoLink">diagnostic_information</span> function, as used in <i>libs/exception/example/example_io.cpp:</i></p>
-<pre>example_io.cpp(83): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *)
+<pre>example_io.cpp(70): Throw in function class boost::shared_ptr<struct _iobuf> __cdecl my_fopen(const char *,const char *)
Dynamic exception type: class boost::exception_detail::clone_impl<class fopen_error>
std::exception::what: example_io error
-[struct tag_errno *] = 2, OS says "No such file or directory"
-[struct tag_file_name *] = tmp1.txt
-[struct tag_function *] = fopen
-[struct tag_open_mode *] = rb</pre>
+[struct boost::<span class="RenoLink">errinfo_api_function</span>_ *] = fopen
+[struct boost::<span class="RenoLink">errinfo_errno</span>_ *] = 2, "No such file or directory"
+[struct boost::<span class="RenoLink">errinfo_file_name</span>_ *] = tmp1.txt
+[struct boost::<span class="RenoLink">errinfo_file_open_mode</span>_ *] = rb</pre>
</div></div><div class="RenoAutoDIV"><div class="RenoHR"><hr/></div>
<h3>See Also:</h3>
<div class="RenoPageList"><a href="boost-exception.html">Boost Exception<br/>
Modified: trunk/libs/exception/doc/tutorial_exception_ptr.html
==============================================================================
--- trunk/libs/exception/doc/tutorial_exception_ptr.html (original)
+++ trunk/libs/exception/doc/tutorial_exception_ptr.html 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -28,11 +28,10 @@
</div>
<p>Here is how cloning can be enabled in a throw-expression (15.1):</p>
<pre>#include <<span class="RenoLink">boost/exception/info.hpp</span>>
+#include <<span class="RenoLink">boost/exception/errinfo_errno.hpp</span>>
#include <stdio.h>
#include <errno.h>
-typedef boost::error_info<struct tag_errno,int> errno_info;
-
class file_read_error: public boost::<span class="RenoLink">exception</span> { };
void
@@ -40,7 +39,7 @@
{
if( size!=fread(buffer,1,size,f) )
throw boost::<span class="RenoLink">enable_current_exception</span>(file_read_error()) <<
- errno_info(errno);
+ boost::<span class="RenoLink">errinfo_errno</span>(errno);
}</pre>
<p>Of course, <span class="RenoLink">enable_current_exception</span> may be used with any exception type; there is no requirement that it should derive from boost::<span class="RenoLink">exception</span>.</p>
</div><div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>Cloning and Re-Throwing an Exception</h3>
Modified: trunk/libs/exception/doc/tutorial_transporting_data.html
==============================================================================
--- trunk/libs/exception/doc/tutorial_transporting_data.html (original)
+++ trunk/libs/exception/doc/tutorial_transporting_data.html 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -29,24 +29,22 @@
<div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>Adding of Arbitrary Data at the Point of the Throw</h3>
</div>
<p>The following example demonstrates how errno can be stored in exception objects using Boost Exception:</p>
-<pre>#include <<span class="RenoLink">boost/exception.hpp</span>>
-#include <errno.h>
+<pre>#include <<span class="RenoLink">boost/exception/all.hpp</span>>
#include <iostream>
-typedef boost::<span class="RenoLink">error_info</span><struct tag_errno,int> errno_info; //(1)
+typedef boost::<span class="RenoLink">error_info</span><struct tag_my_info,int> my_info; //(1)
class my_error: public boost::<span class="RenoLink">exception</span>, public std::exception { }; //(2)
void
f()
{
- throw my_error() << errno_info(errno); //(3)
- }
-</pre>
-<p>First, we instantiate the <span class="RenoLink">error_info</span> template using a unique identifier -- tag_errno, and the type of the info it identifies -- int. This provides compile-time type safety for the various values stored in exception objects.</p>
+ throw my_error() << my_info(42); //(3)
+ }</pre>
+<p>First, we instantiate the <span class="RenoLink">error_info</span> template using a unique identifier -- tag_my_info, and the type of the info it identifies -- int. This provides compile-time type safety for the various values stored in exception objects.</p>
<p>Second, we define class my_error, which derives from boost::<span class="RenoLink">exception</span>.</p>
<p>Finally, (3) illustrates how the typedef from (1) can be used with <span class="RenoLink">operator<<</span> to store values in exception objects at the point of the throw.</p>
-<p>The stored errno value can be recovered at a later time like this:</p>
+<p>The stored my_info value can be recovered at a later time like this:</p>
<pre>// ...continued
void
@@ -59,8 +57,8 @@
catch(
my_error & x )
{
- if( int const * err=boost::<span class="RenoLink">get_error_info</span><errno_info>(x) )
- std::cerr << "Error code: " << *err;
+ if( int const * mi=boost::<span class="RenoLink">get_error_info</span><my_info>(x) )
+ std::cerr << "My info: " << *mi;
}
}</pre>
<p>The <span class="RenoLink">get_error_info</span> function template is instantiated with the typedef from (1), and is passed an exception object of a polymorphic type. If the exception object contains the requested value, err will point to it; otherwise a null pointer is returned.</p>
@@ -75,28 +73,25 @@
}</pre>
<p>How can the file_read function pass a file name to the exception type constructor? All it has is a FILE handle.</p>
<p>Using boost::<span class="RenoLink">exception</span> allows us to free the file_read function from the burden of storing the file name in exceptions it throws:</p>
-<pre>#include <<span class="RenoLink">boost/exception.hpp</span>>
+<pre><span class="RenoLink">boost/exception/all.hpp</span>>
+#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <errno.h>
-typedef boost::<span class="RenoLink">error_info</span><struct tag_errno,int> errno_info;
-
class file_read_error: public boost::<span class="RenoLink">exception</span> { };
void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
- throw file_read_error() << errno_info(errno);
+ throw file_read_error() << boost::<span class="RenoLink">errinfo_errno</span>(errno);
}</pre>
<p>If file_read detects a failure, it throws an exception which contains the information that is available at the time, namely the errno. Other relevant information, such as the file name, can be added in a context higher up the call stack, where it is known naturally:</p>
-<pre>#include <<span class="RenoLink">boost/exception.hpp</span>>
+<pre>#include <<span class="RenoLink">boost/exception/all.hpp</span>>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <string>
-typedef boost::<span class="RenoLink">error_info</span><struct tag_file_name,std::string> file_name_info;
-
boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode );
void file_read( FILE * f, void * buffer, size_t size );
@@ -113,7 +108,7 @@
catch(
boost::<span class="RenoLink">exception</span> & e )
{
- e << file_name_info(file_name);
+ e << boost::<span class="RenoLink">errinfo_file_name</span>(file_name);
throw;
}
}</pre>
@@ -122,15 +117,15 @@
</div>
<p>The code snippet below demonstrates how boost::<span class="RenoLink">tuple</span> can be used to bundle the name of the function that failed, together with the reported errno so that they can be added to exception objects more conveniently together:</p>
<pre>#include <<span class="RenoLink">boost/exception/info_tuple.hpp</span>>
+#include <<span class="RenoLink">boost/exception/errinfo_file_name.hpp</span>>
+#include <<span class="RenoLink">boost/exception/errinfo_api_function.hpp</span>>
+#include <<span class="RenoLink">boost/exception/errinfo_errno.hpp</span>>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <string>
#include <errno.h>
-typedef boost::<span class="RenoLink">error_info</span><struct tag_file_name,std::string> file_name_info;
-typedef boost::<span class="RenoLink">error_info</span><struct tag_function,char const *> function_info;
-typedef boost::<span class="RenoLink">error_info</span><struct tag_errno,int> errno_info;
-typedef boost::tuple<function_info,errno_info> clib_failure;
+typedef boost::<span class="RenoLink">tuple</span><boost::<span class="RenoLink">errinfo_api_function</span>,boost::<span class="RenoLink">errinfo_errno</span>> clib_failure;
class file_open_error: public boost::<span class="RenoLink">exception</span> { };
@@ -141,7 +136,7 @@
return boost::shared_ptr<FILE>(f,fclose);
else
throw file_open_error() <<
- file_name_info(name) <<
+ boost::<span class="RenoLink">errinfo_file_name</span>(name) <<
clib_failure("fopen",errno);
}</pre>
<p>Note that the members of a boost::<span class="RenoLink">tuple</span> are stored separately in exception objects; they can only be retrieved individually, using <span class="RenoLink">get_error_info</span>.</p>
Modified: trunk/libs/exception/example/cloning_1.cpp
==============================================================================
--- trunk/libs/exception/example/cloning_1.cpp (original)
+++ trunk/libs/exception/example/cloning_1.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -6,11 +6,10 @@
//This example shows how to enable cloning when throwing a boost::exception.
#include <boost/exception/info.hpp>
+#include <boost/exception/errinfo_errno.hpp>
#include <stdio.h>
#include <errno.h>
-typedef boost::error_info<struct tag_errno,int> errno_info;
-
class file_read_error: public boost::exception { };
void
@@ -18,5 +17,5 @@
{
if( size!=fread(buffer,1,size,f) )
throw boost::enable_current_exception(file_read_error()) <<
- errno_info(errno);
+ boost::errinfo_errno(errno);
}
Modified: trunk/libs/exception/example/error_info_1.cpp
==============================================================================
--- trunk/libs/exception/example/error_info_1.cpp (original)
+++ trunk/libs/exception/example/error_info_1.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -6,18 +6,17 @@
//This example shows how to add data to boost::exception objects at the
//point of the throw, and how to retrieve that data at the point of the catch.
-#include <boost/exception.hpp>
-#include <errno.h>
+#include <boost/exception/all.hpp>
#include <iostream>
-typedef boost::error_info<struct tag_errno,int> errno_info; //(1)
+typedef boost::error_info<struct tag_my_info,int> my_info; //(1)
class my_error: public boost::exception, public std::exception { }; //(2)
void
f()
{
- throw my_error() << errno_info(errno); //(3)
+ throw my_error() << my_info(42); //(3)
}
void
@@ -30,7 +29,7 @@
catch(
my_error & x )
{
- if( int const * err=boost::get_error_info<errno_info>(x) )
- std::cerr << "Error code: " << *err;
+ if( int const * mi=boost::get_error_info<my_info>(x) )
+ std::cerr << "My info: " << *mi;
}
}
Modified: trunk/libs/exception/example/error_info_2.cpp
==============================================================================
--- trunk/libs/exception/example/error_info_2.cpp (original)
+++ trunk/libs/exception/example/error_info_2.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -5,28 +5,24 @@
//This example shows how to add arbitrary data to active exception objects.
-#include <boost/exception.hpp>
+#include <boost/exception/all.hpp>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <errno.h>
//
-typedef boost::error_info<struct tag_errno,int> errno_info;
-
class file_read_error: public boost::exception { };
void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
- throw file_read_error() << errno_info(errno);
+ throw file_read_error() << boost::errinfo_errno(errno);
}
//
-typedef boost::error_info<struct tag_file_name,std::string> file_name_info;
-
boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode );
void file_read( FILE * f, void * buffer, size_t size );
@@ -43,7 +39,7 @@
catch(
boost::exception & e )
{
- e << file_name_info(file_name);
+ e << boost::errinfo_file_name(file_name);
throw;
}
}
Modified: trunk/libs/exception/example/example_io.cpp
==============================================================================
--- trunk/libs/exception/example/example_io.cpp (original)
+++ trunk/libs/exception/example/example_io.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -3,16 +3,17 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//This program simulates errors on copying simple data files.
-//It demonstrates how the proposed Boost exception library can be used.
-//
-//The documentation for boost::exception can be found at:
-//
-// http://www.revergestudios.com/boost-exception/boost-exception.htm.
-//
-//The output from this program can vary depending on the compiler/OS combination.
+//This program simulates errors on copying simple data files. It demonstrates
+//typical Boost Exception usage.
+
+//The output from this program can vary depending on the platform.
#include <boost/exception.hpp>
+#include <boost/exception/errinfo_file_open_mode.hpp>
+#include <boost/exception/errinfo_file_handle.hpp>
+#include <boost/exception/errinfo_file_name.hpp>
+#include <boost/exception/errinfo_api_function.hpp>
+#include <boost/exception/errinfo_errno.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <stdio.h>
@@ -21,22 +22,8 @@
#include <iostream>
#include <sstream>
-typedef boost::error_info<struct tag_errno,int> errno_info;
-typedef boost::error_info<struct tag_file_stream,boost::weak_ptr<FILE> > file_stream_info;
-typedef boost::error_info<struct tag_open_mode,std::string> open_mode_info; //The open mode of a failed fopen request.
-typedef boost::error_info<struct tag_file_name,std::string> file_name_info; //The file name of a failed file operation.
-typedef boost::error_info<struct tag_file_name_src,std::string> file_name_src_info; //The source file name of a failed copy operation.
-typedef boost::error_info<struct tag_file_name_dst,std::string> file_name_dst_info; //The destination file name of a failed copy operation.
-typedef boost::error_info<struct tag_function,std::string> function_info; //The name of the C function which reported the failure.
-
-std::string
-to_string( errno_info const & e )
- {
- int en=e.value();
- std::ostringstream s;
- s << en << ", OS says \"" << strerror(en) << "\"";
- return s.str();
- }
+typedef boost::error_info<struct tag_file_name_src,std::string> errinfo_src_file_name;
+typedef boost::error_info<struct tag_file_name_dst,std::string> errinfo_dst_file_name;
char const data[] = "example";
size_t const data_size = sizeof(data);
@@ -77,10 +64,10 @@
return boost::shared_ptr<FILE>(f,fclose);
else
BOOST_THROW_EXCEPTION(fopen_error() <<
- errno_info(errno) <<
- file_name_info(name) <<
- open_mode_info(mode) <<
- function_info("fopen"));
+ boost::errinfo_errno (errno) <<
+ boost::errinfo_file_name(name) <<
+ boost::errinfo_file_open_mode(mode) <<
+ boost::errinfo_api_function("fopen"));
}
void
@@ -89,9 +76,9 @@
assert(stream);
if( count!=fread(buffer,size,count,stream.get()) || ferror(stream.get()) )
BOOST_THROW_EXCEPTION(fread_error() <<
- function_info("fread") <<
- errno_info(errno) <<
- file_stream_info(boost::weak_ptr<FILE>(stream)));
+ boost::errinfo_api_function("fread") <<
+ boost::errinfo_errno(errno) <<
+ boost::errinfo_file_handle(boost::weak_ptr<FILE>(stream)));
}
void
@@ -100,9 +87,9 @@
assert(stream);
if( count!=fwrite(buffer,size,count,stream.get()) || ferror(stream.get()) )
BOOST_THROW_EXCEPTION(fwrite_error() <<
- function_info("fwrite") <<
- errno_info(errno) <<
- file_stream_info(boost::weak_ptr<FILE>(stream)));
+ boost::errinfo_api_function("fwrite") <<
+ boost::errinfo_errno(errno) <<
+ boost::errinfo_file_handle(boost::weak_ptr<FILE>(stream)));
}
void
@@ -132,17 +119,17 @@
catch(
boost::exception & x )
{
- if( boost::weak_ptr<FILE> const * f=boost::get_error_info<file_stream_info>(x) )
+ if( boost::weak_ptr<FILE> const * f=boost::get_error_info<boost::errinfo_file_handle>(x) )
if( boost::shared_ptr<FILE> fs = f->lock() )
{
if( fs==src )
- x << file_name_info(src_file_name);
+ x << boost::errinfo_file_name(src_file_name);
else if( fs==dst )
- x << file_name_info(dst_file_name);
+ x << boost::errinfo_file_name(dst_file_name);
}
x <<
- file_name_src_info(src_file_name) <<
- file_name_dst_info(dst_file_name);
+ errinfo_src_file_name(src_file_name) <<
+ errinfo_dst_file_name(dst_file_name);
throw;
}
}
@@ -150,25 +137,25 @@
void
dump_copy_info( boost::exception const & x )
{
- if( std::string const * src = boost::get_error_info<file_name_src_info>(x) )
+ if( std::string const * src = boost::get_error_info<errinfo_src_file_name>(x) )
std::cerr << "Source file name: " << *src << "\n";
- if( std::string const * dst = boost::get_error_info<file_name_dst_info>(x) )
+ if( std::string const * dst = boost::get_error_info<errinfo_dst_file_name>(x) )
std::cerr << "Destination file name: " << *dst << "\n";
}
void
dump_file_info( boost::exception const & x )
{
- if( std::string const * fn = boost::get_error_info<file_name_info>(x) )
+ if( std::string const * fn = boost::get_error_info<boost::errinfo_file_name>(x) )
std::cerr << "File name: " << *fn << "\n";
}
void
dump_clib_info( boost::exception const & x )
{
- if( int const * err=boost::get_error_info<errno_info>(x) )
+ if( int const * err=boost::get_error_info<boost::errinfo_errno>(x) )
std::cerr << "OS error: " << *err << "\n";
- if( std::string const * fn=boost::get_error_info<function_info>(x) )
+ if( char const * const * fn=boost::get_error_info<boost::errinfo_api_function>(x) )
std::cerr << "Failed function: " << *fn << "\n";
}
Modified: trunk/libs/exception/example/info_tuple.cpp
==============================================================================
--- trunk/libs/exception/example/info_tuple.cpp (original)
+++ trunk/libs/exception/example/info_tuple.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -3,19 +3,19 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//This example shows how boost::error_info_group can be used to bundle
-//the name of the function that fails together with the reported errno.
+//This example shows how boost::tuple can be used to bundle the
+//name of the function that fails together with the reported errno.
#include <boost/exception/info_tuple.hpp>
+#include <boost/exception/errinfo_file_name.hpp>
+#include <boost/exception/errinfo_api_function.hpp>
+#include <boost/exception/errinfo_errno.hpp>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <string>
#include <errno.h>
-typedef boost::error_info<struct tag_file_name,std::string> file_name_info;
-typedef boost::error_info<struct tag_function,char const *> function_info;
-typedef boost::error_info<struct tag_errno,int> errno_info;
-typedef boost::tuple<function_info,errno_info> clib_failure;
+typedef boost::tuple<boost::errinfo_api_function,boost::errinfo_errno> clib_failure;
class file_open_error: public boost::exception { };
@@ -26,6 +26,6 @@
return boost::shared_ptr<FILE>(f,fclose);
else
throw file_open_error() <<
- file_name_info(name) <<
+ boost::errinfo_file_name(name) <<
clib_failure("fopen",errno);
}
Modified: trunk/libs/exception/example/logging.cpp
==============================================================================
--- trunk/libs/exception/example/logging.cpp (original)
+++ trunk/libs/exception/example/logging.cpp 2009-07-09 03:35:15 EDT (Thu, 09 Jul 2009)
@@ -3,7 +3,7 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//This example shows to print all data contained in a boost::exception.
+//This example shows how to print all data contained in a boost::exception.
#include <boost/exception/all.hpp>
#include <iostream>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk