diff --git a/doc/boost_exception_errinfo_api_function_hpp.html b/doc/boost_exception_errinfo_api_function_hpp.html
index 55b42b9..bd6398c 100644
--- a/doc/boost_exception_errinfo_api_function_hpp.html
+++ b/doc/boost_exception_errinfo_api_function_hpp.html
@@ -27,7 +27,7 @@
namespace
boost
{
- typedef error_info <struct errinfo_api_function_,int> errinfo_api_function ;
+ typedef error_info <struct errinfo_api_function_,char const *> errinfo_api_function ;
}
See Also:
diff --git a/doc/errinfo_api_function.html b/doc/errinfo_api_function.html
index 5071481..e96ddbf 100644
--- a/doc/errinfo_api_function.html
+++ b/doc/errinfo_api_function.html
@@ -27,7 +27,7 @@
namespace
boost
{
-
typedef error_info <struct errinfo_api_function_,int> errinfo_api_function ;
+
typedef error_info <struct errinfo_api_function_,char const *> errinfo_api_function ;
}
This type is designed to be used as a standard error_info instance for transporting the name of a relevant API function (which does not use exceptions to report errors) in exceptions deriving from boost::exception .
Example:
diff --git a/doc/source/boost-exception.reno b/doc/source/boost-exception.reno
index 8877bac..f352cbc 100644
--- a/doc/source/boost-exception.reno
+++ b/doc/source/boost-exception.reno
@@ -48,6 +48,87 @@
reno_context
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ page index
+
+
+ page_idx
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 6
+
+ reno_context
+
+
+
+
+
+
+ 1
+ 756A81C65A938BEEAD9B576707145748A3DB3BF767CC77ADD5AACD549373856A
+ 904132245
+ 744
+ 363
+
+
+
+
+
+ 0
+ ../../example/info_tuple.cpp
+ 0
+ 0
+
+
+
+
+ adding grouped data to exceptions
+
+
+ grouping_data
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+ 7
+
+ reno_context
+
@@ -93,7 +174,7 @@
0
- 6
+ 8
reno_context
@@ -142,7 +223,7 @@
0
- 7
+ 9
reno_context
@@ -187,7 +268,7 @@
0
- 8
+ 10
reno_context
@@ -225,7 +306,7 @@
0
- 9
+ 11
reno_context
@@ -274,7 +355,7 @@
0
- 10
+ 12
reno_context
@@ -317,50 +398,7 @@
0
- 11
-
- reno_context
-
-
-
-
-
-
- 1
- 756A81C65A938BEEAD9B576707145748A3DB3BF767CC77ADD5AACD549373856A
- 904132245
- 744
- 363
-
-
-
-
-
- 0
- ../../example/info_tuple.cpp
- 0
- 0
-
-
-
-
- adding grouped data to exceptions
-
-
- grouping_data
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 12
+ 13
reno_context
@@ -380,10 +418,10 @@
- page index
+ Functions
- page_idx
+ functions
@@ -398,7 +436,52 @@
0
- 13
+ 14
+
+ reno_context
+
+
+
+
+
+
+ 1
+ 21A43755562CB78B3FFCC49F66B457C1FCD659EE98F25BBFA8DDE453EB89DF0E
+ 2576704708
+ 337
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/errinfo_api_function.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/errinfo_api_function.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 15
reno_context
@@ -443,7 +526,7 @@
0
- 14
+ 16
reno_context
@@ -492,7 +575,7 @@
0
- 15
+ 17
reno_context
@@ -537,7 +620,7 @@
0
- 16
+ 18
reno_context
@@ -586,7 +669,7 @@
0
- 17
+ 19
reno_context
@@ -624,7 +707,7 @@
0
- 18
+ 20
reno_context
@@ -673,7 +756,7 @@
0
- 19
+ 21
reno_context
@@ -722,7 +805,7 @@
0
- 20
+ 22
reno_context
@@ -771,7 +854,7 @@
0
- 21
+ 23
reno_context
@@ -816,45 +899,7 @@
0
- 22
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- Functions
-
-
- functions
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 23
+ 24
reno_context
@@ -903,7 +948,45 @@
0
- 24
+ 25
+
+ reno_context
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ boost/exception/enable_current_exception.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 26
reno_context
@@ -952,7 +1035,7 @@
0
- 25
+ 27
reno_context
@@ -997,7 +1080,7 @@
0
- 26
+ 28
reno_context
@@ -1035,7 +1118,7 @@
0
- 27
+ 29
reno_context
@@ -1074,96 +1157,6 @@
0
-
-
- 0
-
- 28
-
- reno_context
-
-
-
-
-
-
- 1
- 21A43755562CB78B3FFCC49F66B457C1FCD659EE98F25BBFA8DDE453EB89DF0E
- 2576704708
- 337
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/errinfo_api_function.hpp
- 0
- 0
-
-
-
-
- boost/exception/errinfo_api_function.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 29
-
- reno_context
-
-
-
-
-
-
- 1
- 12CB2020052A21CD64B436DDCADB749FD935E83CC0D1D8980DAE2B002B8B1F8E
- 4127342641
- 3082
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/get_error_info.hpp
- 0
- 0
-
-
-
-
- boost/exception/get_error_info.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
0
@@ -1172,462 +1165,6 @@
reno_context
-
-
-
-
-
- 2
- 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
- 2238455337
- 9162
- 323
- DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9
- 1137981799
- 192
- 8964
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
-
- enable_current_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 31
-
- reno_context
-
-
-
-
-
-
- 1
- D32E0E4334CE0236B6EDB0EAC484B2DD595860E9FD53701EB5646D62C6A45D4E
- 1054670543
- 866
- 306
-
-
-
-
-
- 0
- ../../example/error_info_2.cpp
- 0
- 0
-
-
-
-
- adding of arbitrary data to active exception objects
-
-
- adding_data_later
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 32
-
- reno_context
-
-
-
-
-
-
- 3
- 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
- 116592015
- 1062
- 344
- 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
- 387228411
- 623
- 433
- 38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50
- 2218658069
- 31
- 143
-
-
-
-
-
- 0
- ../../../../boost/exception/detail/error_info_impl.hpp
- 0
- 0
-
-
-
-
- error_info::value_type
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 33
-
- reno_context
-
-
-
-
-
-
- 2
- CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
- 1114955626
- 11770
- 723
- 6B3B617AC518A2177BDB89656E726B4E4D79577E289130493A61BAE24FB64838
- 3173127726
- 1101
- 2184
-
-
-
-
-
- 0
- ../../../../boost/exception_ptr.hpp
- 0
- 0
-
-
-
-
- unknown_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 34
-
- reno_context
-
-
-
-
-
-
- 2
- 21027A2B73C9AA6FF083752A952D63BBA9B5FD68A3C8915965A7184EA62A5D61
- 1523356166
- 537
- 403
- 24256E1CE56594FB38D0630858B8947191827CFC57771E8727A6A56F76207454
- 665917505
- 66
- 26
-
-
-
-
-
- 0
- ../../../../boost/exception/errinfo_errno.hpp
- 0
- 0
-
-
-
-
- errinfo_errno
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 35
-
- reno_context
-
-
-
-
-
-
- 2
- CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
- 1114955626
- 11770
- 723
- B20A3D4631F3B2415EED1888B65FA33D7AED20F86BE196159D9297AAED115787
- 3293519666
- 117
- 11169
-
-
-
-
-
- 0
- ../../../../boost/exception_ptr.hpp
- 0
- 0
-
-
-
-
- rethrow_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 36
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- Types
-
-
- types
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 37
-
- reno_context
-
-
-
-
-
-
- 1
- A14B5595A6DD87562792D402B48500AAD71FA1ABD75C14EDF089FCC7318CBB9B
- 3469762901
- 468
- 227
-
-
-
-
-
- 0
- ../../../../boost/exception/current_exception_cast.hpp
- 0
- 0
-
-
-
-
- boost/exception/current_exception_cast.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 38
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- boost/exception/enable_current_exception.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 39
-
- reno_context
-
-
-
-
-
-
- 1
- FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717
- 2229778754
- 631
- 319
-
-
-
-
-
- 0
- ../../example/cloning_2.cpp
- 0
- 0
-
-
-
-
- cloning and re-throwing an exception
-
-
- cloning_and_rethrowing
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 40
-
- reno_context
-
@@ -1673,6 +1210,475 @@
(:include include:)
(:auto also:)
+
+
+ 0
+
+ 31
+
+ reno_context
+
+
+
+
+
+
+ 1
+ 4D7009F0868C1DF4898EC6ECF9AD2CFEA98E8653B01B066106761807405D4C22
+ 1416707852
+ 3107
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/get_error_info.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/get_error_info.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 32
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9
+ 1137981799
+ 192
+ 8964
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+
+ enable_current_exception
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 33
+
+ reno_context
+
+
+
+
+
+
+ 1
+ D32E0E4334CE0236B6EDB0EAC484B2DD595860E9FD53701EB5646D62C6A45D4E
+ 1054670543
+ 866
+ 306
+
+
+
+
+
+ 0
+ ../../example/error_info_2.cpp
+ 0
+ 0
+
+
+
+
+ adding of arbitrary data to active exception objects
+
+
+ adding_data_later
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+ 34
+
+ reno_context
+
+
+
+
+
+
+ 3
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
+ 344
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
+ 433
+ 38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50
+ 2218658069
+ 31
+ 143
+
+
+
+
+
+ 0
+ ../../../../boost/exception/detail/error_info_impl.hpp
+ 0
+ 0
+
+
+
+
+ error_info::value_type
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 35
+
+ reno_context
+
+
+
+
+
+
+ 2
+ CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
+ 1114955626
+ 11770
+ 723
+ 6B3B617AC518A2177BDB89656E726B4E4D79577E289130493A61BAE24FB64838
+ 3173127726
+ 1101
+ 2184
+
+
+
+
+
+ 0
+ ../../../../boost/exception_ptr.hpp
+ 0
+ 0
+
+
+
+
+ unknown_exception
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 36
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 21027A2B73C9AA6FF083752A952D63BBA9B5FD68A3C8915965A7184EA62A5D61
+ 1523356166
+ 537
+ 403
+ 24256E1CE56594FB38D0630858B8947191827CFC57771E8727A6A56F76207454
+ 665917505
+ 66
+ 26
+
+
+
+
+
+ 0
+ ../../../../boost/exception/errinfo_errno.hpp
+ 0
+ 0
+
+
+
+
+ errinfo_errno
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 37
+
+ reno_context
+
+
+
+
+
+
+ 2
+ CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
+ 1114955626
+ 11770
+ 723
+ B20A3D4631F3B2415EED1888B65FA33D7AED20F86BE196159D9297AAED115787
+ 3293519666
+ 117
+ 11169
+
+
+
+
+
+ 0
+ ../../../../boost/exception_ptr.hpp
+ 0
+ 0
+
+
+
+
+ rethrow_exception
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 38
+
+ reno_context
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ Types
+
+
+ types
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 39
+
+ reno_context
+
+
+
+
+
+
+ 1
+ A14B5595A6DD87562792D402B48500AAD71FA1ABD75C14EDF089FCC7318CBB9B
+ 3469762901
+ 468
+ 227
+
+
+
+
+
+ 0
+ ../../../../boost/exception/current_exception_cast.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/current_exception_cast.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 40
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF
+ 1615599655
+ 68
+ 227
+ 34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB
+ 805836816
+ 66
+ 1
+
+
+
+
+
+ 0
+ ../../../../boost/exception/error_info.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/error_info.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
0
@@ -1681,6 +1687,49 @@
reno_context
+
+
+
+
+
+ 1
+ FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717
+ 2229778754
+ 631
+ 319
+
+
+
+
+
+ 0
+ ../../example/cloning_2.cpp
+ 0
+ 0
+
+
+
+
+ cloning and re-throwing an exception
+
+
+ cloning_and_rethrowing
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+ 42
+
+ reno_context
+
@@ -1715,7 +1764,7 @@
0
- 42
+ 43
reno_context
@@ -1764,7 +1813,7 @@
0
- 43
+ 44
reno_context
@@ -1817,7 +1866,7 @@
0
- 44
+ 45
reno_context
@@ -1866,7 +1915,7 @@
0
- 45
+ 46
reno_context
@@ -1904,7 +1953,7 @@
0
- 46
+ 47
reno_context
@@ -1940,7 +1989,7 @@
0
- 47
+ 48
reno_context
@@ -1974,7 +2023,7 @@
0
- 48
+ 49
reno_context
@@ -2015,26 +2064,13 @@
0
- -17
+ -19
2
":)
-
-
- 0
-
- -47
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
0
@@ -2052,7 +2088,20 @@
0
- 49
+ -49
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 50
reno_context
@@ -2101,7 +2150,7 @@
0
- 50
+ 51
reno_context
@@ -2146,7 +2195,7 @@
0
- 51
+ 52
reno_context
@@ -2195,7 +2244,7 @@
0
- 52
+ 53
reno_context
@@ -2240,7 +2289,7 @@
0
- 53
+ 54
reno_context
@@ -2278,7 +2327,7 @@
0
- 54
+ 55
reno_context
@@ -2327,7 +2376,7 @@
0
- 55
+ 56
reno_context
@@ -2372,7 +2421,7 @@
0
- 56
+ 57
reno_context
@@ -2421,7 +2470,7 @@
0
- 57
+ 58
reno_context
@@ -2431,13 +2480,13 @@
2
- 4951AD2B59F146F3239CD8DC83B984EA854EF190F117FA525DAEC045B2FDDC29
- 2306670270
- 2901
+ D58AD357499A5A09FB5D12397CFFC2FFD412AC8A307ABB59C9BC53ACCA3B959D
+ 2209414553
+ 2926
504
- D68146065629FE0D77CC52D7CA5C71A3DBC64A09BE528FAF6FBAC2BA7BD37F6F
- 3570398870
- 2869
+ 49F40FF20D66B205C908A8F10BC61DE1BC571E4917A5BD0B4115E3F7FE3923FA
+ 638776689
+ 2894
26
@@ -2470,7 +2519,7 @@
0
- 58
+ 59
reno_context
@@ -2519,7 +2568,7 @@
0
- 59
+ 60
reno_context
@@ -2560,55 +2609,6 @@
(:include include:)
(:auto also:)
-
-
- 0
-
- 60
-
- reno_context
-
-
-
-
-
-
- 2
- 9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF
- 1615599655
- 68
- 227
- 34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB
- 805836816
- 66
- 1
-
-
-
-
-
- 0
- ../../../../boost/exception/error_info.hpp
- 0
- 0
-
-
-
-
- boost/exception/error_info.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
0
@@ -3494,27 +3494,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_api_function_,int>
- 1
-
- 0
-
- -14
-
-
- 2
- ;@]
+ 0
@@ -3536,7 +3516,27 @@
- 0
+ 5
+ 2
+ [@typedef (:link
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ :)<struct errinfo_api_function_,char const *> (:link
+ 1
+
+ 0
+
+ -16
+
+
+ 2
+ :);@]
@@ -3558,36 +3558,7 @@
- 7
- 2
- [@class
(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :)
{
protected:
(:include
- 1
-
- 0
-
- -43
-
-
- 2
- decl pre_indent="4":)
(:include
- 1
-
- 0
-
- -6
-
-
- 2
- decl pre_indent="4":)
};@]
+ 0
@@ -3609,7 +3580,36 @@
- 0
+ 7
+ 2
+ [@class
(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :)
{
protected:
(:include
+ 1
+
+ 0
+
+ -44
+
+
+ 2
+ decl pre_indent="4":)
(:include
+ 1
+
+ 0
+
+ -8
+
+
+ 2
+ decl pre_indent="4":)
};@]
@@ -3653,27 +3653,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_file_handle_,weak_ptr<FILE> >
- 1
-
- 0
-
- -24
-
-
- 2
- ;@]
+ 0
@@ -3695,7 +3675,27 @@
- 0
+ 5
+ 2
+ [@typedef
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <struct errinfo_file_handle_,weak_ptr<FILE> >
+ 1
+
+ 0
+
+ -26
+
+
+ 2
+ ;@]
@@ -3783,27 +3783,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_errno_,int>
- 1
-
- 0
-
- -34
-
-
- 2
- ;@]
+ 0
@@ -3825,7 +3805,27 @@
- 0
+ 5
+ 2
+ [@typedef
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <struct errinfo_errno_,int>
+ 1
+
+ 0
+
+ -36
+
+
+ 2
+ ;@]
@@ -3967,6 +3967,17 @@
-49
+
+ 0
+
+
+
+
+ 0
+
+ -50
+
+
5
2
@@ -3984,24 +3995,13 @@
0
- -49
+ -50
2
;@]
-
-
- 0
-
- -50
-
-
-
- 0
-
-
0
@@ -4065,27 +4065,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_file_name_,std::string>
- 1
-
- 0
-
- -56
-
-
- 2
- ;@]
+ 0
@@ -4096,7 +4076,27 @@
- 0
+ 5
+ 2
+ [@typedef (:link
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ :)<struct errinfo_file_name_,std::string> (:link
+ 1
+
+ 0
+
+ -57
+
+
+ 2
+ :);@]
@@ -4262,7 +4262,7 @@
0
- -32
+ -34
2
@@ -4271,7 +4271,7 @@
0
- -20
+ -22
2
@@ -4280,7 +4280,7 @@
0
- -40
+ -30
2
@@ -4507,63 +4507,7 @@
- 13
- 2
- [@(:include
- 1
-
- 0
-
- -33
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -5
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -54
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -16
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -19
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -35
-
-
- 2
- decl:)@]
+ 0
@@ -4574,7 +4518,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -16
+
+
+ 2
+ def:)@]
@@ -4585,18 +4540,63 @@
- 3
+ 13
2
[@(:include
1
0
- -65
+ -35
2
- def:)@]
+ decl:)
(:include
+ 1
+
+ 0
+
+ -7
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -18
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -37
+
+
+ 2
+ decl:)@]
@@ -4618,7 +4618,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -65
+
+
+ 2
+ def:)@]
@@ -4662,27 +4673,7 @@
- 5
- 2
- [@(:include
- 1
-
- 0
-
- -61
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -51
-
-
- 2
- decl:)@]
+ 0
@@ -4704,7 +4695,27 @@
- 0
+ 5
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -61
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -52
+
+
+ 2
+ decl:)@]
@@ -4733,11 +4744,11 @@
0
- -24
+ -32
2
- def:)@]
+ decl:)@]
@@ -4758,17 +4769,6 @@
-27
-
- 0
-
-
-
-
- 0
-
- -28
-
-
3
2
@@ -4777,13 +4777,24 @@
0
- -14
+ -26
2
def:)@]
+
+
+ 0
+
+ -28
+
+
+
+ 0
+
+
0
@@ -4792,18 +4803,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -57
-
-
- 2
- decl:)@]
+ 0
@@ -4825,7 +4825,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -58
+
+
+ 2
+ decl:)@]
@@ -4891,18 +4902,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -23
-
-
- 2
- decl:)@]
+ 0
@@ -4913,18 +4913,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -30
-
-
- 2
- decl:)@]
+ 0
@@ -4935,7 +4924,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -24
+
+
+ 2
+ decl:)@]
@@ -4946,7 +4946,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ decl:)@]
@@ -5077,6 +5088,17 @@
-52
+
+ 0
+
+
+
+
+ 0
+
+ -53
+
+
29
2
@@ -5085,7 +5107,7 @@
0
- -21
+ -23
2
@@ -5094,7 +5116,7 @@
0
- -60
+ -40
2
@@ -5112,7 +5134,7 @@
0
- -29
+ -31
2
@@ -5136,24 +5158,6 @@
2
:)>
#include <(:link
1
-
- 0
-
- -13
-
-
- 2
- :)>
#include <(:link
- 1
-
- 0
-
- -28
-
-
- 2
- :)>
#include <(:link
- 1
0
@@ -5163,6 +5167,24 @@
2
:)>
#include <(:link
1
+
+ 0
+
+ -14
+
+
+ 2
+ :)>
#include <(:link
+ 1
+
+ 0
+
+ -17
+
+
+ 2
+ :)>
#include <(:link
+ 1
0
@@ -5175,7 +5197,7 @@
0
- -25
+ -27
2
@@ -5193,7 +5215,7 @@
0
- -59
+ -60
2
@@ -5213,7 +5235,7 @@
0
- -53
+ -54
@@ -5224,24 +5246,13 @@
0
- -9
+ -11
2
decl:)@]
-
-
- 0
-
- -54
-
-
-
- 0
-
-
0
@@ -5250,27 +5261,7 @@
- 5
- 2
- [@(:include
- 1
-
- 0
-
- -50
-
-
- 2
- decl:)
namespace
boost
{
(:include
- 1
-
- 0
-
- -58
-
-
- 2
- decl:)
}@]
+ 0
@@ -5281,7 +5272,27 @@
- 0
+ 5
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -51
+
+
+ 2
+ decl:)
namespace
boost
{
(:include
+ 1
+
+ 0
+
+ -59
+
+
+ 2
+ decl:)
}@]
@@ -5314,18 +5325,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -66
-
-
- 2
- def:)@]
+ 0
@@ -5343,11 +5343,11 @@
0
- -67
+ -66
2
- decl:)@]
+ def:)@]
@@ -5387,7 +5387,7 @@
0
- -34
+ -36
2
@@ -5409,7 +5409,7 @@
0
- -18
+ -20
2
@@ -5522,7 +5522,7 @@
0
- -56
+ -57
2
@@ -5553,7 +5553,7 @@
0
- -44
+ -45
2
@@ -5575,7 +5575,7 @@
0
- -49
+ -50
2
@@ -5597,7 +5597,7 @@
0
- -42
+ -43
2
@@ -5669,6 +5669,28 @@
-5
+
+ 0
+
+
+
+
+ 0
+
+ -6
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -7
+
+
5
2
@@ -5686,7 +5708,7 @@
0
- -5
+ -7
2
@@ -5697,7 +5719,7 @@
0
- -6
+ -8
@@ -5708,35 +5730,13 @@
0
- -6
+ -8
2
mod="m":)();@]
-
-
- 0
-
- -7
-
-
-
- 0
-
-
-
-
- 0
-
- -8
-
-
-
- 0
-
-
0
@@ -5745,18 +5745,7 @@
- 3
- 2
- [@template <class T>
---unspecified--- (:link
- 1
-
- 0
-
- -9
-
-
- 2
- :)( T const & x );@]
+ 0
@@ -5778,7 +5767,18 @@
- 0
+ 3
+ 2
+ [@template <class T>
---unspecified--- (:link
+ 1
+
+ 0
+
+ -11
+
+
+ 2
+ :)( T const & x );@]
@@ -5833,27 +5833,7 @@
- 5
- 2
- [@template <class T>
(:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) (:link
- 1
-
- 0
-
- -16
-
-
- 2
- :)( T const & e );@]
+ 0
@@ -5875,9 +5855,18 @@
- 3
+ 5
2
- [@class (:link
+ [@template <class T>
(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) (:link
1
0
@@ -5886,7 +5875,7 @@
2
- :);@]
+ :)( T const & e );@]
@@ -5897,27 +5886,7 @@
- 5
- 2
- [@(:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :)();@]
+ 0
@@ -5928,9 +5897,9 @@
- 5
+ 3
2
- [@(:link
+ [@class (:link
1
0
@@ -5939,16 +5908,7 @@
2
- mod="m":)( (:link
- 1
-
- 0
-
- -32
-
-
- 2
- mod="m":) const & v );@]
+ :);@]
@@ -5959,7 +5919,27 @@
- 0
+ 5
+ 2
+ [@(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :)();@]
@@ -5970,7 +5950,27 @@
- 0
+ 5
+ 2
+ [@(:link
+ 1
+
+ 0
+
+ -22
+
+
+ 2
+ mod="m":)( (:link
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ mod="m":) const & v );@]
@@ -5981,18 +5981,7 @@
- 3
- 2
- [@template <class E>
E *
- 1
-
- 0
-
- -23
-
-
- 2
- ();@]
+ 0
@@ -6003,7 +5992,18 @@
- 0
+ 3
+ 2
+ [@template <class E>
E *
+ 1
+
+ 0
+
+ -24
+
+
+ 2
+ ();@]
@@ -6069,9 +6069,18 @@
- 3
+ 9
2
- [@template <class T>
---unspecified--- (:link
+ [@(:link
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ mod="m":) const & (:link
1
0
@@ -6080,7 +6089,25 @@
2
- :)( T const & e );@]
+ mod="m":)() const;
(:link
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ mod="m":) & (:link
+ 1
+
+ 0
+
+ -30
+
+
+ 2
+ mod="m":)();@]
@@ -6104,7 +6131,7 @@
3
2
- [@typedef T (:link
+ [@template <class T>
---unspecified--- (:link
1
0
@@ -6113,7 +6140,7 @@
2
- mod="m":);@]
+ :)( T const & e );@]
@@ -6124,27 +6151,7 @@
- 5
- 2
- [@class
(:link
- 1
-
- 0
-
- -33
-
-
- 2
- :):
public std::exception
public boost::
- 1
-
- 0
-
- -18
-
-
- 2
-
{
---unspecified---
};@]
+ 0
@@ -6155,7 +6162,18 @@
- 0
+ 3
+ 2
+ [@typedef T (:link
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ mod="m":);@]
@@ -6168,7 +6186,7 @@
5
2
- [@void (:link
+ [@class
(:link
1
0
@@ -6177,16 +6195,16 @@
2
- :)( (:link
+ :):
public std::exception
public boost::
1
0
- -54
+ -20
2
- :) const & ep );
+
{
---unspecified---
};@]
@@ -6208,7 +6226,27 @@
- 0
+ 5
+ 2
+ [@void (:link
+ 1
+
+ 0
+
+ -37
+
+
+ 2
+ :)( (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) const & ep );
@@ -6241,45 +6279,7 @@
- 9
- 2
- [@(:link
- 1
-
- 0
-
- -32
-
-
- 2
- mod="m":) const & (:link
- 1
-
- 0
-
- -40
-
-
- 2
- mod="m":)() const;
(:link
- 1
-
- 0
-
- -32
-
-
- 2
- mod="m":) & (:link
- 1
-
- 0
-
- -40
-
-
- 2
- mod="m":)();@]
+ 0
@@ -6300,6 +6300,17 @@
-42
+
+ 0
+
+
+
+
+ 0
+
+ -43
+
+
7
2
@@ -6308,7 +6319,7 @@
0
- -42
+ -43
2
@@ -6337,7 +6348,7 @@
0
- -43
+ -44
@@ -6348,7 +6359,7 @@
0
- -43
+ -44
2
@@ -6357,7 +6368,7 @@
0
- -43
+ -44
2
@@ -6366,7 +6377,7 @@
0
- -18
+ -20
2
@@ -6377,7 +6388,7 @@
0
- -44
+ -45
@@ -6388,7 +6399,7 @@
0
- -44
+ -45
2
@@ -6404,17 +6415,6 @@
:)<Tag,T> const & v );@]
-
-
- 0
-
- -45
-
-
-
- 0
-
-
0
@@ -6466,6 +6466,17 @@
-50
+
+ 0
+
+
+
+
+ 0
+
+ -51
+
+
19
2
@@ -6483,7 +6494,7 @@
0
- -50
+ -51
2
@@ -6492,7 +6503,7 @@
0
- -58
+ -59
2
@@ -6501,7 +6512,7 @@
0
- -9
+ -11
2
@@ -6537,7 +6548,7 @@
0
- -50
+ -51
2
@@ -6546,7 +6557,7 @@
0
- -58
+ -59
2
@@ -6557,7 +6568,7 @@
0
- -51
+ -52
@@ -6568,24 +6579,13 @@
0
- -51
+ -52
2
:)();@]
-
-
- 0
-
- -52
-
-
-
- 0
-
-
0
@@ -6605,18 +6605,7 @@
- 3
- 2
- [@typedef ---unspecified--- (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :);@]
+ 0
@@ -6627,7 +6616,18 @@
- 0
+ 3
+ 2
+ [@typedef ---unspecified--- (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :);@]
@@ -6649,9 +6649,7 @@
- 1
- 2
- [@template <class ErrorInfo,class E>
typename ErrorInfo::(:link error_info::value_type mod="m":) const * (:link get_error_info:)( E const & x );
template <class ErrorInfo,class E>
typename ErrorInfo::(:link error_info::value_type mod="m":) * (:link get_error_info:)( E & x );@]
+ 0
@@ -6662,27 +6660,9 @@
- 5
+ 1
2
- [@#ifdef BOOST_NO_EXCEPTIONS
void (:link
- 1
-
- 0
-
- -58
-
-
- 2
- :)( std::exception const & e ); // user defined
#else
template <class E>
void (:link
- 1
-
- 0
-
- -58
-
-
- 2
- :)( E const & e );
#endif@]
+ [@template <class ErrorInfo,class E>
typename ErrorInfo::(:link error_info::value_type mod="m":) const * (:link get_error_info:)( E const & x );
template <class ErrorInfo,class E>
typename ErrorInfo::(:link error_info::value_type mod="m":) * (:link get_error_info:)( E & x );@]
@@ -6693,7 +6673,27 @@
- 0
+ 5
+ 2
+ [@#ifdef BOOST_NO_EXCEPTIONS
void (:link
+ 1
+
+ 0
+
+ -59
+
+
+ 2
+ :)( std::exception const & e ); // user defined
#else
template <class E>
void (:link
+ 1
+
+ 0
+
+ -59
+
+
+ 2
+ :)( E const & e );
#endif@]
@@ -6740,7 +6740,7 @@
0
- -54
+ -55
2
@@ -6956,45 +6956,9 @@
- 9
+ 1
2
- (:auto !!!:)
(:include synopsis:)
This
- 1
-
- 0
-
- -67
-
-
- 2
- typedef is used by
- 1
-
- 0
-
- -19
-
-
- 2
- if it defaults to returning an
- 1
-
- 0
-
- -54
-
-
- 2
- that refers to an object of type
- 1
-
- 0
-
- -33
-
-
- 2
- , to record in it the std::type_info of the original exception object.
+ (:auto !:)
This is an alphabetical list of all Boost Exception documentation pages.
(:pagelist fmt="index" except_tags="index noindex" mod="w":)
@@ -7004,170 +6968,6 @@
-6
-
- 3
- 2
- (:auto !!!:)
(:include decl:)
!!!!Effects:
Frees all resources associated with a boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) object.
!!!!Throws:
Nothing.
-
-
-
-
- 0
-
- -7
-
-
-
- 3
- 2
- (:auto !!:)
This header has been deprecated.
Please #include <
- 1
-
- 0
-
- -52
-
-
- 2
- > instead.
-
-
-
-
- 0
-
- -8
-
-
-
- 5
- 2
- (: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 passed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See (:link
- 1
-
- 0
-
- -47
-
-
- 2
- mod="w":).
-
-
-
-
- 0
-
- -9
-
-
-
- 5
- 2
- (: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
- 1
-
- 0
-
- -18
-
-
- 2
- :), 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
- 1
-
- 0
-
- -18
-
-
- 2
- :). The T sub-object is initialized from x by the T copy constructor.
!!!!Throws:
Nothing.
-
-
-
-
- 0
-
- -10
-
-
-
- 11
- 2
- !!!!Example:
this is a possible output from the (:link
- 1
-
- 0
-
- -61
-
-
- 2
- :) 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<struct fopen_error>
std::exception::what: example_io error
[struct boost::(:link
- 1
-
- 0
-
- -14
-
-
- 2
- :)_ *] = fopen
[struct boost::(:link
- 1
-
- 0
-
- -34
-
-
- 2
- :)_ *] = 2, "No such file or directory"
[struct boost::(:link
- 1
-
- 0
-
- -56
-
-
- 2
- :)_ *] = tmp1.txt
[struct boost::(:link
- 1
-
- 0
-
- -66
-
-
- 2
- :)_ *] = rb@]
-
-
-
-
- 0
-
- -11
-
-
19
2
@@ -7194,7 +6994,7 @@
0
- -28
+ -14
2
@@ -7212,7 +7012,7 @@
0
- -14
+ -16
2
@@ -7221,7 +7021,7 @@
0
- -34
+ -36
2
@@ -7230,7 +7030,7 @@
0
- -18
+ -20
2
@@ -7239,7 +7039,7 @@
0
- -56
+ -57
2
@@ -7248,13 +7048,168 @@
0
- -57
+ -58
2
:).
+
+
+ 0
+
+ -7
+
+
+
+ 9
+ 2
+ (:auto !!!:)
(:include synopsis:)
This
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ typedef is used by
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ if it defaults to returning an
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ that refers to an object of type
+ 1
+
+ 0
+
+ -35
+
+
+ 2
+ , to record in it the std::type_info of the original exception object.
+
+
+
+
+ 0
+
+ -8
+
+
+
+ 3
+ 2
+ (:auto !!!:)
(:include decl:)
!!!!Effects:
Frees all resources associated with a boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) object.
!!!!Throws:
Nothing.
+
+
+
+
+ 0
+
+ -9
+
+
+
+ 3
+ 2
+ (:auto !!:)
This header has been deprecated.
Please #include <
+ 1
+
+ 0
+
+ -53
+
+
+ 2
+ > instead.
+
+
+
+
+ 0
+
+ -10
+
+
+
+ 5
+ 2
+ (: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 passed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See (:link
+ 1
+
+ 0
+
+ -48
+
+
+ 2
+ mod="w":).
+
+
+
+
+ 0
+
+ -11
+
+
+
+ 5
+ 2
+ (: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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :), 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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :). The T sub-object is initialized from x by the T copy constructor.
!!!!Throws:
Nothing.
+
+
0
@@ -7263,9 +7218,54 @@
- 1
+ 11
2
- (:auto !:)
This is an alphabetical list of all Boost Exception documentation pages.
(:pagelist fmt="index" except_tags="index noindex" mod="w":)
+ !!!!Example:
this is a possible output from the (:link
+ 1
+
+ 0
+
+ -61
+
+
+ 2
+ :) 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<struct fopen_error>
std::exception::what: example_io error
[struct boost::(:link
+ 1
+
+ 0
+
+ -16
+
+
+ 2
+ :)_ *] = fopen
[struct boost::(:link
+ 1
+
+ 0
+
+ -36
+
+
+ 2
+ :)_ *] = 2, "No such file or directory"
[struct boost::(:link
+ 1
+
+ 0
+
+ -57
+
+
+ 2
+ :)_ *] = tmp1.txt
[struct boost::(:link
+ 1
+
+ 0
+
+ -66
+
+
+ 2
+ :)_ *] = rb@]
@@ -7278,7 +7278,7 @@
1
2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
+ (:auto !!:)
(:pagelist fmt="index" tags="function":)
@@ -7289,36 +7289,9 @@
- 7
+ 1
2
- (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard (:link
- 1
-
- 0
-
- -67
-
-
- 2
- :) instance for transporting the name of a relevant API function (which does not use exceptions to report errors) in exceptions deriving from boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :).
!!!Example:
(:include
- 1
-
- 0
-
- -77
-
-
- 2
- :)
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -7342,27 +7315,36 @@
- 5
+ 7
2
- (:auto !!!:)
(:include synopsis:)
!!!!Effects:
As if
[@try
{
throw
+ (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard (:link
1
0
- -30
+ -67
2
- (e);
}
catch(...)
{
return (:link
+ :) instance for transporting the name of a relevant API function (which does not use exceptions to report errors) in exceptions deriving from boost::(:link
1
0
- -19
+ -20
2
- :)();
}@]
+ :).
!!!Example:
(:include
+ 1
+
+ 0
+
+ -77
+
+
+ 2
+ :)
@@ -7372,6 +7354,50 @@
-17
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -18
+
+
+
+ 5
+ 2
+ (:auto !!!:)
(:include synopsis:)
!!!!Effects:
As if
[@try
{
throw
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ (e);
}
catch(...)
{
return (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :)();
}@]
+
+
+
+
+ 0
+
+ -19
+
+
79
2
@@ -7380,7 +7406,7 @@
0
- -8
+ -10
2
@@ -7389,7 +7415,7 @@
0
- -18
+ -20
2
@@ -7398,7 +7424,7 @@
0
- -9
+ -11
2
@@ -7407,7 +7433,7 @@
0
- -18
+ -20
2
@@ -7425,7 +7451,7 @@
0
- -18
+ -20
2
@@ -7434,7 +7460,7 @@
0
- -44
+ -45
2
@@ -7443,7 +7469,7 @@
0
- -18
+ -20
2
@@ -7452,7 +7478,7 @@
0
- -18
+ -20
2
@@ -7461,7 +7487,7 @@
0
- -44
+ -45
2
@@ -7470,7 +7496,7 @@
0
- -18
+ -20
2
@@ -7479,7 +7505,7 @@
0
- -18
+ -20
2
@@ -7488,7 +7514,7 @@
0
- -58
+ -59
2
@@ -7497,7 +7523,7 @@
0
- -18
+ -20
2
@@ -7506,7 +7532,7 @@
0
- -19
+ -21
2
@@ -7515,7 +7541,7 @@
0
- -50
+ -51
2
@@ -7524,7 +7550,7 @@
0
- -58
+ -59
2
@@ -7551,7 +7577,7 @@
0
- -50
+ -51
2
@@ -7560,7 +7586,7 @@
0
- -14
+ -16
2
@@ -7569,7 +7595,7 @@
0
- -34
+ -36
2
@@ -7578,7 +7604,7 @@
0
- -56
+ -57
2
@@ -7596,7 +7622,7 @@
0
- -58
+ -59
2
@@ -7605,7 +7631,7 @@
0
- -18
+ -20
2
@@ -7614,7 +7640,7 @@
0
- -58
+ -59
2
@@ -7623,7 +7649,7 @@
0
- -18
+ -20
2
@@ -7632,7 +7658,7 @@
0
- -54
+ -55
2
@@ -7641,7 +7667,7 @@
0
- -30
+ -32
2
@@ -7650,7 +7676,7 @@
0
- -58
+ -59
2
@@ -7659,7 +7685,7 @@
0
- -18
+ -20
2
@@ -7677,7 +7703,7 @@
0
- -44
+ -45
2
@@ -7686,7 +7712,7 @@
0
- -44
+ -45
2
@@ -7695,7 +7721,7 @@
0
- -44
+ -45
2
@@ -7704,7 +7730,7 @@
0
- -44
+ -45
2
@@ -7713,7 +7739,7 @@
0
- -44
+ -45
2
@@ -7733,7 +7759,7 @@
0
- -18
+ -20
@@ -7744,7 +7770,7 @@
0
- -18
+ -20
2
@@ -7753,7 +7779,7 @@
0
- -18
+ -20
2
@@ -7771,7 +7797,7 @@
0
- -44
+ -45
2
@@ -7780,7 +7806,7 @@
0
- -18
+ -20
2
@@ -7789,7 +7815,7 @@
0
- -57
+ -58
2
@@ -7800,7 +7826,7 @@
0
- -19
+ -21
@@ -7811,7 +7837,7 @@
0
- -19
+ -21
2
@@ -7820,7 +7846,7 @@
0
- -54
+ -55
2
@@ -7829,7 +7855,7 @@
0
- -54
+ -55
2
@@ -7838,7 +7864,7 @@
0
- -19
+ -21
2
@@ -7847,7 +7873,7 @@
0
- -19
+ -21
2
@@ -7856,7 +7882,7 @@
0
- -30
+ -32
2
@@ -7865,7 +7891,7 @@
0
- -19
+ -21
2
@@ -7874,7 +7900,7 @@
0
- -54
+ -55
2
@@ -7883,7 +7909,7 @@
0
- -33
+ -35
2
@@ -7892,7 +7918,7 @@
0
- -18
+ -20
2
@@ -7901,7 +7927,7 @@
0
- -18
+ -20
2
@@ -7910,7 +7936,7 @@
0
- -18
+ -20
2
@@ -7919,7 +7945,7 @@
0
- -54
+ -55
2
@@ -7928,7 +7954,7 @@
0
- -18
+ -20
2
@@ -7937,7 +7963,7 @@
0
- -57
+ -58
2
@@ -7946,7 +7972,7 @@
0
- -5
+ -7
2
@@ -7957,7 +7983,7 @@
0
- -20
+ -22
@@ -7979,7 +8005,7 @@
0
- -21
+ -23
@@ -7992,20 +8018,7 @@
0
- -22
-
-
-
- 1
- 2
- (:auto !!:)
(:pagelist fmt="index" tags="function":)
-
-
-
-
- 0
-
- -23
+ -24
@@ -8018,7 +8031,20 @@
0
- -24
+ -25
+
+
+
+ 1
+ 2
+ (:auto !!!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -26
@@ -8038,7 +8064,7 @@
0
- -18
+ -20
2
@@ -8058,7 +8084,7 @@
0
- -25
+ -27
@@ -8071,7 +8097,7 @@
0
- -26
+ -28
@@ -8082,7 +8108,7 @@
0
- -30
+ -32
2
@@ -8091,7 +8117,7 @@
0
- -58
+ -59
2
@@ -8100,7 +8126,7 @@
0
- -18
+ -20
2
@@ -8109,7 +8135,7 @@
0
- -27
+ -29
2
@@ -8118,7 +8144,7 @@
0
- -39
+ -41
2
@@ -8129,7 +8155,7 @@
0
- -27
+ -29
@@ -8158,7 +8184,7 @@
0
- -18
+ -20
2
@@ -8167,7 +8193,7 @@
0
- -30
+ -32
2
@@ -8176,7 +8202,7 @@
0
- -34
+ -36
2
@@ -8185,7 +8211,7 @@
0
- -30
+ -32
2
@@ -8194,39 +8220,13 @@
0
- -18
+ -20
2
:).
-
-
- 0
-
- -28
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -29
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
0
@@ -8234,532 +8234,6 @@
-30
-
- 21
- 2
- (: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
- 1
-
- 0
-
- -54
-
-
- 2
- :) support in Boost Exception. For example:
[@class
my_exception:
public std::exception
{
};
....
throw boost::(:link
- 1
-
- 0
-
- -30
-
-
- 2
- :)(my_exception());@]
Unless (:link
- 1
-
- 0
-
- -30
-
-
- 2
- :) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) may return an (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) which refers to an instance of (:link
- 1
-
- 0
-
- -33
-
-
- 2
- :). See (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) for details.
!!!!Note:
Instead of using the throw keyword directly, it is preferable to call boost::(:link
- 1
-
- 0
-
- -58
-
-
- 2
- :). This is guaranteed to throw an exception that derives from boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) and supports the (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) functionality.
-
-
-
-
- 0
-
- -31
-
-
-
- 19
- 2
- (: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
- 1
-
- 0
-
- -18
-
-
- 2
- :) allows us to free the file_read function from the burden of storing the file name in exceptions it throws:
[@`#include <(:link
- 1
-
- 0
-
- -52
-
-
- 2
- :)>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <errno.h>
struct file_read_error: virtual boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) { };
void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
throw file_read_error() << boost::(:link
- 1
-
- 0
-
- -34
-
-
- 2
- :)(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
- 1
-
- 0
-
- -52
-
-
- 2
- :)>
#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
- 1
-
- 0
-
- -18
-
-
- 2
- :) & e )
{
e << boost::(:link
- 1
-
- 0
-
- -56
-
-
- 2
- :)(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
- 1
-
- 0
-
- -18
-
-
- 2
- :) 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
- 1
-
- 0
-
- -18
-
-
- 2
- :) 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''.
-
-
-
-
- 0
-
- -32
-
-
-
- 5
- 2
- (:auto !!!:)
(:include synopsis:)
!!!!Definition:
The expression
- 1
-
- 0
-
- -67
-
-
- 2
- <Tag,T>::(:link
- 1
-
- 0
-
- -32
-
-
- 2
- mod="m":) evaluates to T.
-
-
-
-
- 0
-
- -33
-
-
-
- 5
- 2
- (:auto !!!:)
(:include synopsis:)
This type is used by the (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) support in Boost Exception. Please see (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :).
-
-
-
-
- 0
-
- -34
-
-
-
- 7
- 2
- (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard (:link
- 1
-
- 0
-
- -67
-
-
- 2
- :) instance for transporting a relevant errno value in exceptions deriving from boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :).
!!!Example:
(:include
- 1
-
- 0
-
- -77
-
-
- 2
- :)
-
-
-
-
- 0
-
- -35
-
-
-
- 1
- 2
- (:auto !!!:)
(:include synopsis:)
!!!!Precondition:
ep shall not be null.
!!!!Throws:
The exception to which ep refers.
-
-
-
-
- 0
-
- -36
-
-
-
- 1
- 2
- (:auto !!:)
(:pagelist fmt="index" tags="type":)
-
-
-
-
- 0
-
- -37
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -38
-
-
-
- 1
- 2
- (:auto !!!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -39
-
-
-
- 37
- 2
- (:auto !!!:)
When you catch an exception, you can call (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) to get an (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) object:
[@#include <(:link
- 1
-
- 0
-
- -13
-
-
- 2
- :)>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
void do_work(); //throws cloning-enabled boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :)s
void
worker_thread( boost::(:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) & error )
{
try
{
do_work();
error = boost::(:link
- 1
-
- 0
-
- -54
-
-
- 2
- :)();
}
catch(
... )
{
error = boost::(:link
- 1
-
- 0
-
- -19
-
-
- 2
- :)();
}
}@]
In the above example, note that (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) captures the original type of the exception object. The exception can be thrown again using the (:link
- 1
-
- 0
-
- -35
-
-
- 2
- :) function:
[@// ...continued
void
work()
{
boost::(:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) 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
- 1
-
- 0
-
- -35
-
-
- 2
- :)(error);
}@]
Note that (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) could fail to copy the original exception object in the following cases:
* if there is not enough memory, in which case the returned (:link
- 1
-
- 0
-
- -54
-
-
- 2
- :) points to an instance of std::bad_alloc, or
* if (:link
- 1
-
- 0
-
- -30
-
-
- 2
- :) 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
- 1
-
- 0
-
- -54
-
-
- 2
- :) points to an instance of (:link
- 1
-
- 0
-
- -33
-
-
- 2
- :).
Regardless, the use of (:link
- 1
-
- 0
-
- -19
-
-
- 2
- :) and (:link
- 1
-
- 0
-
- -35
-
-
- 2
- :) in the above examples is well-formed.
-
-
-
-
- 0
-
- -40
-
-
5
2
@@ -8784,6 +8258,370 @@
:) object.
!!!!Throws:
Nothing.
+
+
+ 0
+
+ -31
+
+
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -32
+
+
+
+ 21
+ 2
+ (: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
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) support in Boost Exception. For example:
[@class
my_exception:
public std::exception
{
};
....
throw boost::(:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ :)(my_exception());@]
Unless (:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ :) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) may return an (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) which refers to an instance of (:link
+ 1
+
+ 0
+
+ -35
+
+
+ 2
+ :). See (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) for details.
!!!!Note:
Instead of using the throw keyword directly, it is preferable to call boost::(:link
+ 1
+
+ 0
+
+ -59
+
+
+ 2
+ :). This is guaranteed to throw an exception that derives from boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) and supports the (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) functionality.
+
+
+
+
+ 0
+
+ -33
+
+
+
+ 19
+ 2
+ (: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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) allows us to free the file_read function from the burden of storing the file name in exceptions it throws:
[@`#include <(:link
+ 1
+
+ 0
+
+ -53
+
+
+ 2
+ :)>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
#include <errno.h>
struct file_read_error: virtual boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) { };
void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
throw file_read_error() << boost::(:link
+ 1
+
+ 0
+
+ -36
+
+
+ 2
+ :)(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
+ 1
+
+ 0
+
+ -53
+
+
+ 2
+ :)>
#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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) & e )
{
e << boost::(:link
+ 1
+
+ 0
+
+ -57
+
+
+ 2
+ :)(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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) 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
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) 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''.
+
+
+
+
+ 0
+
+ -34
+
+
+
+ 5
+ 2
+ (:auto !!!:)
(:include synopsis:)
!!!!Definition:
The expression
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <Tag,T>::(:link
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ mod="m":) evaluates to T.
+
+
+
+
+ 0
+
+ -35
+
+
+
+ 5
+ 2
+ (:auto !!!:)
(:include synopsis:)
This type is used by the (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) support in Boost Exception. Please see (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :).
+
+
+
+
+ 0
+
+ -36
+
+
+
+ 7
+ 2
+ (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard (:link
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ :) instance for transporting a relevant errno value in exceptions deriving from boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :).
!!!Example:
(:include
+ 1
+
+ 0
+
+ -77
+
+
+ 2
+ :)
+
+
+
+
+ 0
+
+ -37
+
+
+
+ 1
+ 2
+ (:auto !!!:)
(:include synopsis:)
!!!!Precondition:
ep shall not be null.
!!!!Throws:
The exception to which ep refers.
+
+
+
+
+ 0
+
+ -38
+
+
+
+ 1
+ 2
+ (:auto !!:)
(:pagelist fmt="index" tags="type":)
+
+
+
+
+ 0
+
+ -39
+
+
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -40
+
+
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
0
@@ -8791,6 +8629,181 @@
-41
+
+ 37
+ 2
+ (:auto !!!:)
When you catch an exception, you can call (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) to get an (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) object:
[@#include <(:link
+ 1
+
+ 0
+
+ -15
+
+
+ 2
+ :)>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
void do_work(); //throws cloning-enabled boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :)s
void
worker_thread( boost::(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) & error )
{
try
{
do_work();
error = boost::(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :)();
}
catch(
... )
{
error = boost::(:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :)();
}
}@]
In the above example, note that (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) captures the original type of the exception object. The exception can be thrown again using the (:link
+ 1
+
+ 0
+
+ -37
+
+
+ 2
+ :) function:
[@// ...continued
void
work()
{
boost::(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) 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
+ 1
+
+ 0
+
+ -37
+
+
+ 2
+ :)(error);
}@]
Note that (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) could fail to copy the original exception object in the following cases:
* if there is not enough memory, in which case the returned (:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) points to an instance of std::bad_alloc, or
* if (:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ :) 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
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :) points to an instance of (:link
+ 1
+
+ 0
+
+ -35
+
+
+ 2
+ :).
Regardless, the use of (:link
+ 1
+
+ 0
+
+ -21
+
+
+ 2
+ :) and (:link
+ 1
+
+ 0
+
+ -37
+
+
+ 2
+ :) in the above examples is well-formed.
+
+
+
+
+ 0
+
+ -42
+
+
1
2
@@ -8801,7 +8814,7 @@
0
- -42
+ -43
@@ -8812,7 +8825,7 @@
0
- -18
+ -20
2
@@ -8821,53 +8834,13 @@
0
- -18
+ -20
2
:).
!!!!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:)
-
-
- 0
-
- -43
-
-
-
- 7
- 2
- (:auto !!!:)
(:include decl:)
!!!!Effects:
* Default constructor: initializes an empty boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) object.
* Copy constructor: initializes a boost::(:link
- 1
-
- 0
-
- -18
-
-
- 2
- :) object which shares ownership with x of all data added through (:link
- 1
-
- 0
-
- -44
-
-
- 2
- mod="/":), including data that is added at a future time.
!!!!Throws:
Nothing.
-
-
0
@@ -8875,6 +8848,46 @@
-44
+
+ 7
+ 2
+ (:auto !!!:)
(:include decl:)
!!!!Effects:
* Default constructor: initializes an empty boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) object.
* Copy constructor: initializes a boost::(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ :) object which shares ownership with x of all data added through (:link
+ 1
+
+ 0
+
+ -45
+
+
+ 2
+ mod="/":), including data that is added at a future time.
!!!!Throws:
Nothing.
+
+
+
+
+ 0
+
+ -45
+
+
7
2
@@ -8883,7 +8896,7 @@
0
- -18
+ -20
2
@@ -8892,7 +8905,7 @@
0
- -18
+ -20
2
@@ -8912,7 +8925,7 @@
0
- -45
+ -46
@@ -8923,7 +8936,7 @@
0
- -26
+ -28
2
@@ -8932,7 +8945,7 @@
0
- -58
+ -59
2
@@ -8941,7 +8954,7 @@
0
- -46
+ -47
2
@@ -8956,6 +8969,24 @@
2
mod="w":)
##(:link
1
+
+ 0
+
+ -49
+
+
+ 2
+ mod="w":)
##(:link
+ 1
+
+ 0
+
+ -28
+
+
+ 2
+ mod="w":)
##(:link
+ 1
0
@@ -8968,25 +8999,7 @@
0
- -26
-
-
- 2
- mod="w":)
##(:link
- 1
-
- 0
-
- -47
-
-
- 2
- mod="w":)
##(:link
- 1
-
- 0
-
- -8
+ -10
2
@@ -9004,7 +9017,7 @@
0
- -18
+ -20
2
@@ -9013,7 +9026,7 @@
0
- -50
+ -51
2
@@ -9022,7 +9035,7 @@
0
- -58
+ -59
2
@@ -9040,7 +9053,7 @@
0
- -44
+ -45
2
@@ -9049,7 +9062,7 @@
0
- -42
+ -43
2
@@ -9058,7 +9071,7 @@
0
- -57
+ -58
2
@@ -9067,7 +9080,7 @@
0
- -9
+ -11
2
@@ -9076,7 +9089,7 @@
0
- -54
+ -55
2
@@ -9085,7 +9098,7 @@
0
- -30
+ -32
2
@@ -9094,7 +9107,7 @@
0
- -19
+ -21
2
@@ -9103,7 +9116,16 @@
0
- -16
+ -18
+
+
+ 2
+ :)
###(:link
+ 1
+
+ 0
+
+ -37
2
@@ -9116,15 +9138,6 @@
2
- :)
###(:link
- 1
-
- 0
-
- -33
-
-
- 2
:)
##Diagnostic Information
###(:link
1
@@ -9139,7 +9152,7 @@
0
- -51
+ -52
2
@@ -9148,7 +9161,7 @@
0
- -23
+ -24
2
@@ -9175,7 +9188,7 @@
0
- -36
+ -38
2
@@ -9184,7 +9197,7 @@
0
- -22
+ -13
2
@@ -9193,7 +9206,7 @@
0
- -41
+ -42
2
@@ -9211,7 +9224,7 @@
0
- -17
+ -19
2
@@ -9220,7 +9233,7 @@
0
- -12
+ -5
2
@@ -9231,7 +9244,7 @@
0
- -46
+ -47
@@ -9242,7 +9255,7 @@
0
- -18
+ -20
2
@@ -9251,7 +9264,7 @@
0
- -18
+ -20
2
@@ -9269,7 +9282,7 @@
0
- -44
+ -45
2
@@ -9278,7 +9291,7 @@
0
- -18
+ -20
2
@@ -9296,7 +9309,7 @@
0
- -18
+ -20
2
@@ -9305,7 +9318,7 @@
0
- -44
+ -45
2
@@ -9314,7 +9327,7 @@
0
- -18
+ -20
2
@@ -9323,7 +9336,7 @@
0
- -44
+ -45
2
@@ -9332,7 +9345,7 @@
0
- -18
+ -20
2
@@ -9341,7 +9354,7 @@
0
- -57
+ -58
2
@@ -9350,7 +9363,7 @@
0
- -57
+ -58
2
@@ -9377,7 +9390,7 @@
0
- -18
+ -20
2
@@ -9388,7 +9401,7 @@
0
- -47
+ -48
@@ -9399,7 +9412,7 @@
0
- -18
+ -20
2
@@ -9408,7 +9421,7 @@
0
- -18
+ -20
2
@@ -9417,7 +9430,7 @@
0
- -18
+ -20
2
@@ -9428,7 +9441,7 @@
0
- -48
+ -49
@@ -9439,7 +9452,7 @@
0
- -18
+ -20
2
@@ -9448,7 +9461,7 @@
0
- -9
+ -11
2
@@ -9457,7 +9470,7 @@
0
- -18
+ -20
2
@@ -9466,7 +9479,7 @@
0
- -52
+ -53
2
@@ -9502,7 +9515,7 @@
0
- -9
+ -11
2
@@ -9511,7 +9524,7 @@
0
- -9
+ -11
2
@@ -9520,7 +9533,7 @@
0
- -18
+ -20
2
@@ -9529,7 +9542,7 @@
0
- -44
+ -45
2
@@ -9538,7 +9551,7 @@
0
- -18
+ -20
2
@@ -9558,7 +9571,7 @@
0
- -49
+ -50
@@ -9578,7 +9591,7 @@
0
- -18
+ -20
2
@@ -9589,7 +9602,7 @@
0
- -50
+ -51
@@ -9600,7 +9613,7 @@
0
- -58
+ -59
2
@@ -9609,7 +9622,7 @@
0
- -57
+ -58
2
@@ -9629,7 +9642,7 @@
0
- -51
+ -52
@@ -9640,7 +9653,7 @@
0
- -18
+ -20
2
@@ -9658,7 +9671,7 @@
0
- -51
+ -52
2
@@ -9667,26 +9680,13 @@
0
- -51
+ -52
2
();
}
}@]
-
-
- 0
-
- -52
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
0
@@ -9697,7 +9697,7 @@
1
2
- (:auto !!!:)
!!!Synopsis
(:include synopsis:)
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -9707,6 +9707,19 @@
-54
+
+ 1
+ 2
+ (:auto !!!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -55
+
+
25
2
@@ -9715,7 +9728,7 @@
0
- -54
+ -55
2
@@ -9724,7 +9737,7 @@
0
- -54
+ -55
2
@@ -9733,7 +9746,7 @@
0
- -54
+ -55
2
@@ -9742,7 +9755,7 @@
0
- -54
+ -55
2
@@ -9751,7 +9764,7 @@
0
- -54
+ -55
2
@@ -9760,7 +9773,7 @@
0
- -54
+ -55
2
@@ -9769,7 +9782,7 @@
0
- -54
+ -55
2
@@ -9778,7 +9791,7 @@
0
- -19
+ -21
2
@@ -9787,7 +9800,7 @@
0
- -35
+ -37
2
@@ -9796,7 +9809,7 @@
0
- -54
+ -55
2
@@ -9814,7 +9827,7 @@
0
- -18
+ -20
2
@@ -9825,7 +9838,7 @@
0
- -55
+ -56
@@ -9838,7 +9851,7 @@
0
- -56
+ -57
@@ -9858,7 +9871,7 @@
0
- -18
+ -20
2
@@ -9878,7 +9891,7 @@
0
- -57
+ -58
@@ -9898,7 +9911,7 @@
0
- -18
+ -20
2
@@ -9907,7 +9920,7 @@
0
- -44
+ -45
2
@@ -9916,7 +9929,7 @@
0
- -57
+ -58
2
@@ -9925,7 +9938,7 @@
0
- -57
+ -58
2
@@ -9945,7 +9958,7 @@
0
- -58
+ -59
@@ -9956,7 +9969,7 @@
0
- -58
+ -59
2
@@ -9965,7 +9978,7 @@
0
- -30
+ -32
2
@@ -9974,7 +9987,7 @@
0
- -9
+ -11
2
@@ -9983,7 +9996,7 @@
0
- -58
+ -59
2
@@ -9992,7 +10005,7 @@
0
- -58
+ -59
2
@@ -10001,7 +10014,7 @@
0
- -58
+ -59
2
@@ -10010,7 +10023,7 @@
0
- -57
+ -58
2
@@ -10026,19 +10039,6 @@
.
-
-
- 0
-
- -59
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
0
@@ -10067,7 +10067,7 @@
0
- -18
+ -20
2
@@ -10085,7 +10085,7 @@
0
- -18
+ -20
2
@@ -10094,7 +10094,7 @@
0
- -44
+ -45
2
@@ -10103,7 +10103,7 @@
0
- -18
+ -20
2
@@ -10148,7 +10148,7 @@
0
- -40
+ -30
2
@@ -10157,7 +10157,7 @@
0
- -40
+ -30
2
@@ -10184,7 +10184,7 @@
0
- -54
+ -55
2
@@ -10202,7 +10202,7 @@
0
- -35
+ -37
2
@@ -10211,7 +10211,7 @@
0
- -51
+ -52
2
@@ -10220,7 +10220,7 @@
0
- -10
+ -12
2
@@ -10242,7 +10242,7 @@
0
- -52
+ -53
2
@@ -10260,7 +10260,7 @@
0
- -18
+ -20
2
@@ -10278,7 +10278,7 @@
0
- -18
+ -20
2
@@ -10287,7 +10287,7 @@
0
- -44
+ -45
2
@@ -10296,7 +10296,7 @@
0
- -57
+ -58
2
@@ -10305,7 +10305,7 @@
0
- -57
+ -58
2
@@ -10362,7 +10362,7 @@
0
- -18
+ -20
2
@@ -10402,7 +10402,7 @@
0
- -18
+ -20
2
@@ -10442,7 +10442,7 @@
0
- -44
+ -45
2
@@ -10451,7 +10451,7 @@
0
- -18
+ -20
2
@@ -10460,7 +10460,7 @@
0
- -60
+ -40
2
@@ -10478,7 +10478,7 @@
0
- -60
+ -40
2
@@ -10496,7 +10496,7 @@
0
- -60
+ -40
2
@@ -10514,7 +10514,7 @@
0
- -44
+ -45
2
@@ -10532,7 +10532,7 @@
0
- -18
+ -20
2
@@ -10541,7 +10541,7 @@
0
- -44
+ -45
2
@@ -10550,7 +10550,7 @@
0
- -57
+ -58
2
@@ -10559,7 +10559,7 @@
0
- -29
+ -31
2
@@ -10568,7 +10568,7 @@
0
- -18
+ -20
2
@@ -10577,7 +10577,7 @@
0
- -18
+ -20
2
@@ -10586,7 +10586,7 @@
0
- -57
+ -58
2
@@ -10604,7 +10604,7 @@
0
- -44
+ -45
2
@@ -10626,7 +10626,7 @@
0
- -57
+ -58
2
@@ -10635,7 +10635,7 @@
0
- -57
+ -58
2
@@ -10644,7 +10644,7 @@
0
- -18
+ -20
2
@@ -10653,7 +10653,7 @@
0
- -30
+ -32
2
@@ -10662,7 +10662,7 @@
0
- -9
+ -11
2
@@ -10671,7 +10671,7 @@
0
- -58
+ -59
2
@@ -10680,7 +10680,7 @@
0
- -55
+ -56
2
@@ -10689,7 +10689,7 @@
0
- -58
+ -59
2
@@ -10720,7 +10720,7 @@
0
- -18
+ -20
2
@@ -10729,7 +10729,7 @@
0
- -18
+ -20
2
@@ -10747,7 +10747,7 @@
0
- -31
+ -33
2
@@ -10756,7 +10756,7 @@
0
- -11
+ -6
2
@@ -10839,7 +10839,7 @@
0
- -18
+ -20
2
@@ -10848,7 +10848,7 @@
0
- -18
+ -20
2
@@ -10857,7 +10857,7 @@
0
- -44
+ -45
2
@@ -10866,7 +10866,7 @@
0
- -52
+ -53
2
@@ -10875,7 +10875,7 @@
0
- -18
+ -20
2
@@ -10884,7 +10884,7 @@
0
- -18
+ -20
2
@@ -10902,7 +10902,7 @@
0
- -10
+ -12
2
@@ -10942,7 +10942,7 @@
0
- -60
+ -40
2
@@ -10951,7 +10951,7 @@
0
- -60
+ -40
2
@@ -10996,7 +10996,7 @@
0
- -53
+ -54
2
@@ -11005,7 +11005,7 @@
0
- -53
+ -54
2
@@ -11014,7 +11014,7 @@
0
- -21
+ -23
2
@@ -11023,7 +11023,7 @@
0
- -21
+ -23
2
@@ -11032,7 +11032,7 @@
0
- -37
+ -39
2
@@ -11041,7 +11041,7 @@
0
- -37
+ -39
2
@@ -11050,7 +11050,7 @@
0
- -13
+ -15
2
@@ -11059,7 +11059,7 @@
0
- -13
+ -15
2
@@ -11068,7 +11068,7 @@
0
- -38
+ -25
2
@@ -11077,7 +11077,7 @@
0
- -38
+ -25
2
@@ -11086,7 +11086,7 @@
0
- -55
+ -56
2
@@ -11095,7 +11095,7 @@
0
- -55
+ -56
2
@@ -11104,7 +11104,7 @@
0
- -28
+ -14
2
@@ -11113,7 +11113,7 @@
0
- -28
+ -14
2
@@ -11122,7 +11122,7 @@
0
- -15
+ -17
2
@@ -11131,7 +11131,7 @@
0
- -15
+ -17
2
@@ -11158,7 +11158,7 @@
0
- -25
+ -27
2
@@ -11167,7 +11167,7 @@
0
- -25
+ -27
2
@@ -11194,7 +11194,7 @@
0
- -59
+ -60
2
@@ -11203,7 +11203,7 @@
0
- -59
+ -60
2
@@ -11230,7 +11230,7 @@
0
- -52
+ -53
2
@@ -11239,7 +11239,7 @@
0
- -52
+ -53
2
@@ -11274,7 +11274,7 @@
0
- -28
+ -14
2
@@ -11283,7 +11283,7 @@
0
- -15
+ -17
2
@@ -11301,7 +11301,7 @@
0
- -25
+ -27
2
@@ -11319,7 +11319,7 @@
0
- -59
+ -60
2
@@ -11337,7 +11337,7 @@
0
- -55
+ -56
2
@@ -11346,7 +11346,7 @@
0
- -18
+ -20
2
@@ -11355,7 +11355,7 @@
0
- -50
+ -51
2
@@ -11364,7 +11364,7 @@
0
- -14
+ -16
2
@@ -11373,7 +11373,7 @@
0
- -34
+ -36
2
@@ -11382,7 +11382,7 @@
0
- -56
+ -57
2
@@ -11400,7 +11400,7 @@
0
- -50
+ -51
2
@@ -11409,7 +11409,7 @@
0
- -14
+ -16
2
@@ -11418,7 +11418,7 @@
0
- -34
+ -36
2
@@ -11427,7 +11427,7 @@
0
- -24
+ -26
2
@@ -11621,9 +11621,7 @@
- 1
- 2
- !!!!Throws:
Any exception emitted by v's copy constructor.
+ 0
@@ -11645,7 +11643,9 @@
- 0
+ 1
+ 2
+ !!!!Throws:
Any exception emitted by v's copy constructor.
@@ -11865,9 +11865,7 @@
- 1
- 2
- !!!!Throws:
std::bad_alloc, or any exception emitted by T1..TN copy constructor.
+ 0
@@ -11878,7 +11876,9 @@
- 0
+ 1
+ 2
+ !!!!Throws:
std::bad_alloc, or any exception emitted by T1..TN copy constructor.
@@ -11889,9 +11889,7 @@
- 1
- 2
- !!!!Throws:
std::bad_alloc, or any exception emitted by the T copy constructor.
+ 0
@@ -11902,7 +11900,9 @@
- 0
+ 1
+ 2
+ !!!!Throws:
std::bad_alloc, or any exception emitted by the T copy constructor.
@@ -12279,18 +12279,7 @@
- 3
- 2
- `#include <
- 1
-
- 0
-
- -13
-
-
- 2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ 0
@@ -12312,7 +12301,18 @@
- 0
+ 3
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -15
+
+
+ 2
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
@@ -12334,18 +12334,7 @@
- 3
- 2
- `#include <
- 1
-
- 0
-
- -53
-
-
- 2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ 0
@@ -12367,7 +12356,18 @@
- 0
+ 3
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
@@ -12388,6 +12388,39 @@
-13
+
+ 0
+
+
+
+
+ 0
+
+ -14
+
+
+
+ 3
+ 2
+ [@#include <(:link
+ 1
+
+ 0
+
+ -40
+
+
+ 2
+ :)>
namespace
boost
{
(:include api pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -15
+
+
3
2
@@ -12407,7 +12440,7 @@
0
- -14
+ -16
@@ -12418,7 +12451,7 @@
0
- -28
+ -14
2
@@ -12427,7 +12460,7 @@
0
- -28
+ -14
2
@@ -12438,7 +12471,7 @@
0
- -15
+ -17
@@ -12449,7 +12482,7 @@
0
- -60
+ -40
2
@@ -12460,7 +12493,7 @@
0
- -16
+ -18
@@ -12471,7 +12504,7 @@
0
- -13
+ -15
2
@@ -12482,7 +12515,7 @@
0
- -17
+ -19
@@ -12493,7 +12526,7 @@
0
- -18
+ -20
@@ -12515,7 +12548,7 @@
0
- -19
+ -21
@@ -12526,7 +12559,7 @@
0
- -13
+ -15
2
@@ -12537,7 +12570,7 @@
0
- -20
+ -22
@@ -12555,39 +12588,6 @@
:)>
[@(:include decl:)@]
-
-
- 0
-
- -21
-
-
-
- 3
- 2
- [@#include <string>
namespace
boost
{
(:include
- 1
-
- 0
-
- -18
-
-
- 2
- decl pre_indent="4":)
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -22
-
-
-
- 0
-
-
0
@@ -12598,16 +12598,16 @@
3
2
- `#include <
+ [@#include <string>
namespace
boost
{
(:include
1
0
- -37
+ -20
2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ decl pre_indent="4":)
(:include api pre_indent="4":)
}@]
@@ -12617,116 +12617,6 @@
-24
-
- 5
- 2
- `#include <
- 1
-
- 0
-
- -25
-
-
- 2
- >
(:include
- 1
-
- 0
-
- -25
-
-
- 2
- synopsis:)
-
-
-
-
- 0
-
- -25
-
-
-
- 3
- 2
- [@#include <
- 1
-
- 0
-
- -60
-
-
- 2
- >
namespace
boost
{
template <class> class weak_ptr;
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -26
-
-
-
- 0
-
-
-
-
- 0
-
- -27
-
-
-
- 0
-
-
-
-
- 0
-
- -28
-
-
-
- 3
- 2
- [@#include <
- 1
-
- 0
-
- -60
-
-
- 2
- >
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -29
-
-
-
- 1
- 2
- [@#include <boost/shared_ptr.hpp>
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -30
-
-
3
2
@@ -12735,7 +12625,7 @@
0
- -38
+ -39
2
@@ -12746,139 +12636,7 @@
0
- -31
-
-
-
- 0
-
-
-
-
- 0
-
- -32
-
-
-
- 3
- 2
- `#include <(:link
- 1
-
- 0
-
- -71
-
-
- 2
- :)>
[@(:include decl:)@]
-
-
-
-
- 0
-
- -33
-
-
-
- 3
- 2
- `#include <(:link
- 1
-
- 0
-
- -13
-
-
- 2
- :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -34
-
-
-
- 5
- 2
- `#include <
- 1
-
- 0
-
- -63
-
-
- 2
- >
(:include
- 1
-
- 0
-
- -63
-
-
- 2
- synopsis:)
-
-
-
-
- 0
-
- -35
-
-
-
- 3
- 2
- `#include <(:link
- 1
-
- 0
-
- -13
-
-
- 2
- :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -36
-
-
-
- 0
-
-
-
-
- 0
-
- -37
-
-
-
- 1
- 2
- [@namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -38
+ -25
@@ -12900,7 +12658,60 @@
0
- -39
+ -26
+
+
+
+ 5
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -27
+
+
+ 2
+ >
(:include
+ 1
+
+ 0
+
+ -27
+
+
+ 2
+ synopsis:)
+
+
+
+
+ 0
+
+ -27
+
+
+
+ 3
+ 2
+ [@#include <
+ 1
+
+ 0
+
+ -40
+
+
+ 2
+ >
namespace
boost
{
template <class> class weak_ptr;
(:include api pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -28
@@ -12911,7 +12722,18 @@
0
- -40
+ -29
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -30
@@ -12929,6 +12751,186 @@
:)>
[@(:include decl:)@]
+
+
+ 0
+
+ -31
+
+
+
+ 1
+ 2
+ [@#include <boost/shared_ptr.hpp>
namespace
boost
{
(:include api pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -32
+
+
+
+ 3
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -25
+
+
+ 2
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -33
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -34
+
+
+
+ 3
+ 2
+ `#include <(:link
+ 1
+
+ 0
+
+ -71
+
+
+ 2
+ :)>
[@(:include decl:)@]
+
+
+
+
+ 0
+
+ -35
+
+
+
+ 3
+ 2
+ `#include <(:link
+ 1
+
+ 0
+
+ -15
+
+
+ 2
+ :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -36
+
+
+
+ 5
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -63
+
+
+ 2
+ >
(:include
+ 1
+
+ 0
+
+ -63
+
+
+ 2
+ synopsis:)
+
+
+
+
+ 0
+
+ -37
+
+
+
+ 3
+ 2
+ `#include <(:link
+ 1
+
+ 0
+
+ -15
+
+
+ 2
+ :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -38
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -39
+
+
+
+ 1
+ 2
+ [@namespace
boost
{
(:include api pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -40
+
+
+
+ 1
+ 2
+ [@namespace
boost
{
(:include api pre_indent="4":)
}@]
+
+
0
@@ -12947,6 +12949,17 @@
-42
+
+ 0
+
+
+
+
+ 0
+
+ -43
+
+
5
2
@@ -12964,7 +12977,7 @@
0
- -42
+ -43
2
@@ -12975,7 +12988,7 @@
0
- -43
+ -44
@@ -12986,7 +12999,7 @@
0
- -44
+ -45
@@ -13004,17 +13017,6 @@
:)>\\
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
-
-
- 0
-
- -45
-
-
-
- 0
-
-
0
@@ -13055,6 +13057,17 @@
-49
+
+ 0
+
+
+
+
+ 0
+
+ -50
+
+
5
2
@@ -13083,7 +13096,7 @@
0
- -50
+ -51
@@ -13094,7 +13107,7 @@
0
- -55
+ -56
2
@@ -13105,7 +13118,7 @@
0
- -51
+ -52
@@ -13116,7 +13129,7 @@
0
- -21
+ -23
2
@@ -13127,7 +13140,7 @@
0
- -52
+ -53
@@ -13140,7 +13153,7 @@
0
- -53
+ -54
@@ -13162,7 +13175,7 @@
0
- -54
+ -55
@@ -13173,7 +13186,7 @@
0
- -13
+ -15
2
@@ -13184,7 +13197,7 @@
0
- -55
+ -56
@@ -13197,13 +13210,13 @@
0
- -56
+ -57
5
2
- `#include <
+ `#include <(:link
1
0
@@ -13212,7 +13225,7 @@
2
- >
(:include
+ :)>
(:include
1
0
@@ -13228,7 +13241,7 @@
0
- -57
+ -58
@@ -13241,7 +13254,7 @@
0
- -58
+ -59
@@ -13252,7 +13265,7 @@
0
- -55
+ -56
2
@@ -13263,7 +13276,7 @@
0
- -59
+ -60
@@ -13274,26 +13287,13 @@
0
- -60
+ -40
2
>
#include <string>
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
- 0
-
- -60
-
-
-
- 1
- 2
- [@namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
0
@@ -13309,7 +13309,7 @@
0
- -21
+ -23
2
@@ -13342,7 +13342,7 @@
0
- -60
+ -40
2
@@ -13377,7 +13377,7 @@
0
- -15
+ -17
2
@@ -13386,7 +13386,7 @@
0
- -15
+ -17
2
@@ -13408,7 +13408,7 @@
0
- -59
+ -60
2
@@ -13417,7 +13417,7 @@
0
- -59
+ -60
2
@@ -13478,16 +13478,16 @@
3
2
- [@#include <
+ [@#include <(:link
1
0
- -60
+ -40
2
- >
#include <string>
namespace
boost
{
(:include api pre_indent="4":)
}@]
+ :)>
#include <string>
namespace
boost
{
(:include api pre_indent="4":)
}@]
@@ -13527,7 +13527,7 @@
0
- -60
+ -40
2
@@ -13856,7 +13856,7 @@
- -45
+ -46
@@ -13873,7 +13873,7 @@
- -26
+ -28
@@ -13907,7 +13907,7 @@
- -12
+ -5
@@ -13924,7 +13924,7 @@
- -53
+ -54
@@ -13941,41 +13941,7 @@
- -38
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
- -46
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
- -8
+ -25
@@ -14009,7 +13975,7 @@
- -17
+ -10
@@ -14026,7 +13992,41 @@
- -22
+ -48
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+ -19
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+ -13
@@ -14060,7 +14060,7 @@
- -36
+ -38
@@ -14077,7 +14077,7 @@
- -41
+ -42
@@ -14118,7 +14118,7 @@
- -21
+ -23
@@ -14142,7 +14142,7 @@
- -13
+ -15
@@ -14246,7 +14246,7 @@
- -6
+ -8
@@ -14274,7 +14274,7 @@
- -30
+ -32
@@ -14302,7 +14302,7 @@
- -9
+ -11
@@ -14330,7 +14330,7 @@
- -18
+ -20
@@ -14362,7 +14362,7 @@
- -43
+ -44
@@ -14386,7 +14386,7 @@
- -28
+ -14
@@ -14414,7 +14414,7 @@
- -33
+ -35
@@ -14442,7 +14442,7 @@
- -19
+ -21
@@ -14470,7 +14470,7 @@
- -54
+ -55
@@ -14498,7 +14498,7 @@
- -5
+ -7
@@ -14526,7 +14526,7 @@
- -35
+ -37
@@ -14554,7 +14554,7 @@
- -16
+ -18
@@ -14578,7 +14578,7 @@
- -39
+ -41
@@ -14606,7 +14606,31 @@
- -49
+ -50
+
+
+
+
+
+
+ 1
+ 4D7009F0868C1DF4898EC6ECF9AD2CFEA98E8653B01B066106761807405D4C22
+ 1416707852
+ 3107
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/get_error_info.hpp
+ 0
+ 0
+
+
+
+ -31
@@ -14654,35 +14678,7 @@
- -27
-
-
-
-
-
-
- 2
- 4951AD2B59F146F3239CD8DC83B984EA854EF190F117FA525DAEC045B2FDDC29
- 2306670270
- 2901
- 504
- D68146065629FE0D77CC52D7CA5C71A3DBC64A09BE528FAF6FBAC2BA7BD37F6F
- 3570398870
- 2869
- 26
-
-
-
-
-
- 0
- ../../../../boost/exception/get_error_info.hpp
- 0
- 0
-
-
-
- -57
+ -29
@@ -14710,7 +14706,7 @@
- -23
+ -24
@@ -14734,7 +14730,7 @@
- -10
+ -12
@@ -14762,7 +14758,7 @@
- -24
+ -26
@@ -14786,7 +14782,7 @@
- -31
+ -33
@@ -14846,7 +14842,7 @@
- -32
+ -34
@@ -14878,7 +14874,7 @@
- -40
+ -30
@@ -14982,7 +14978,7 @@
- -34
+ -36
@@ -15006,7 +15002,7 @@
- -52
+ -53
@@ -15034,7 +15030,7 @@
- -14
+ -16
@@ -15058,7 +15054,7 @@
- -11
+ -6
@@ -15082,7 +15078,7 @@
- -15
+ -17
@@ -15138,7 +15134,7 @@
- -51
+ -52
@@ -15162,31 +15158,7 @@
- -25
-
-
-
-
-
-
- 1
- 12CB2020052A21CD64B436DDCADB749FD935E83CC0D1D8980DAE2B002B8B1F8E
- 4127342641
- 3082
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/get_error_info.hpp
- 0
- 0
-
-
-
- -29
+ -27
@@ -15214,7 +15186,7 @@
- -20
+ -22
@@ -15242,7 +15214,7 @@
- -44
+ -45
@@ -15266,7 +15238,35 @@
- -37
+ -39
+
+
+
+
+
+
+ 2
+ D58AD357499A5A09FB5D12397CFFC2FFD412AC8A307ABB59C9BC53ACCA3B959D
+ 2209414553
+ 2926
+ 504
+ 49F40FF20D66B205C908A8F10BC61DE1BC571E4917A5BD0B4115E3F7FE3923FA
+ 638776689
+ 2894
+ 26
+
+
+
+
+
+ 0
+ ../../../../boost/exception/get_error_info.hpp
+ 0
+ 0
+
+
+
+ -58
@@ -15290,7 +15290,7 @@
- -59
+ -60
@@ -15342,7 +15342,7 @@
- -58
+ -59
@@ -15422,7 +15422,7 @@
- -55
+ -56
@@ -15446,7 +15446,7 @@
- -50
+ -51
@@ -15522,7 +15522,7 @@
- -56
+ -57
@@ -15546,7 +15546,7 @@
- -48
+ -49
@@ -15574,7 +15574,7 @@
- -60
+ -40
@@ -15602,7 +15602,7 @@
- -42
+ -43
@@ -15626,7 +15626,7 @@
- -7
+ -9
@@ -15657,7 +15657,7 @@
-5
- type
+
@@ -15666,7 +15666,7 @@
-6
- function
+ noalso noindex tutorial
@@ -15675,7 +15675,7 @@
-7
- noindex
+ type
@@ -15684,7 +15684,7 @@
-8
- tutorial
+ function
@@ -15693,7 +15693,16 @@
-9
- error_info free function
+ noindex
+
+
+
+ 0
+
+ -10
+
+
+ tutorial
@@ -15702,35 +15711,17 @@
-11
- noalso noindex tutorial
+ error_info free function
0
- -12
+ -15
-
-
- 0
-
- -13
-
-
-
-
-
-
- 0
-
- -14
-
-
- error_info_instance noalso type
-
0
@@ -15738,7 +15729,7 @@
-16
- exception_ptr free function
+ error_info_instance noalso type
@@ -15747,15 +15738,6 @@
-18
- type
-
-
-
- 0
-
- -19
-
-
exception_ptr free function
@@ -15765,7 +15747,7 @@
-20
- function member
+ type
@@ -15774,139 +15756,13 @@
-21
-
-
-
-
- 0
-
- -23
-
-
- function
-
-
-
- 0
-
- -24
-
-
- error_info_instance noalso type
-
-
-
- 0
-
- -26
-
-
- tutorial
-
-
-
- 0
-
- -27
-
-
- noindex tutorial
-
-
-
- 0
-
- -29
-
-
- error_info
-
-
-
- 0
-
- -30
-
-
exception_ptr free function
0
- -31
-
-
- noalso noindex tutorial
-
-
-
- 0
-
- -32
-
-
- type
-
-
-
- 0
-
- -33
-
-
- exception_ptr type
-
-
-
- 0
-
- -34
-
-
- error_info_instance noalso type
-
-
-
- 0
-
- -35
-
-
- exception_ptr free function
-
-
-
- 0
-
- -37
-
-
-
-
-
-
- 0
-
- -38
-
-
- exception_ptr
-
-
-
- 0
-
- -39
-
-
- noindex tutorial
-
-
-
- 0
-
- -40
+ -22
function member
@@ -15915,16 +15771,16 @@
0
- -42
+ -23
- error_info free function
+
0
- -43
+ -24
function
@@ -15933,25 +15789,25 @@
0
- -44
+ -25
- error_info free function
+ exception_ptr
0
- -45
+ -26
- noindex
+ error_info_instance noalso type
0
- -48
+ -28
tutorial
@@ -15960,34 +15816,25 @@
0
- -49
+ -29
- error_info_instance noalso type
+ noindex tutorial
0
- -50
+ -30
- macro
+ function member
0
- -51
-
-
- function
-
-
-
- 0
-
- -53
+ -31
error_info
@@ -15996,7 +15843,25 @@
0
- -54
+ -32
+
+
+ exception_ptr free function
+
+
+
+ 0
+
+ -33
+
+
+ noalso noindex tutorial
+
+
+
+ 0
+
+ -34
type
@@ -16005,16 +15870,16 @@
0
- -55
+ -35
-
+ exception_ptr type
0
- -56
+ -36
error_info_instance noalso type
@@ -16023,7 +15888,43 @@
0
- -57
+ -37
+
+
+ exception_ptr free function
+
+
+
+ 0
+
+ -39
+
+
+
+
+
+
+ 0
+
+ -40
+
+
+
+
+
+
+ 0
+
+ -41
+
+
+ noindex tutorial
+
+
+
+ 0
+
+ -43
error_info free function
@@ -16032,20 +15933,119 @@
0
- -58
+ -44
- free function
+ function
0
- -60
+ -45
+
+
+ error_info free function
+
+
+
+ 0
+
+ -46
+
+
+ noindex
+
+
+
+ 0
+
+ -49
+
+
+ tutorial
+
+
+
+ 0
+
+ -50
+
+
+ error_info_instance noalso type
+
+
+
+ 0
+
+ -51
+
+
+ macro
+
+
+
+ 0
+
+ -52
+
+
+ function
+
+
+
+ 0
+
+ -54
+
+
+ error_info
+
+
+
+ 0
+
+ -55
+
+
+ type
+
+
+
+ 0
+
+ -56
+
+
+ 0
+
+ -57
+
+
+ error_info_instance noalso type
+
+
+
+ 0
+
+ -58
+
+
+ error_info free function
+
+
+
+ 0
+
+ -59
+
+
+ free function
+
0
diff --git a/doc/synopsis.html b/doc/synopsis.html
index e422008..1d1ffc0 100644
--- a/doc/synopsis.html
+++ b/doc/synopsis.html
@@ -179,7 +179,7 @@ boost
namespace
boost
{
- typedef error_info <struct errinfo_api_function_,int> errinfo_api_function ;
+ typedef error_info <struct errinfo_api_function_,char const *> errinfo_api_function ;
}
# include <boost/exception/errinfo_at_line.hpp >