diff --git a/doc/boost_exception_get_error_info_hpp.html b/doc/boost_exception_get_error_info_hpp.html
index 8acdee3..1ef8347 100644
--- a/doc/boost_exception_get_error_info_hpp.html
+++ b/doc/boost_exception_get_error_info_hpp.html
@@ -28,7 +28,10 @@ namespace
boost
{
template <class ErrorInfo,class E>
- typename ErrorInfo::value_type const * get_error_info( E const & x );
+ typename ErrorInfo::error_info::value_type const * get_error_info( E const & x );
+
+ template <class ErrorInfo,class E>
+ typename ErrorInfo::error_info::value_type * get_error_info( E & x );
}
Requirements:
diff --git a/doc/error_info_value.html b/doc/error_info_value.html
index 0d19a84..1a5b4c1 100644
--- a/doc/error_info_value.html
+++ b/doc/error_info_value.html
@@ -22,9 +22,10 @@
error_info::value
Description:
-
Returns a const reference to the copy of the value passed to error_info's constructor stored in the error_info object.
+
Returns a (const) reference to the copy of the value passed to error_info's constructor stored in the error_info object.
Throws:
Nothing.
diff --git a/doc/error_info_value_type.html b/doc/error_info_value_type.html
index 96eab3c..e5f900b 100644
--- a/doc/error_info_value_type.html
+++ b/doc/error_info_value_type.html
@@ -30,7 +30,6 @@
diff --git a/doc/get_error_info.html b/doc/get_error_info.html
index 8f64bc1..31cda0d 100644
--- a/doc/get_error_info.html
+++ b/doc/get_error_info.html
@@ -25,7 +25,10 @@
boost
{
template <class ErrorInfo,class E>
- typename ErrorInfo::value_type const * get_error_info( E const & x );
+ typename ErrorInfo::error_info::value_type const * get_error_info( E const & x );
+
+ template <class ErrorInfo,class E>
+ typename ErrorInfo::error_info::value_type * get_error_info( E & x );
}
Requirements:
- ErrorInfo must be an instance of the error_info template.
diff --git a/doc/source/boost-exception.reno b/doc/source/boost-exception.reno
index b2d4bf9..8877bac 100644
--- a/doc/source/boost-exception.reno
+++ b/doc/source/boost-exception.reno
@@ -48,136 +48,6 @@
reno_context
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 6
-
- reno_context
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 7
-
- reno_context
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 8
-
- reno_context
-
-
-
- 0
-
- 10
-
- reno_context
-
-
-
-
-
-
- 1
- 28E8289766B2CDAEF0A407A6389CB9F7FD3B0F4B49B15CB73AF210A1CEB60C58
- 4196332848
- 735
- 363
-
-
-
-
-
- 0
- ../../example/info_tuple.cpp
- 0
- 0
-
-
-
-
- adding grouped data to exceptions
-
-
- grouping_data
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 11
+ 6
reno_context
@@ -321,14 +103,14 @@
2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
323
17E691632123EB67BA67D590B49EB8094F462F5A10A66A1C5438E1867EF1478E
765399792
77
- 5899
+ 5887
@@ -360,369 +142,7 @@
0
- 12
-
- reno_context
-
-
-
-
-
-
- 1
- E0BE7EFCD5550582AB95C9EEDA6E68CA0F89B19838DA61876D42161E1EA4AE71
- 2587249979
- 233
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/errinfo_at_line.hpp
- 0
- 0
-
-
-
-
- boost/exception/errinfo_at_line.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 13
-
- reno_context
-
-
-
-
-
-
- 2
- CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
- 1114955626
- 11770
- 723
- 0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4
- 2078296250
- 305
- 10862
-
-
-
-
-
- 0
- ../../../../boost/exception_ptr.hpp
- 0
- 0
-
-
-
-
- copy_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 14
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- page index
-
-
- page_idx
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 15
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- frequently asked questions
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 16
-
- reno_context
-
-
-
-
-
-
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
- 1693870740
- 2195
- 3702
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
-
- exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
----
!!!See Also:
(:pagelist link="backlink" except_tags="exception,member" mod="w":)
-
-
-
-
- 0
-
- 17
-
- reno_context
-
-
-
-
-
-
- 2
- CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
- 1114955626
- 11770
- 723
- E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B
- 1414247481
- 766
- 10094
-
-
-
-
-
- 0
- ../../../../boost/exception_ptr.hpp
- 0
- 0
-
-
-
-
- current_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 18
-
- reno_context
-
-
-
-
-
-
- 2
- AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20
- 228982966
- 3918
- 518
- 6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010
- 1097215175
- 161
- 240
-
-
-
-
-
- 0
- ../../../../boost/exception/info.hpp
- 0
- 0
-
-
-
-
- error_info::error_info
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 19
-
- reno_context
-
-
-
-
-
-
- 1
- 95AD55ACCB1C17C1DBA4C309BDFCBD4B66E52CD9A2F54FDAD2D642A00342D001
- 3194412598
- 4599
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/diagnostic_information.hpp
- 0
- 0
-
-
-
-
- boost/exception/diagnostic_information.hpp
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 20
+ 7
reno_context
@@ -767,7 +187,7 @@
0
- 21
+ 8
reno_context
@@ -787,10 +207,10 @@
- Functions
+ using virtual inheritance in exception types
- functions
+
@@ -805,7 +225,7 @@
0
- 22
+ 9
reno_context
@@ -815,28 +235,28 @@
2
- 6FB85B536F965F137409D5B5D34786DCBF0B9957A7C251D271B717A1156B823D
- 1090406464
- 362
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
323
- D16DAEA8B1792A019AF7FCA362FDC6EFD381AF4C43C076A01C029ECE51F994A6
- 3172941848
- 330
- 26
+ F3FB15CD82336271C6E875BC620385322777D16F0B7C233300783CE35710CCBF
+ 3292878997
+ 282
+ 7275
0
- ../../../../boost/exception/current_exception_cast.hpp
+ ../../../../boost/exception/exception.hpp
0
0
- current_exception_cast
+ enable_error_info
@@ -854,7 +274,7 @@
0
- 23
+ 10
reno_context
@@ -864,24 +284,24 @@
1
- FFF4359EFC66EE6AA729B641F38B4020A55E83A1C099BCA59B1CA9A9875E7F79
- 366628170
- 236
- 323
+ DB156E6A8ACB9FB90C8FB110FC25A5FEB14A619F82EEC47FF913373592E5CC3E
+ 240075319
+ 6209
+ 412
0
- ../../../../boost/exception/errinfo_file_handle.hpp
+ ../../example/example_io.cpp
0
0
- boost/exception/errinfo_file_handle.hpp
+ diagnostic_information example
@@ -889,89 +309,6 @@
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 24
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- transporting of exceptions between threads
-
-
- tutorial_exception_ptr
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 25
-
- reno_context
-
-
-
-
-
-
- 1
- D194983FA4C182AB869F1AB542797B3EDCCBAEB0A6E67B2DCEE5EA2C7F58853C
- 1308852571
- 395
- 307
-
-
-
-
-
- 0
- ../../example/cloning_1.cpp
- 0
- 0
-
-
-
-
- using enable_current_exception at the time of the throw
-
-
- using_enable_cloning
-
-
-
-
0
@@ -980,7 +317,133 @@
0
- 26
+ 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
+
+ reno_context
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ page index
+
+
+ page_idx
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 13
+
+ reno_context
+
+
+
+
+
+
+ 1
+ 21E8093D2AF6946EAE135823066EF38B9DC8870432B44C81E585FF63A72F9903
+ 3352783584
+ 12170
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception_ptr.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception_ptr.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 14
reno_context
@@ -1029,7 +492,7 @@
0
- 27
+ 15
reno_context
@@ -1039,9 +502,9 @@
1
- 2F432507CFD796BE673F33D9AC68C535F1ED1F4FCD3A8E3AEEC320D9795FB4AE
- 2319362875
- 2574
+ E0BE7EFCD5550582AB95C9EEDA6E68CA0F89B19838DA61876D42161E1EA4AE71
+ 2587249979
+ 233
323
@@ -1049,14 +512,14 @@
0
- ../../../../boost/exception/get_error_info.hpp
+ ../../../../boost/exception/errinfo_at_line.hpp
0
0
- boost/exception/get_error_info.hpp
+ boost/exception/errinfo_at_line.hpp
@@ -1074,152 +537,7 @@
0
- 28
-
- reno_context
-
-
-
-
-
-
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9
- 1137981799
- 192
- 8976
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
-
- enable_current_exception
-
-
-
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 29
-
- reno_context
-
-
-
-
-
-
- 1
- 0F429704770B5772E81B2BC74E962B62F83826D6C885B7C6E7186D127D31B291
- 1345125619
- 854
- 306
-
-
-
-
-
- 0
- ../../example/error_info_2.cpp
- 0
- 0
-
-
-
-
- adding of arbitrary data to active exception objects
-
-
- adding_data_later
-
-
-
-
-
- 0
-
-
-
-
- 0
-
- 30
-
- reno_context
-
-
-
-
-
-
- 3
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
- 344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
- 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
-
- 31
+ 16
reno_context
@@ -1233,10 +551,10 @@
1114955626
11770
723
- 6B3B617AC518A2177BDB89656E726B4E4D79577E289130493A61BAE24FB64838
- 3173127726
- 1101
- 2184
+ 0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4
+ 2078296250
+ 305
+ 10862
@@ -1250,7 +568,7 @@
- unknown_exception
+ copy_exception
@@ -1268,105 +586,7 @@
0
- 32
-
- 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
-
- 33
-
- 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
-
- 34
+ 17
reno_context
@@ -1386,52 +606,7 @@
- Types
-
-
- types
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 35
-
- reno_context
-
-
-
-
-
-
- 1
- A14B5595A6DD87562792D402B48500AAD71FA1ABD75C14EDF089FCC7318CBB9B
- 3469762901
- 468
- 227
-
-
-
-
-
- 0
- ../../../../boost/exception/current_exception_cast.hpp
- 0
- 0
-
-
-
-
- boost/exception/current_exception_cast.hpp
+ frequently asked questions
@@ -1449,7 +624,286 @@
0
- 36
+ 18
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
+ 1693870740
+ 2195
+ 3690
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+
+ exception
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
----
!!!See Also:
(:pagelist link="backlink" except_tags="exception,member" mod="w":)
+
+
+
+
+ 0
+
+ 19
+
+ reno_context
+
+
+
+
+
+
+ 2
+ CEB9022E39DA32E612158FF553D383E13D300D1202CEB754E28B716040EFC414
+ 1114955626
+ 11770
+ 723
+ E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B
+ 1414247481
+ 766
+ 10094
+
+
+
+
+
+ 0
+ ../../../../boost/exception_ptr.hpp
+ 0
+ 0
+
+
+
+
+ current_exception
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 20
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 729C4823568528056026F84642250C2A19F5EC21C6BCA14B482D2C3370F06990
+ 2578904403
+ 3888
+ 518
+ 6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010
+ 1097215175
+ 161
+ 240
+
+
+
+
+
+ 0
+ ../../../../boost/exception/info.hpp
+ 0
+ 0
+
+
+
+
+ error_info::error_info
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 21
+
+ reno_context
+
+
+
+
+
+
+ 1
+ 95AD55ACCB1C17C1DBA4C309BDFCBD4B66E52CD9A2F54FDAD2D642A00342D001
+ 3194412598
+ 4599
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/diagnostic_information.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/diagnostic_information.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 22
+
+ reno_context
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ Functions
+
+
+ functions
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 23
+
+ reno_context
+
+
+
+
+
+
+ 2
+ 6FB85B536F965F137409D5B5D34786DCBF0B9957A7C251D271B717A1156B823D
+ 1090406464
+ 362
+ 323
+ D16DAEA8B1792A019AF7FCA362FDC6EFD381AF4C43C076A01C029ECE51F994A6
+ 3172941848
+ 330
+ 26
+
+
+
+
+
+ 0
+ ../../../../boost/exception/current_exception_cast.hpp
+ 0
+ 0
+
+
+
+
+ current_exception_cast
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 24
reno_context
@@ -1498,7 +952,52 @@
0
- 37
+ 25
+
+ reno_context
+
+
+
+
+
+
+ 1
+ FFF4359EFC66EE6AA729B641F38B4020A55E83A1C099BCA59B1CA9A9875E7F79
+ 366628170
+ 236
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/errinfo_file_handle.hpp
+ 0
+ 0
+
+
+
+
+ boost/exception/errinfo_file_handle.hpp
+
+
+
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 26
reno_context
@@ -1518,10 +1017,10 @@
- boost/exception/enable_current_exception.hpp
+ transporting of exceptions between threads
-
+ tutorial_exception_ptr
@@ -1536,7 +1035,7 @@
0
- 38
+ 27
reno_context
@@ -1546,27 +1045,27 @@
1
- FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717
- 2229778754
- 631
- 319
+ 27ED18F9B6131B084FEF0C9F932B7027AF449E378B5FD7973CD6642263FCAF27
+ 2867102400
+ 404
+ 307
0
- ../../example/cloning_2.cpp
+ ../../example/cloning_1.cpp
0
0
- cloning and re-throwing an exception
+ using enable_current_exception at the time of the throw
- cloning_and_rethrowing
+ using_enable_cloning
@@ -1579,7 +1078,7 @@
0
- 39
+ 28
reno_context
@@ -1620,6 +1119,507 @@
(: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
+
+ 30
+
+ 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
@@ -1634,17 +1634,17 @@
3
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
433
- 02372FA6B987EAC15E78C5A12036F203A92B3D4C857C02985B1BF0A24008D976
- 2987989218
- 109
+ 98B33BE76679E3A4831241335CD5DFF6F634429F36BABF96C1D4DC2296C5ECC5
+ 1584672077
+ 208
259
@@ -1681,6 +1681,44 @@
reno_context
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+
+ Macros
+
+
+ macros
+
+
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 42
+
+ reno_context
+
@@ -1726,7 +1764,7 @@
0
- 42
+ 43
reno_context
@@ -1736,14 +1774,14 @@
3
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
323
65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
1693870740
2195
- 3702
+ 3690
DA154372D8C23BD9EDC30005CA7959CE686D198891097A837D006B5222F04DE9
2768248809
143
@@ -1779,7 +1817,7 @@
0
- 43
+ 44
reno_context
@@ -1789,14 +1827,14 @@
2
- AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20
- 228982966
- 3918
+ 729C4823568528056026F84642250C2A19F5EC21C6BCA14B482D2C3370F06990
+ 2578904403
+ 3888
518
D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8
4055211476
525
- 3387
+ 3357
@@ -1828,7 +1866,7 @@
0
- 44
+ 45
reno_context
@@ -1866,7 +1904,7 @@
0
- 45
+ 46
reno_context
@@ -1902,7 +1940,7 @@
0
- 46
+ 47
reno_context
@@ -1936,7 +1974,7 @@
0
- 47
+ 48
reno_context
@@ -1977,7 +2015,7 @@
0
- -15
+ -17
2
@@ -1988,7 +2026,33 @@
0
- 48
+ -47
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ -48
+
+
+
+ 1
+ 2
+ (:include include:)
(:auto also:)
+
+
+
+
+ 0
+
+ 49
reno_context
@@ -2037,7 +2101,7 @@
0
- 49
+ 50
reno_context
@@ -2082,7 +2146,7 @@
0
- 50
+ 51
reno_context
@@ -2131,20 +2195,7 @@
0
- -46
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 51
+ 52
reno_context
@@ -2189,7 +2240,7 @@
0
- 52
+ 53
reno_context
@@ -2227,7 +2278,7 @@
0
- 53
+ 54
reno_context
@@ -2276,20 +2327,7 @@
0
- -47
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
-
-
- 0
-
- 54
+ 55
reno_context
@@ -2334,7 +2372,7 @@
0
- 55
+ 56
reno_context
@@ -2383,7 +2421,7 @@
0
- 56
+ 57
reno_context
@@ -2393,13 +2431,13 @@
2
- FEABD2D011FBCE667D26BAD68A1C65D81E98DD40081CC70F2738AC3151A8FC4A
- 4260129224
- 2393
+ 4951AD2B59F146F3239CD8DC83B984EA854EF190F117FA525DAEC045B2FDDC29
+ 2306670270
+ 2901
504
- C708EDCAC3964E2F3C3A081700112C5F15C7BF7A61FDF2EF39D112FC9B987CE3
- 1739153824
- 2361
+ D68146065629FE0D77CC52D7CA5C71A3DBC64A09BE528FAF6FBAC2BA7BD37F6F
+ 3570398870
+ 2869
26
@@ -2432,7 +2470,7 @@
0
- 57
+ 58
reno_context
@@ -2481,7 +2519,7 @@
0
- 58
+ 59
reno_context
@@ -2522,44 +2560,6 @@
(:include include:)
(:auto also:)
-
-
- 0
-
- 59
-
- reno_context
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
-
- Macros
-
-
- macros
-
-
-
-
-
- 1
- 2
- (:include include:)
(:auto also:)
-
-
0
@@ -2760,9 +2760,9 @@
1
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
323
@@ -2903,13 +2903,13 @@
2
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
433
@@ -3088,9 +3088,9 @@
1
- 641BB230CEBF638811480BE0E3A96ABCB7CC9CC7E1C1A9C51FBAB296FFB6B7B1
- 4248389286
- 4113
+ 0A3DA9A448D03ACAC4C613BEB8B1F68E822C970ABF81D7EEE0CF3152623232E0
+ 1462319939
+ 4083
323
@@ -3178,10 +3178,10 @@
1
- CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF
- 2258638601
- 94
- 227
+ 9A6D5598D65F1C1B5F913007D1CD1A814F3CDAD07D4AF8C468A0716059B2F7CC
+ 3552995087
+ 1405
+ 323
@@ -3344,9 +3344,9 @@
1
- F812D8AE60189369CED7A3FD72733A65B57D56637E6721867F52A82EB319731A
- 3974553696
- 1432
+ 91CF203512705C8B2CDCBCD1439821CBF93CFC1A4C2EA2CA91F38DAA3F7720B2
+ 1769665510
+ 1558
352
@@ -3494,7 +3494,27 @@
- 0
+ 5
+ 2
+ [@typedef
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <struct errinfo_api_function_,int>
+ 1
+
+ 0
+
+ -14
+
+
+ 2
+ ;@]
@@ -3516,36 +3536,7 @@
- 7
- 2
- [@class
(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :)
{
protected:
(:include
- 1
-
- 0
-
- -42
-
-
- 2
- decl pre_indent="4":)
(:include
- 1
-
- 0
-
- -11
-
-
- 2
- decl pre_indent="4":)
};@]
+ 0
@@ -3567,7 +3558,36 @@
- 0
+ 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":)
};@]
@@ -3633,7 +3653,27 @@
- 0
+ 5
+ 2
+ [@typedef
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <struct errinfo_file_handle_,weak_ptr<FILE> >
+ 1
+
+ 0
+
+ -24
+
+
+ 2
+ ;@]
@@ -3655,27 +3695,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_api_function_,int>
- 1
-
- 0
-
- -26
-
-
- 2
- ;@]
+ 0
@@ -3741,27 +3761,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_errno_,int>
- 1
-
- 0
-
- -32
-
-
- 2
- ;@]
+ 0
@@ -3783,7 +3783,27 @@
- 0
+ 5
+ 2
+ [@typedef
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ <struct errinfo_errno_,int>
+ 1
+
+ 0
+
+ -34
+
+
+ 2
+ ;@]
@@ -3805,27 +3825,7 @@
- 5
- 2
- [@typedef
- 1
-
- 0
-
- -67
-
-
- 2
- <struct errinfo_file_handle_,weak_ptr<FILE> >
- 1
-
- 0
-
- -36
-
-
- 2
- ;@]
+ 0
@@ -3927,6 +3927,28 @@
0
+
+
+ 0
+
+ -46
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -47
+
+
+
+ 0
+
+
0
@@ -3934,6 +3956,17 @@
-48
+
+ 0
+
+
+
+
+ 0
+
+ -49
+
+
5
2
@@ -3951,24 +3984,13 @@
0
- -48
+ -49
2
;@]
-
-
- 0
-
- -49
-
-
-
- 0
-
-
0
@@ -3980,17 +4002,6 @@
0
-
-
- 0
-
- -46
-
-
-
- 0
-
-
0
@@ -4024,17 +4035,6 @@
0
-
-
- 0
-
- -47
-
-
-
- 0
-
-
0
@@ -4053,6 +4053,17 @@
-55
+
+ 0
+
+
+
+
+ 0
+
+ -56
+
+
5
2
@@ -4070,24 +4081,13 @@
0
- -55
+ -56
2
;@]
-
-
- 0
-
- -56
-
-
-
- 0
-
-
0
@@ -4262,7 +4262,7 @@
0
- -30
+ -32
2
@@ -4271,7 +4271,7 @@
0
- -18
+ -20
2
@@ -4463,63 +4463,7 @@
- 13
- 2
- [@(:include
- 1
-
- 0
-
- -31
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -8
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -53
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -13
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -17
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -33
-
-
- 2
- decl:)@]
+ 0
@@ -4552,18 +4496,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -65
-
-
- 2
- def:)@]
+ 0
@@ -4574,7 +4507,63 @@
- 0
+ 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:)@]
@@ -4596,7 +4585,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -65
+
+
+ 2
+ def:)@]
@@ -4640,27 +4640,7 @@
- 5
- 2
- [@(:include
- 1
-
- 0
-
- -61
-
-
- 2
- decl:)
(:include
- 1
-
- 0
-
- -50
-
-
- 2
- decl:)@]
+ 0
@@ -4682,7 +4662,27 @@
- 0
+ 5
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -61
+
+
+ 2
+ decl:)
(:include
+ 1
+
+ 0
+
+ -51
+
+
+ 2
+ decl:)@]
@@ -4704,18 +4704,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -36
-
-
- 2
- def:)@]
+ 0
@@ -4737,7 +4726,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -24
+
+
+ 2
+ def:)@]
@@ -4759,18 +4759,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -56
-
-
- 2
- decl:)@]
+ 0
@@ -4781,7 +4770,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -14
+
+
+ 2
+ def:)@]
@@ -4792,7 +4792,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -57
+
+
+ 2
+ decl:)@]
@@ -4858,18 +4869,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -22
-
-
- 2
- decl:)@]
+ 0
@@ -4898,7 +4898,7 @@
0
- -28
+ -23
2
@@ -4913,7 +4913,18 @@
- 0
+ 3
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -30
+
+
+ 2
+ decl:)@]
@@ -4924,18 +4935,7 @@
- 3
- 2
- [@(:include
- 1
-
- 0
-
- -26
-
-
- 2
- def:)@]
+ 0
@@ -5004,6 +5004,28 @@
0
+
+
+ 0
+
+ -46
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -47
+
+
+
+ 0
+
+
0
@@ -5041,7 +5063,7 @@
0
- -46
+ -51
@@ -5052,7 +5074,7 @@
0
- -51
+ -52
@@ -5063,7 +5085,7 @@
0
- -19
+ -21
2
@@ -5090,7 +5112,7 @@
0
- -27
+ -29
2
@@ -5117,7 +5139,7 @@
0
- -9
+ -13
2
@@ -5126,7 +5148,7 @@
0
- -39
+ -28
2
@@ -5135,7 +5157,7 @@
0
- -12
+ -15
2
@@ -5153,7 +5175,7 @@
0
- -23
+ -25
2
@@ -5171,7 +5193,7 @@
0
- -58
+ -59
2
@@ -5191,7 +5213,7 @@
0
- -52
+ -53
@@ -5202,35 +5224,13 @@
0
- -6
+ -9
2
decl:)@]
-
-
- 0
-
- -53
-
-
-
- 0
-
-
-
-
- 0
-
- -47
-
-
-
- 0
-
-
0
@@ -5239,27 +5239,7 @@
- 5
- 2
- [@(:include
- 1
-
- 0
-
- -49
-
-
- 2
- decl:)
namespace
boost
{
(:include
- 1
-
- 0
-
- -57
-
-
- 2
- decl:)
}@]
+ 0
@@ -5270,7 +5250,27 @@
- 0
+ 5
+ 2
+ [@(:include
+ 1
+
+ 0
+
+ -50
+
+
+ 2
+ decl:)
namespace
boost
{
(:include
+ 1
+
+ 0
+
+ -58
+
+
+ 2
+ decl:)
}@]
@@ -5302,6 +5302,17 @@
-58
+
+ 0
+
+
+
+
+ 0
+
+ -59
+
+
3
2
@@ -5317,17 +5328,6 @@
def:)@]
-
-
- 0
-
- -59
-
-
-
- 0
-
-
0
@@ -5387,7 +5387,7 @@
0
- -32
+ -34
2
@@ -5409,7 +5409,7 @@
0
- -16
+ -18
2
@@ -5522,7 +5522,7 @@
0
- -55
+ -56
2
@@ -5553,7 +5553,7 @@
0
- -43
+ -44
2
@@ -5575,7 +5575,7 @@
0
- -48
+ -49
2
@@ -5597,7 +5597,7 @@
0
- -41
+ -42
2
@@ -5670,7 +5670,27 @@
- 0
+ 5
+ 2
+ [@typedef (:link
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ :)<struct tag_original_exception_type,std::type_info const *>
+ 1
+
+ 0
+
+ -5
+
+
+ 2
+ ;@]
@@ -5683,7 +5703,7 @@
3
2
- [@template <class T>
---unspecified--- (:link
+ [@(:link
1
0
@@ -5692,7 +5712,7 @@
2
- :)( T const & x );@]
+ mod="m":)();@]
@@ -5714,27 +5734,7 @@
- 5
- 2
- [@typedef (:link
- 1
-
- 0
-
- -67
-
-
- 2
- :)<struct tag_original_exception_type,std::type_info const *>
- 1
-
- 0
-
- -8
-
-
- 2
- ;@]
+ 0
@@ -5745,7 +5745,18 @@
- 0
+ 3
+ 2
+ [@template <class T>
---unspecified--- (:link
+ 1
+
+ 0
+
+ -9
+
+
+ 2
+ :)( T const & x );@]
@@ -5767,18 +5778,7 @@
- 3
- 2
- [@(:link
- 1
-
- 0
-
- -11
-
-
- 2
- mod="m":)();@]
+ 0
@@ -5800,27 +5800,7 @@
- 5
- 2
- [@template <class T>
(:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) (:link
- 1
-
- 0
-
- -13
-
-
- 2
- :)( T const & e );@]
+ 0
@@ -5853,9 +5833,18 @@
- 3
+ 5
2
- [@class (:link
+ [@template <class T>
(:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) (:link
1
0
@@ -5864,7 +5853,7 @@
2
- :);@]
+ :)( T const & e );@]
@@ -5875,27 +5864,7 @@
- 5
- 2
- [@(:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :)();@]
+ 0
@@ -5906,9 +5875,9 @@
- 5
+ 3
2
- [@(:link
+ [@class (:link
1
0
@@ -5917,16 +5886,7 @@
2
- mod="m":)( (:link
- 1
-
- 0
-
- -30
-
-
- 2
- mod="m":) const & v );@]
+ :);@]
@@ -5937,7 +5897,27 @@
- 0
+ 5
+ 2
+ [@(:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) (:link
+ 1
+
+ 0
+
+ -19
+
+
+ 2
+ :)();@]
@@ -5948,7 +5928,27 @@
- 0
+ 5
+ 2
+ [@(:link
+ 1
+
+ 0
+
+ -20
+
+
+ 2
+ mod="m":)( (:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ mod="m":) const & v );@]
@@ -5970,18 +5970,7 @@
- 3
- 2
- [@template <class E>
E *
- 1
-
- 0
-
- -22
-
-
- 2
- ();@]
+ 0
@@ -5992,7 +5981,18 @@
- 0
+ 3
+ 2
+ [@template <class E>
E *
+ 1
+
+ 0
+
+ -23
+
+
+ 2
+ ();@]
@@ -6047,18 +6047,7 @@
- 3
- 2
- [@template <class T>
---unspecified--- (:link
- 1
-
- 0
-
- -28
-
-
- 2
- :)( T const & e );@]
+ 0
@@ -6082,7 +6071,7 @@
3
2
- [@typedef T (:link
+ [@template <class T>
---unspecified--- (:link
1
0
@@ -6091,7 +6080,7 @@
2
- mod="m":);@]
+ :)( T const & e );@]
@@ -6102,27 +6091,7 @@
- 5
- 2
- [@class
(:link
- 1
-
- 0
-
- -31
-
-
- 2
- :):
public std::exception
public boost::
- 1
-
- 0
-
- -16
-
-
- 2
-
{
---unspecified---
};@]
+ 0
@@ -6133,7 +6102,18 @@
- 0
+ 3
+ 2
+ [@typedef T (:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ mod="m":);@]
@@ -6146,7 +6126,7 @@
5
2
- [@void (:link
+ [@class
(:link
1
0
@@ -6155,16 +6135,16 @@
2
- :)( (:link
+ :):
public std::exception
public boost::
1
0
- -53
+ -18
2
- :) const & ep );
+
{
---unspecified---
};@]
@@ -6186,7 +6166,27 @@
- 0
+ 5
+ 2
+ [@void (:link
+ 1
+
+ 0
+
+ -35
+
+
+ 2
+ :)( (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) const & ep );
@@ -6241,14 +6241,14 @@
- 5
+ 9
2
[@(:link
1
0
- -30
+ -32
2
@@ -6261,7 +6261,25 @@
2
- mod="m":)() const;@]
+ mod="m":)() const;
(:link
+ 1
+
+ 0
+
+ -32
+
+
+ 2
+ mod="m":) & (:link
+ 1
+
+ 0
+
+ -40
+
+
+ 2
+ mod="m":)();@]
@@ -6271,6 +6289,17 @@
-41
+
+ 0
+
+
+
+
+ 0
+
+ -42
+
+
7
2
@@ -6279,7 +6308,7 @@
0
- -41
+ -42
2
@@ -6308,7 +6337,7 @@
0
- -42
+ -43
@@ -6319,7 +6348,7 @@
0
- -42
+ -43
2
@@ -6328,7 +6357,7 @@
0
- -42
+ -43
2
@@ -6337,7 +6366,7 @@
0
- -16
+ -18
2
@@ -6348,7 +6377,7 @@
0
- -43
+ -44
@@ -6359,7 +6388,7 @@
0
- -43
+ -44
2
@@ -6379,7 +6408,7 @@
0
- -44
+ -45
@@ -6390,7 +6419,18 @@
0
- -45
+ -46
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -47
@@ -6415,6 +6455,17 @@
-49
+
+ 0
+
+
+
+
+ 0
+
+ -50
+
+
19
2
@@ -6432,7 +6483,7 @@
0
- -49
+ -50
2
@@ -6441,7 +6492,7 @@
0
- -57
+ -58
2
@@ -6450,7 +6501,7 @@
0
- -6
+ -9
2
@@ -6486,7 +6537,7 @@
0
- -49
+ -50
2
@@ -6495,7 +6546,7 @@
0
- -57
+ -58
2
@@ -6506,7 +6557,7 @@
0
- -50
+ -51
@@ -6517,35 +6568,13 @@
0
- -50
+ -51
2
:)();@]
-
-
- 0
-
- -46
-
-
-
- 0
-
-
-
-
- 0
-
- -51
-
-
-
- 0
-
-
0
@@ -6564,28 +6593,6 @@
-53
-
- 3
- 2
- [@typedef ---unspecified--- (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :);@]
-
-
-
-
- 0
-
- -47
-
-
0
@@ -6598,7 +6605,18 @@
- 0
+ 3
+ 2
+ [@typedef ---unspecified--- (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :);@]
@@ -6620,27 +6638,7 @@
- 5
- 2
- [@template <class ErrorInfo,class E>
typename ErrorInfo::(:link
- 1
-
- 0
-
- -30
-
-
- 2
- mod="m":) const * (:link
- 1
-
- 0
-
- -56
-
-
- 2
- :)( E const & x );@]
+ 0
@@ -6651,27 +6649,9 @@
- 5
+ 1
2
- [@#ifdef BOOST_NO_EXCEPTIONS
void (:link
- 1
-
- 0
-
- -57
-
-
- 2
- :)( std::exception const & e ); // user defined
#else
template <class E>
void (:link
- 1
-
- 0
-
- -57
-
-
- 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 );@]
@@ -6682,7 +6662,27 @@
- 0
+ 5
+ 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@]
@@ -6740,7 +6740,7 @@
0
- -53
+ -54
2
@@ -6956,27 +6956,45 @@
- 5
+ 9
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
+ (:auto !!!:)
(:include synopsis:)
This
1
0
- -16
+ -67
2
- :) is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See (:link
+ typedef is used by
1
0
- -46
+ -19
2
- mod="w":).
+ 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.
@@ -6986,6 +7004,81 @@
-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
@@ -6994,7 +7087,7 @@
0
- -16
+ -18
2
@@ -7003,7 +7096,7 @@
0
- -16
+ -18
2
@@ -7014,7 +7107,7 @@
0
- -7
+ -10
@@ -7034,7 +7127,7 @@
0
- -26
+ -14
2
@@ -7043,7 +7136,7 @@
0
- -32
+ -34
2
@@ -7052,7 +7145,7 @@
0
- -55
+ -56
2
@@ -7072,69 +7165,7 @@
0
- -8
-
-
-
- 9
- 2
- (:auto !!!:)
(:include synopsis:)
This
- 1
-
- 0
-
- -67
-
-
- 2
- typedef is used by
- 1
-
- 0
-
- -17
-
-
- 2
- if it defaults to returning an
- 1
-
- 0
-
- -53
-
-
- 2
- that refers to an object of type
- 1
-
- 0
-
- -31
-
-
- 2
- , to record in it the std::type_info of the original exception object.
-
-
-
-
- 0
-
- -9
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -10
+ -11
@@ -7163,7 +7194,7 @@
0
- -39
+ -28
2
@@ -7181,7 +7212,7 @@
0
- -26
+ -14
2
@@ -7190,7 +7221,7 @@
0
- -32
+ -34
2
@@ -7199,7 +7230,7 @@
0
- -16
+ -18
2
@@ -7208,7 +7239,7 @@
0
- -55
+ -56
2
@@ -7217,35 +7248,13 @@
0
- -56
+ -57
2
:).
-
-
- 0
-
- -11
-
-
-
- 3
- 2
- (:auto !!!:)
(:include decl:)
!!!!Effects:
Frees all resources associated with a boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :) object.
!!!!Throws:
Nothing.
-
-
0
@@ -7256,7 +7265,7 @@
1
2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
+ (:auto !:)
This is an alphabetical list of all Boost Exception documentation pages.
(:pagelist fmt="index" except_tags="index noindex" mod="w":)
@@ -7267,27 +7276,9 @@
- 5
+ 1
2
- (:auto !!!:)
(:include synopsis:)
!!!!Effects:
As if
[@try
{
throw
- 1
-
- 0
-
- -28
-
-
- 2
- (e);
}
catch(...)
{
return (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :)();
}@]
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -7298,9 +7289,36 @@
- 1
+ 7
2
- (:auto !:)
This is an alphabetical list of all Boost Exception documentation pages.
(:pagelist fmt="index" except_tags="index noindex" mod="w":)
+ (: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
+ :)
@@ -7310,6 +7328,50 @@
-15
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -16
+
+
+
+ 5
+ 2
+ (:auto !!!:)
(:include synopsis:)
!!!!Effects:
As if
[@try
{
throw
+ 1
+
+ 0
+
+ -30
+
+
+ 2
+ (e);
}
catch(...)
{
return (:link
+ 1
+
+ 0
+
+ -19
+
+
+ 2
+ :)();
}@]
+
+
+
+
+ 0
+
+ -17
+
+
79
2
@@ -7318,7 +7380,7 @@
0
- -5
+ -8
2
@@ -7327,7 +7389,7 @@
0
- -16
+ -18
2
@@ -7336,7 +7398,7 @@
0
- -6
+ -9
2
@@ -7345,7 +7407,7 @@
0
- -16
+ -18
2
@@ -7363,7 +7425,7 @@
0
- -16
+ -18
2
@@ -7372,7 +7434,7 @@
0
- -43
+ -44
2
@@ -7381,7 +7443,7 @@
0
- -16
+ -18
2
@@ -7390,7 +7452,7 @@
0
- -16
+ -18
2
@@ -7399,7 +7461,7 @@
0
- -43
+ -44
2
@@ -7408,7 +7470,7 @@
0
- -16
+ -18
2
@@ -7417,7 +7479,7 @@
0
- -16
+ -18
2
@@ -7426,7 +7488,7 @@
0
- -57
+ -58
2
@@ -7435,7 +7497,7 @@
0
- -16
+ -18
2
@@ -7444,7 +7506,7 @@
0
- -17
+ -19
2
@@ -7453,7 +7515,7 @@
0
- -49
+ -50
2
@@ -7462,7 +7524,7 @@
0
- -57
+ -58
2
@@ -7489,7 +7551,7 @@
0
- -49
+ -50
2
@@ -7498,7 +7560,7 @@
0
- -26
+ -14
2
@@ -7507,7 +7569,7 @@
0
- -32
+ -34
2
@@ -7516,7 +7578,7 @@
0
- -55
+ -56
2
@@ -7534,7 +7596,7 @@
0
- -57
+ -58
2
@@ -7543,7 +7605,7 @@
0
- -16
+ -18
2
@@ -7552,7 +7614,7 @@
0
- -57
+ -58
2
@@ -7561,7 +7623,7 @@
0
- -16
+ -18
2
@@ -7570,7 +7632,7 @@
0
- -53
+ -54
2
@@ -7579,7 +7641,7 @@
0
- -28
+ -30
2
@@ -7588,7 +7650,7 @@
0
- -57
+ -58
2
@@ -7597,7 +7659,7 @@
0
- -16
+ -18
2
@@ -7615,7 +7677,7 @@
0
- -43
+ -44
2
@@ -7624,7 +7686,7 @@
0
- -43
+ -44
2
@@ -7633,7 +7695,7 @@
0
- -43
+ -44
2
@@ -7642,7 +7704,7 @@
0
- -43
+ -44
2
@@ -7651,7 +7713,7 @@
0
- -43
+ -44
2
@@ -7671,7 +7733,7 @@
0
- -16
+ -18
@@ -7682,7 +7744,7 @@
0
- -16
+ -18
2
@@ -7691,7 +7753,7 @@
0
- -16
+ -18
2
@@ -7709,7 +7771,7 @@
0
- -43
+ -44
2
@@ -7718,7 +7780,7 @@
0
- -16
+ -18
2
@@ -7727,7 +7789,7 @@
0
- -56
+ -57
2
@@ -7738,7 +7800,7 @@
0
- -17
+ -19
@@ -7749,7 +7811,7 @@
0
- -17
+ -19
2
@@ -7758,7 +7820,7 @@
0
- -53
+ -54
2
@@ -7767,7 +7829,7 @@
0
- -53
+ -54
2
@@ -7776,7 +7838,7 @@
0
- -17
+ -19
2
@@ -7785,7 +7847,7 @@
0
- -17
+ -19
2
@@ -7794,7 +7856,7 @@
0
- -28
+ -30
2
@@ -7803,7 +7865,7 @@
0
- -17
+ -19
2
@@ -7812,7 +7874,7 @@
0
- -53
+ -54
2
@@ -7821,7 +7883,7 @@
0
- -31
+ -33
2
@@ -7830,7 +7892,7 @@
0
- -16
+ -18
2
@@ -7839,7 +7901,7 @@
0
- -16
+ -18
2
@@ -7848,7 +7910,7 @@
0
- -16
+ -18
2
@@ -7857,7 +7919,7 @@
0
- -53
+ -54
2
@@ -7866,7 +7928,7 @@
0
- -16
+ -18
2
@@ -7875,7 +7937,7 @@
0
- -56
+ -57
2
@@ -7884,7 +7946,7 @@
0
- -8
+ -5
2
@@ -7895,7 +7957,7 @@
0
- -18
+ -20
@@ -7913,41 +7975,6 @@
object.
(:include throws:)
-
-
- 0
-
- -19
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -20
-
-
-
- 3
- 2
- (:auto !!:)
This header has been deprecated.
Please #include <
- 1
-
- 0
-
- -51
-
-
- 2
- > instead.
-
-
0
@@ -7958,7 +7985,7 @@
1
2
- (:auto !!:)
(:pagelist fmt="index" tags="function":)
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -7971,7 +7998,7 @@
1
2
- (: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.
+ (:auto !!:)
(:pagelist fmt="index" tags="function":)
@@ -7984,7 +8011,7 @@
1
2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
+ (: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.
@@ -7995,50 +8022,32 @@
- 11
+ 7
2
- (: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
+ (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard (:link
1
0
- -28
+ -67
2
- :) at the time of the throw is required in order to use cloning.
!!!!Note:
All exceptions emitted by the familiar function boost::(:link
+ :) instance for transporting a relevant FILE pointer managed by a boost::shared_ptr<FILE> in exceptions deriving from boost::(:link
1
0
- -57
+ -18
2
- :) are guaranteed to derive from boost::(:link
+ :).
!!!Example:
(:include
1
0
- -16
-
-
- 2
- :) and to support cloning.
(:include
- 1
-
- 0
-
- -25
-
-
- 2
- :)
(:include
- 1
-
- 0
-
- -38
+ -77
2
@@ -8052,6 +8061,77 @@
-25
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -26
+
+
+
+ 11
+ 2
+ (: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
+ 1
+
+ 0
+
+ -30
+
+
+ 2
+ :) at the time of the throw is required in order to use cloning.
!!!!Note:
All exceptions emitted by the familiar function boost::(:link
+ 1
+
+ 0
+
+ -58
+
+
+ 2
+ :) are guaranteed to derive from boost::(:link
+ 1
+
+ 0
+
+ -18
+
+
+ 2
+ :) and to support cloning.
(:include
+ 1
+
+ 0
+
+ -27
+
+
+ 2
+ :)
(:include
+ 1
+
+ 0
+
+ -39
+
+
+ 2
+ :)
+
+
+
+
+ 0
+
+ -27
+
+
15
2
@@ -8078,7 +8158,7 @@
0
- -16
+ -18
2
@@ -8087,7 +8167,7 @@
0
- -28
+ -30
2
@@ -8096,7 +8176,7 @@
0
- -32
+ -34
2
@@ -8105,7 +8185,7 @@
0
- -28
+ -30
2
@@ -8114,7 +8194,7 @@
0
- -16
+ -18
2
@@ -8125,47 +8205,7 @@
0
- -26
-
-
-
- 7
- 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
-
- -16
-
-
- 2
- :).
!!!Example:
(:include
- 1
-
- 0
-
- -77
-
-
- 2
- :)
-
-
-
-
- 0
-
- -27
+ -28
@@ -8178,7 +8218,20 @@
0
- -28
+ -29
+
+
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -30
@@ -8189,7 +8242,7 @@
0
- -53
+ -54
2
@@ -8198,7 +8251,7 @@
0
- -28
+ -30
2
@@ -8207,7 +8260,7 @@
0
- -28
+ -30
2
@@ -8216,7 +8269,7 @@
0
- -17
+ -19
2
@@ -8225,7 +8278,7 @@
0
- -53
+ -54
2
@@ -8234,7 +8287,7 @@
0
- -31
+ -33
2
@@ -8243,7 +8296,7 @@
0
- -17
+ -19
2
@@ -8252,7 +8305,7 @@
0
- -57
+ -58
2
@@ -8261,7 +8314,7 @@
0
- -16
+ -18
2
@@ -8270,7 +8323,7 @@
0
- -53
+ -54
2
@@ -8281,7 +8334,7 @@
0
- -29
+ -31
@@ -8292,7 +8345,7 @@
0
- -16
+ -18
2
@@ -8301,7 +8354,7 @@
0
- -51
+ -52
2
@@ -8310,7 +8363,7 @@
0
- -16
+ -18
2
@@ -8319,7 +8372,7 @@
0
- -32
+ -34
2
@@ -8328,7 +8381,7 @@
0
- -51
+ -52
2
@@ -8337,7 +8390,7 @@
0
- -16
+ -18
2
@@ -8346,7 +8399,7 @@
0
- -55
+ -56
2
@@ -8355,7 +8408,7 @@
0
- -16
+ -18
2
@@ -8364,7 +8417,7 @@
0
- -16
+ -18
2
@@ -8375,7 +8428,7 @@
0
- -30
+ -32
@@ -8395,7 +8448,7 @@
0
- -30
+ -32
2
@@ -8406,7 +8459,7 @@
0
- -31
+ -33
@@ -8417,7 +8470,7 @@
0
- -53
+ -54
2
@@ -8426,7 +8479,7 @@
0
- -17
+ -19
2
@@ -8437,7 +8490,7 @@
0
- -32
+ -34
@@ -8457,7 +8510,7 @@
0
- -16
+ -18
2
@@ -8473,32 +8526,6 @@
:)
-
-
- 0
-
- -33
-
-
-
- 1
- 2
- (:auto !!!:)
(:include synopsis:)
!!!!Precondition:
ep shall not be null.
!!!!Throws:
The exception to which ep refers.
-
-
-
-
- 0
-
- -34
-
-
-
- 1
- 2
- (:auto !!:)
(:pagelist fmt="index" tags="type":)
-
-
0
@@ -8509,7 +8536,7 @@
1
2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
+ (:auto !!!:)
(:include synopsis:)
!!!!Precondition:
ep shall not be null.
!!!!Throws:
The exception to which ep refers.
@@ -8520,36 +8547,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 a relevant FILE pointer managed by a boost::shared_ptr<FILE> in exceptions deriving from boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :).
!!!Example:
(:include
- 1
-
- 0
-
- -77
-
-
- 2
- :)
+ (:auto !!:)
(:pagelist fmt="index" tags="type":)
@@ -8562,7 +8562,7 @@
1
2
- (:auto !!!:)
!!!Synopsis
(:include synopsis:)
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -8573,171 +8573,9 @@
- 37
+ 1
2
- (:auto !!!:)
When you catch an exception, you can call (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :) to get an (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) object:
[@#include <(:link
- 1
-
- 0
-
- -9
-
-
- 2
- :)>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
void do_work(); //throws cloning-enabled boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :)s
void
worker_thread( boost::(:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) & error )
{
try
{
do_work();
error = boost::(:link
- 1
-
- 0
-
- -53
-
-
- 2
- :)();
}
catch(
... )
{
error = boost::(:link
- 1
-
- 0
-
- -17
-
-
- 2
- :)();
}
}@]
In the above example, note that (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :) captures the original type of the exception object. The exception can be thrown again using the (:link
- 1
-
- 0
-
- -33
-
-
- 2
- :) function:
[@// ...continued
void
work()
{
boost::(:link
- 1
-
- 0
-
- -53
-
-
- 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
-
- -33
-
-
- 2
- :)(error);
}@]
Note that (:link
- 1
-
- 0
-
- -17
-
-
- 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
-
- -53
-
-
- 2
- :) points to an instance of std::bad_alloc, or
* if (:link
- 1
-
- 0
-
- -28
-
-
- 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
-
- -53
-
-
- 2
- :) points to an instance of (:link
- 1
-
- 0
-
- -31
-
-
- 2
- :).
Regardless, the use of (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :) and (:link
- 1
-
- 0
-
- -33
-
-
- 2
- :) in the above examples is well-formed.
+ (:auto !!!:)
!!!Synopsis
(:include synopsis:)
@@ -8748,9 +8586,171 @@
- 1
+ 37
2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
+ (: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.
@@ -8763,7 +8763,7 @@
5
2
- (:auto !!!:)
(:include synopsis:)
!!!!Description:
Returns a const reference to the copy of the value passed to (:link
+ (:auto !!!:)
(:include synopsis:)
!!!!Description:
Returns a (const) reference to the copy of the value passed to (:link
1
0
@@ -8792,27 +8792,9 @@
- 5
+ 1
2
- (:auto !!!:)
(:include synopsis:)
!!!!Requirements:
E must be boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :), or a type that derives (indirectly) from boost::(:link
- 1
-
- 0
-
- -16
-
-
- 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:)
+ (:auto !!:)
(:pagelist tags="macro":)
@@ -8823,36 +8805,27 @@
- 7
+ 5
2
- (:auto !!!:)
(:include decl:)
!!!!Effects:
* Default constructor: initializes an empty boost::(:link
+ (:auto !!!:)
(:include synopsis:)
!!!!Requirements:
E must be boost::(:link
1
0
- -16
+ -18
2
- :) object.
* Copy constructor: initializes a boost::(:link
+ :), or a type that derives (indirectly) from boost::(:link
1
0
- -16
+ -18
2
- :) object which shares ownership with x of all data added through (:link
- 1
-
- 0
-
- -43
-
-
- 2
- mod="/":), including data that is added at a future time.
!!!!Throws:
Nothing.
+ :).
!!!!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:)
@@ -8862,6 +8835,46 @@
-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
+
+ -44
+
+
7
2
@@ -8870,7 +8883,7 @@
0
- -16
+ -18
2
@@ -8879,7 +8892,7 @@
0
- -16
+ -18
2
@@ -8899,7 +8912,7 @@
0
- -44
+ -45
@@ -8910,7 +8923,7 @@
0
- -24
+ -26
2
@@ -8919,7 +8932,7 @@
0
- -57
+ -58
2
@@ -8928,7 +8941,7 @@
0
- -45
+ -46
2
@@ -8943,6 +8956,24 @@
2
mod="w":)
##(:link
1
+
+ 0
+
+ -48
+
+
+ 2
+ mod="w":)
##(:link
+ 1
+
+ 0
+
+ -26
+
+
+ 2
+ mod="w":)
##(:link
+ 1
0
@@ -8955,25 +8986,7 @@
0
- -24
-
-
- 2
- mod="w":)
##(:link
- 1
-
- 0
-
- -46
-
-
- 2
- mod="w":)
##(:link
- 1
-
- 0
-
- -5
+ -8
2
@@ -8991,7 +9004,7 @@
0
- -16
+ -18
2
@@ -9000,7 +9013,7 @@
0
- -49
+ -50
2
@@ -9009,7 +9022,7 @@
0
- -57
+ -58
2
@@ -9027,7 +9040,7 @@
0
- -43
+ -44
2
@@ -9036,7 +9049,7 @@
0
- -41
+ -42
2
@@ -9045,7 +9058,7 @@
0
- -56
+ -57
2
@@ -9054,7 +9067,7 @@
0
- -6
+ -9
2
@@ -9063,7 +9076,7 @@
0
- -53
+ -54
2
@@ -9072,7 +9085,7 @@
0
- -28
+ -30
2
@@ -9081,7 +9094,7 @@
0
- -17
+ -19
2
@@ -9090,7 +9103,16 @@
0
- -13
+ -16
+
+
+ 2
+ :)
###(:link
+ 1
+
+ 0
+
+ -35
2
@@ -9103,15 +9125,6 @@
2
- :)
###(:link
- 1
-
- 0
-
- -31
-
-
- 2
:)
##Diagnostic Information
###(:link
1
@@ -9126,7 +9139,7 @@
0
- -50
+ -51
2
@@ -9135,7 +9148,7 @@
0
- -22
+ -23
2
@@ -9162,7 +9175,7 @@
0
- -34
+ -36
2
@@ -9171,7 +9184,7 @@
0
- -21
+ -22
2
@@ -9180,7 +9193,7 @@
0
- -59
+ -41
2
@@ -9198,7 +9211,7 @@
0
- -15
+ -17
2
@@ -9207,7 +9220,7 @@
0
- -14
+ -12
2
@@ -9218,7 +9231,7 @@
0
- -45
+ -46
@@ -9229,7 +9242,7 @@
0
- -16
+ -18
2
@@ -9238,7 +9251,7 @@
0
- -16
+ -18
2
@@ -9256,7 +9269,7 @@
0
- -43
+ -44
2
@@ -9265,7 +9278,7 @@
0
- -16
+ -18
2
@@ -9283,7 +9296,7 @@
0
- -16
+ -18
2
@@ -9292,7 +9305,7 @@
0
- -43
+ -44
2
@@ -9301,7 +9314,7 @@
0
- -16
+ -18
2
@@ -9310,7 +9323,7 @@
0
- -43
+ -44
2
@@ -9319,7 +9332,7 @@
0
- -16
+ -18
2
@@ -9328,7 +9341,7 @@
0
- -56
+ -57
2
@@ -9337,7 +9350,7 @@
0
- -56
+ -57
2
@@ -9364,7 +9377,7 @@
0
- -16
+ -18
2
@@ -9375,127 +9388,7 @@
0
- -48
-
-
-
- 5
- 2
- (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard
- 1
-
- 0
-
- -67
-
-
- 2
- instance for transporting strings returned by std::type_info::name in exceptions deriving from boost::
- 1
-
- 0
-
- -16
-
-
- 2
- objects.
-
-
-
-
- 0
-
- -49
-
-
-
- 7
- 2
- (:auto !!!:)
(:include synopsis:)
This macro takes an exception object, records BOOST_CURRENT_FUNCTION, __FILE__ and __LINE__ in it, and forwards it to
- 1
-
- 0
-
- -57
-
-
- 2
- . To recover this information at the catch site, use
- 1
-
- 0
-
- -56
-
-
- 2
- ; the information is also included in the message returned by
- 1
-
- 0
-
- -61
-
-
- 2
- .
-
-
-
-
- 0
-
- -50
-
-
-
- 9
- 2
- (:auto !!!:)
(:include synopsis:)
!!!!Requirements:
This function must not be called outside of a catch block.
!!!!Returns:
If the current exception object can be converted to boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :) or std::exception, this function returns the same string value returned by (:link
- 1
-
- 0
-
- -61
-
-
- 2
- :) for the current exception object. Otherwise, an unspecified non-empty string is returned.
Typical use is to call
- 1
-
- 0
-
- -50
-
-
- 2
- from a top-level function to output diagnostic information about unhandled exceptions:
[@int
main()
{
try
{
run_program();
}
catch(
error & e )
{
//handle error
}
catch(
...)
{
std::cerr << "Unhandled exception!" << std::endl <<
boost::
- 1
-
- 0
-
- -50
-
-
- 2
- ();
}
}@]
-
-
-
-
- 0
-
- -46
+ -47
@@ -9506,7 +9399,7 @@
0
- -16
+ -18
2
@@ -9515,7 +9408,7 @@
0
- -16
+ -18
2
@@ -9524,7 +9417,7 @@
0
- -16
+ -18
2
@@ -9535,154 +9428,7 @@
0
- -51
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -52
-
-
-
- 1
- 2
- (:auto !!!:)
!!!Synopsis
(:include synopsis:)
-
-
-
-
- 0
-
- -53
-
-
-
- 25
- 2
- (:auto !!!:)
(:include synopsis:)
The (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :)'s operations do not throw.
The referenced object remains valid at least as long as there is an (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) object that refers to it.
Two instances of (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) are equivalent and compare equal if and only if they refer to the same exception.
The default constructor of (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) 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
- 1
-
- 0
-
- -53
-
-
- 2
- :) references to the same exception object.
* It is illegal for multiple threads to modify the same (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) object concurrently.
* While calling (:link
- 1
-
- 0
-
- -17
-
-
- 2
- :) 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
- 1
-
- 0
-
- -33
-
-
- 2
- :) concurrently to throw the same exception object into multiple threads.
!!!!Nesting of exceptions:
An (:link
- 1
-
- 0
-
- -53
-
-
- 2
- :) can be added as (:link
- 1
-
- 0
-
- -67
-
-
- 2
- :) to any boost::(:link
- 1
-
- 0
-
- -16
-
-
- 2
- :). 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.
-
-
-
-
- 0
-
- -47
+ -48
@@ -9693,7 +9439,7 @@
0
- -16
+ -18
2
@@ -9702,7 +9448,7 @@
0
- -6
+ -9
2
@@ -9711,7 +9457,7 @@
0
- -16
+ -18
2
@@ -9720,7 +9466,7 @@
0
- -51
+ -52
2
@@ -9756,7 +9502,7 @@
0
- -6
+ -9
2
@@ -9765,7 +9511,7 @@
0
- -6
+ -9
2
@@ -9774,7 +9520,7 @@
0
- -16
+ -18
2
@@ -9783,7 +9529,7 @@
0
- -43
+ -44
2
@@ -9792,7 +9538,7 @@
0
- -16
+ -18
2
@@ -9812,7 +9558,127 @@
0
- -54
+ -49
+
+
+
+ 5
+ 2
+ (:auto !!!:)
(:include synopsis:)
This type is designed to be used as a standard
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ instance for transporting strings returned by std::type_info::name in exceptions deriving from boost::
+ 1
+
+ 0
+
+ -18
+
+
+ 2
+ objects.
+
+
+
+
+ 0
+
+ -50
+
+
+
+ 7
+ 2
+ (:auto !!!:)
(:include synopsis:)
This macro takes an exception object, records BOOST_CURRENT_FUNCTION, __FILE__ and __LINE__ in it, and forwards it to
+ 1
+
+ 0
+
+ -58
+
+
+ 2
+ . To recover this information at the catch site, use
+ 1
+
+ 0
+
+ -57
+
+
+ 2
+ ; the information is also included in the message returned by
+ 1
+
+ 0
+
+ -61
+
+
+ 2
+ .
+
+
+
+
+ 0
+
+ -51
+
+
+
+ 9
+ 2
+ (:auto !!!:)
(:include synopsis:)
!!!!Requirements:
This function must not be called outside of a catch block.
!!!!Returns:
If the current exception object can be converted to boost::(:link
+ 1
+
+ 0
+
+ -18
+
+
+ 2
+ :) or std::exception, this function returns the same string value returned by (:link
+ 1
+
+ 0
+
+ -61
+
+
+ 2
+ :) for the current exception object. Otherwise, an unspecified non-empty string is returned.
Typical use is to call
+ 1
+
+ 0
+
+ -51
+
+
+ 2
+ from a top-level function to output diagnostic information about unhandled exceptions:
[@int
main()
{
try
{
run_program();
}
catch(
error & e )
{
//handle error
}
catch(
...)
{
std::cerr << "Unhandled exception!" << std::endl <<
boost::
+ 1
+
+ 0
+
+ -51
+
+
+ 2
+ ();
}
}@]
+
+
+
+
+ 0
+
+ -52
@@ -9821,6 +9687,140 @@
(:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+ 0
+
+ -53
+
+
+
+ 1
+ 2
+ (:auto !!!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -54
+
+
+
+ 25
+ 2
+ (:auto !!!:)
(:include synopsis:)
The (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :)'s operations do not throw.
The referenced object remains valid at least as long as there is an (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) object that refers to it.
Two instances of (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) are equivalent and compare equal if and only if they refer to the same exception.
The default constructor of (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) 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
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) references to the same exception object.
* It is illegal for multiple threads to modify the same (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) object concurrently.
* While calling (:link
+ 1
+
+ 0
+
+ -19
+
+
+ 2
+ :) 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
+ 1
+
+ 0
+
+ -35
+
+
+ 2
+ :) concurrently to throw the same exception object into multiple threads.
!!!!Nesting of exceptions:
An (:link
+ 1
+
+ 0
+
+ -54
+
+
+ 2
+ :) can be added as (:link
+ 1
+
+ 0
+
+ -67
+
+
+ 2
+ :) to any boost::(:link
+ 1
+
+ 0
+
+ -18
+
+
+ 2
+ :). 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.
+
+
0
@@ -9828,6 +9828,19 @@
-55
+
+ 1
+ 2
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
+
+
+
+
+ 0
+
+ -56
+
+
7
2
@@ -9845,7 +9858,7 @@
0
- -16
+ -18
2
@@ -9865,7 +9878,7 @@
0
- -56
+ -57
@@ -9885,7 +9898,7 @@
0
- -16
+ -18
2
@@ -9894,7 +9907,7 @@
0
- -43
+ -44
2
@@ -9903,7 +9916,7 @@
0
- -56
+ -57
2
@@ -9912,7 +9925,7 @@
0
- -56
+ -57
2
@@ -9932,7 +9945,7 @@
0
- -57
+ -58
@@ -9943,7 +9956,7 @@
0
- -57
+ -58
2
@@ -9952,7 +9965,7 @@
0
- -28
+ -30
2
@@ -9961,7 +9974,7 @@
0
- -6
+ -9
2
@@ -9970,7 +9983,7 @@
0
- -57
+ -58
2
@@ -9979,7 +9992,7 @@
0
- -57
+ -58
2
@@ -9988,7 +10001,7 @@
0
- -57
+ -58
2
@@ -9997,7 +10010,7 @@
0
- -56
+ -57
2
@@ -10013,19 +10026,6 @@
.
-
-
- 0
-
- -58
-
-
-
- 1
- 2
- (:auto !!:)
!!!Synopsis
(:include synopsis:)
-
-
0
@@ -10036,7 +10036,7 @@
1
2
- (:auto !!:)
(:pagelist tags="macro":)
+ (:auto !!:)
!!!Synopsis
(:include synopsis:)
@@ -10067,7 +10067,7 @@
0
- -16
+ -18
2
@@ -10085,7 +10085,7 @@
0
- -16
+ -18
2
@@ -10094,7 +10094,7 @@
0
- -43
+ -44
2
@@ -10103,7 +10103,7 @@
0
- -16
+ -18
2
@@ -10184,7 +10184,7 @@
0
- -53
+ -54
2
@@ -10202,7 +10202,7 @@
0
- -33
+ -35
2
@@ -10211,7 +10211,7 @@
0
- -50
+ -51
2
@@ -10220,7 +10220,7 @@
0
- -7
+ -10
2
@@ -10242,7 +10242,7 @@
0
- -51
+ -52
2
@@ -10260,7 +10260,7 @@
0
- -16
+ -18
2
@@ -10278,7 +10278,7 @@
0
- -16
+ -18
2
@@ -10287,7 +10287,7 @@
0
- -43
+ -44
2
@@ -10296,7 +10296,7 @@
0
- -56
+ -57
2
@@ -10305,7 +10305,7 @@
0
- -56
+ -57
2
@@ -10362,7 +10362,7 @@
0
- -16
+ -18
2
@@ -10402,7 +10402,7 @@
0
- -16
+ -18
2
@@ -10442,7 +10442,7 @@
0
- -43
+ -44
2
@@ -10451,7 +10451,7 @@
0
- -16
+ -18
2
@@ -10514,7 +10514,7 @@
0
- -43
+ -44
2
@@ -10532,7 +10532,7 @@
0
- -16
+ -18
2
@@ -10541,7 +10541,7 @@
0
- -43
+ -44
2
@@ -10550,7 +10550,7 @@
0
- -56
+ -57
2
@@ -10559,7 +10559,7 @@
0
- -27
+ -29
2
@@ -10568,7 +10568,7 @@
0
- -16
+ -18
2
@@ -10577,7 +10577,7 @@
0
- -16
+ -18
2
@@ -10586,7 +10586,7 @@
0
- -56
+ -57
2
@@ -10604,7 +10604,7 @@
0
- -43
+ -44
2
@@ -10626,7 +10626,7 @@
0
- -56
+ -57
2
@@ -10635,7 +10635,7 @@
0
- -56
+ -57
2
@@ -10644,7 +10644,7 @@
0
- -16
+ -18
2
@@ -10653,7 +10653,7 @@
0
- -28
+ -30
2
@@ -10662,7 +10662,7 @@
0
- -6
+ -9
2
@@ -10671,7 +10671,7 @@
0
- -57
+ -58
2
@@ -10680,7 +10680,7 @@
0
- -54
+ -55
2
@@ -10689,7 +10689,7 @@
0
- -57
+ -58
2
@@ -10720,7 +10720,7 @@
0
- -16
+ -18
2
@@ -10729,7 +10729,7 @@
0
- -16
+ -18
2
@@ -10747,7 +10747,7 @@
0
- -29
+ -31
2
@@ -10756,7 +10756,7 @@
0
- -10
+ -11
2
@@ -10839,7 +10839,7 @@
0
- -16
+ -18
2
@@ -10848,7 +10848,7 @@
0
- -16
+ -18
2
@@ -10857,7 +10857,7 @@
0
- -43
+ -44
2
@@ -10866,7 +10866,7 @@
0
- -51
+ -52
2
@@ -10875,7 +10875,7 @@
0
- -16
+ -18
2
@@ -10884,7 +10884,7 @@
0
- -16
+ -18
2
@@ -10902,7 +10902,7 @@
0
- -7
+ -10
2
@@ -10996,7 +10996,7 @@
0
- -52
+ -53
2
@@ -11005,7 +11005,7 @@
0
- -52
+ -53
2
@@ -11014,7 +11014,7 @@
0
- -19
+ -21
2
@@ -11023,43 +11023,7 @@
0
- -19
-
-
- 2
- synopsis:)@]
`#include <(:link
- 1
-
- 0
-
- -35
-
-
- 2
- :)>
[@(:include
- 1
-
- 0
-
- -35
-
-
- 2
- synopsis:)@]
`#include <(:link
- 1
-
- 0
-
- -9
-
-
- 2
- :)>
[@(:include
- 1
-
- 0
-
- -9
+ -21
2
@@ -11086,7 +11050,7 @@
0
- -54
+ -13
2
@@ -11095,7 +11059,43 @@
0
- -54
+ -13
+
+
+ 2
+ synopsis:)@]
`#include <(:link
+ 1
+
+ 0
+
+ -38
+
+
+ 2
+ :)>
[@(:include
+ 1
+
+ 0
+
+ -38
+
+
+ 2
+ synopsis:)@]
`#include <(:link
+ 1
+
+ 0
+
+ -55
+
+
+ 2
+ :)>
[@(:include
+ 1
+
+ 0
+
+ -55
2
@@ -11104,7 +11104,7 @@
0
- -39
+ -28
2
@@ -11113,7 +11113,7 @@
0
- -39
+ -28
2
@@ -11122,7 +11122,7 @@
0
- -12
+ -15
2
@@ -11131,7 +11131,7 @@
0
- -12
+ -15
2
@@ -11158,7 +11158,7 @@
0
- -23
+ -25
2
@@ -11167,7 +11167,7 @@
0
- -23
+ -25
2
@@ -11194,7 +11194,7 @@
0
- -58
+ -59
2
@@ -11203,7 +11203,7 @@
0
- -58
+ -59
2
@@ -11230,7 +11230,7 @@
0
- -51
+ -52
2
@@ -11239,7 +11239,7 @@
0
- -51
+ -52
2
@@ -11274,7 +11274,7 @@
0
- -39
+ -28
2
@@ -11283,7 +11283,7 @@
0
- -12
+ -15
2
@@ -11301,7 +11301,7 @@
0
- -23
+ -25
2
@@ -11319,7 +11319,7 @@
0
- -58
+ -59
2
@@ -11337,7 +11337,7 @@
0
- -54
+ -55
2
@@ -11346,7 +11346,7 @@
0
- -16
+ -18
2
@@ -11355,7 +11355,7 @@
0
- -49
+ -50
2
@@ -11364,7 +11364,7 @@
0
- -26
+ -14
2
@@ -11373,7 +11373,7 @@
0
- -32
+ -34
2
@@ -11382,7 +11382,7 @@
0
- -55
+ -56
2
@@ -11400,7 +11400,7 @@
0
- -49
+ -50
2
@@ -11409,7 +11409,7 @@
0
- -26
+ -14
2
@@ -11418,7 +11418,7 @@
0
- -32
+ -34
2
@@ -11427,7 +11427,7 @@
0
- -36
+ -24
2
@@ -11599,9 +11599,7 @@
- 1
- 2
- !!!!Throws:
Any exception emitted by v's copy constructor.
+ 0
@@ -11623,7 +11621,9 @@
- 0
+ 1
+ 2
+ !!!!Throws:
Any exception emitted by v's copy constructor.
@@ -11854,9 +11854,7 @@
- 1
- 2
- !!!!Throws:
std::bad_alloc, or any exception emitted by T1..TN copy constructor.
+ 0
@@ -11867,7 +11865,9 @@
- 0
+ 1
+ 2
+ !!!!Throws:
std::bad_alloc, or any exception emitted by T1..TN copy constructor.
@@ -11877,6 +11877,17 @@
-43
+
+ 0
+
+
+
+
+ 0
+
+ -44
+
+
1
2
@@ -11887,7 +11898,7 @@
0
- -44
+ -45
@@ -11898,7 +11909,18 @@
0
- -45
+ -46
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -47
@@ -11938,17 +11960,6 @@
0
-
-
- 0
-
- -46
-
-
-
- 0
-
-
0
@@ -11982,17 +11993,6 @@
0
-
-
- 0
-
- -47
-
-
-
- 0
-
-
0
@@ -12279,7 +12279,18 @@
- 0
+ 3
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -13
+
+
+ 2
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
@@ -12290,18 +12301,7 @@
- 3
- 2
- `#include <
- 1
-
- 0
-
- -52
-
-
- 2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ 0
@@ -12323,18 +12323,7 @@
- 3
- 2
- `#include <
- 1
-
- 0
-
- -9
-
-
- 2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ 0
@@ -12347,16 +12336,16 @@
3
2
- [@#include <(:link
+ `#include <
1
0
- -64
+ -53
2
- :)>
namespace
boost
{
(:include api pre_indent="4":)
}@]
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
@@ -12388,6 +12377,70 @@
-12
+
+ 0
+
+
+
+
+ 0
+
+ -13
+
+
+
+ 3
+ 2
+ [@#include <(:link
+ 1
+
+ 0
+
+ -64
+
+
+ 2
+ :)>
namespace
boost
{
(:include api pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -14
+
+
+
+ 5
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -28
+
+
+ 2
+ >
(:include
+ 1
+
+ 0
+
+ -28
+
+
+ 2
+ synopsis:)
+
+
+
+
+ 0
+
+ -15
+
+
3
2
@@ -12407,7 +12460,7 @@
0
- -13
+ -16
@@ -12418,7 +12471,7 @@
0
- -9
+ -13
2
@@ -12429,7 +12482,7 @@
0
- -14
+ -17
@@ -12440,18 +12493,7 @@
0
- -15
-
-
-
- 0
-
-
-
-
- 0
-
- -16
+ -18
@@ -12473,7 +12515,7 @@
0
- -17
+ -19
@@ -12484,7 +12526,7 @@
0
- -9
+ -13
2
@@ -12495,7 +12537,7 @@
0
- -18
+ -20
@@ -12517,7 +12559,7 @@
0
- -19
+ -21
@@ -12528,35 +12570,13 @@
0
- -16
+ -18
2
decl pre_indent="4":)
(:include api pre_indent="4":)
}@]
-
-
- 0
-
- -20
-
-
-
- 0
-
-
-
-
- 0
-
- -21
-
-
-
- 0
-
-
0
@@ -12565,18 +12585,7 @@
- 3
- 2
- `#include <
- 1
-
- 0
-
- -35
-
-
- 2
- >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+ 0
@@ -12586,94 +12595,6 @@
-23
-
- 3
- 2
- [@#include <
- 1
-
- 0
-
- -60
-
-
- 2
- >
namespace
boost
{
template <class> class weak_ptr;
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -24
-
-
-
- 0
-
-
-
-
- 0
-
- -25
-
-
-
- 0
-
-
-
-
- 0
-
- -26
-
-
-
- 5
- 2
- `#include <
- 1
-
- 0
-
- -39
-
-
- 2
- >
(:include
- 1
-
- 0
-
- -39
-
-
- 2
- synopsis:)
-
-
-
-
- 0
-
- -27
-
-
-
- 1
- 2
- [@#include <boost/shared_ptr.hpp>
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -28
-
-
3
2
@@ -12693,13 +12614,112 @@
0
- -29
+ -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
@@ -12707,6 +12727,39 @@
-30
+
+ 3
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -38
+
+
+ 2
+ >
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -31
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -32
+
+
3
2
@@ -12722,59 +12775,6 @@
:)>
[@(:include decl:)@]
-
-
- 0
-
- -31
-
-
-
- 3
- 2
- `#include <(:link
- 1
-
- 0
-
- -9
-
-
- 2
- :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
-
-
-
-
- 0
-
- -32
-
-
-
- 5
- 2
- `#include <
- 1
-
- 0
-
- -63
-
-
- 2
- >
(:include
- 1
-
- 0
-
- -63
-
-
- 2
- synopsis:)
-
-
0
@@ -12790,7 +12790,7 @@
0
- -9
+ -13
2
@@ -12805,7 +12805,27 @@
- 0
+ 5
+ 2
+ `#include <
+ 1
+
+ 0
+
+ -63
+
+
+ 2
+ >
(:include
+ 1
+
+ 0
+
+ -63
+
+
+ 2
+ synopsis:)
@@ -12815,6 +12835,39 @@
-35
+
+ 3
+ 2
+ `#include <(:link
+ 1
+
+ 0
+
+ -13
+
+
+ 2
+ :)>
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
+
+
+
+
+ 0
+
+ -36
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -37
+
+
1
2
@@ -12825,38 +12878,7 @@
0
- -36
-
-
-
- 5
- 2
- `#include <
- 1
-
- 0
-
- -23
-
-
- 2
- >
(:include
- 1
-
- 0
-
- -23
-
-
- 2
- synopsis:)
-
-
-
-
- 0
-
- -37
+ -38
@@ -12874,17 +12896,6 @@
>
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
- 0
-
- -38
-
-
-
- 0
-
-
0
@@ -12893,18 +12904,7 @@
- 3
- 2
- [@#include <
- 1
-
- 0
-
- -60
-
-
- 2
- >
namespace
boost
{
(:include api pre_indent="4":)
}@]
+ 0
@@ -12936,6 +12936,17 @@
-41
+
+ 0
+
+
+
+
+ 0
+
+ -42
+
+
5
2
@@ -12953,7 +12964,7 @@
0
- -41
+ -42
2
@@ -12964,7 +12975,7 @@
0
- -42
+ -43
@@ -12975,7 +12986,7 @@
0
- -43
+ -44
@@ -12993,17 +13004,6 @@
:)>\\
[@namespace
boost
{
(:include decl pre_indent="4":)
}@]
-
-
- 0
-
- -44
-
-
-
- 0
-
-
0
@@ -13015,6 +13015,28 @@
0
+
+
+ 0
+
+ -46
+
+
+
+ 0
+
+
+
+
+ 0
+
+ -47
+
+
+
+ 0
+
+
0
@@ -13022,6 +13044,17 @@
-48
+
+ 0
+
+
+
+
+ 0
+
+ -49
+
+
5
2
@@ -13050,7 +13083,7 @@
0
- -49
+ -50
@@ -13061,7 +13094,7 @@
0
- -54
+ -55
2
@@ -13072,7 +13105,7 @@
0
- -50
+ -51
@@ -13083,7 +13116,7 @@
0
- -19
+ -21
2
@@ -13094,18 +13127,7 @@
0
- -46
-
-
-
- 0
-
-
-
-
- 0
-
- -51
+ -52
@@ -13118,7 +13140,7 @@
0
- -52
+ -53
@@ -13140,7 +13162,7 @@
0
- -53
+ -54
@@ -13151,7 +13173,7 @@
0
- -9
+ -13
2
@@ -13162,18 +13184,7 @@
0
- -47
-
-
-
- 0
-
-
-
-
- 0
-
- -54
+ -55
@@ -13186,7 +13197,7 @@
0
- -55
+ -56
@@ -13217,7 +13228,7 @@
0
- -56
+ -57
@@ -13230,7 +13241,7 @@
0
- -57
+ -58
@@ -13241,7 +13252,7 @@
0
- -54
+ -55
2
@@ -13252,7 +13263,7 @@
0
- -58
+ -59
@@ -13270,17 +13281,6 @@
>
#include <string>
namespace
boost
{
(:include api pre_indent="4":)
}@]
-
-
- 0
-
- -59
-
-
-
- 0
-
-
0
@@ -13309,7 +13309,7 @@
0
- -19
+ -21
2
@@ -13377,7 +13377,7 @@
0
- -12
+ -15
2
@@ -13386,7 +13386,7 @@
0
- -12
+ -15
2
@@ -13408,7 +13408,7 @@
0
- -58
+ -59
2
@@ -13417,7 +13417,7 @@
0
- -58
+ -59
2
@@ -13741,6 +13741,12 @@
-45
+
+ -46
+
+
+ -47
+
-48
@@ -13750,9 +13756,6 @@
-50
-
- -46
-
-51
@@ -13762,9 +13765,6 @@
-53
-
- -47
-
-54
@@ -13856,7 +13856,7 @@
- -44
+ -45
@@ -13873,7 +13873,7 @@
- -24
+ -26
@@ -13907,7 +13907,7 @@
- -14
+ -12
@@ -13924,7 +13924,7 @@
- -52
+ -53
@@ -13941,41 +13941,7 @@
- -37
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
- -45
-
-
-
-
-
-
- 0
-
-
-
-
-
- 1
-
-
-
- -5
+ -38
@@ -14009,7 +13975,7 @@
- -15
+ -8
@@ -14026,7 +13992,41 @@
- -21
+ -47
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+ -17
+
+
+
+
+
+
+ 0
+
+
+
+
+
+ 1
+
+
+
+ -22
@@ -14060,7 +14060,7 @@
- -34
+ -36
@@ -14077,7 +14077,7 @@
- -59
+ -41
@@ -14118,7 +14118,7 @@
- -19
+ -21
@@ -14142,7 +14142,7 @@
- -9
+ -13
@@ -14197,6 +14197,174 @@
-66
+
+
+
+
+ 1
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -64
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ 17E691632123EB67BA67D590B49EB8094F462F5A10A66A1C5438E1867EF1478E
+ 765399792
+ 77
+ 5887
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -6
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9
+ 1137981799
+ 192
+ 8964
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -30
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ F3FB15CD82336271C6E875BC620385322777D16F0B7C233300783CE35710CCBF
+ 3292878997
+ 282
+ 7275
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -9
+
+
+
+
+
+
+ 2
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
+ 1693870740
+ 2195
+ 3690
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -18
+
+
+
+
+
+
+ 3
+ 371CB5A9AF48BE702BFD7FDF4EF18703E855F3A4C620AB21918B7064E1620B0C
+ 2238455337
+ 9162
+ 323
+ 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
+ 1693870740
+ 2195
+ 3690
+ DA154372D8C23BD9EDC30005CA7959CE686D198891097A837D006B5222F04DE9
+ 2768248809
+ 143
+ 60
+
+
+
+
+
+ 0
+ ../../../../boost/exception/exception.hpp
+ 0
+ 0
+
+
+
+ -43
+
+
@@ -14218,7 +14386,7 @@
- -39
+ -28
@@ -14246,7 +14414,7 @@
- -31
+ -33
@@ -14274,7 +14442,7 @@
- -17
+ -19
@@ -14302,7 +14470,7 @@
- -53
+ -54
@@ -14330,7 +14498,7 @@
- -8
+ -5
@@ -14358,7 +14526,7 @@
- -33
+ -35
@@ -14386,7 +14554,7 @@
- -13
+ -16
@@ -14410,55 +14578,7 @@
- -38
-
-
-
-
-
-
- 1
- 80C86365052AA49654F75CAA87BF9B29C6373A01F8EE4D5E79F317CD76FC0718
- 622934727
- 6161
- 412
-
-
-
-
-
- 0
- ../../example/example_io.cpp
- 0
- 0
-
-
-
- -7
-
-
-
-
-
-
- 1
- F812D8AE60189369CED7A3FD72733A65B57D56637E6721867F52A82EB319731A
- 3974553696
- 1432
- 352
-
-
-
-
-
- 0
- ../../example/errinfos.cpp
- 0
- 0
-
-
-
- -77
+ -39
@@ -14486,63 +14606,7 @@
- -48
-
-
-
-
-
-
- 2
- AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20
- 228982966
- 3918
- 518
- 6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010
- 1097215175
- 161
- 240
-
-
-
-
-
- 0
- ../../../../boost/exception/info.hpp
- 0
- 0
-
-
-
- -18
-
-
-
-
-
-
- 2
- AED5E79246B32BDF0E5C6CD8BDDC3370FD0BA1EFE3D4CE76C4A6D36A123F2E20
- 228982966
- 3918
- 518
- D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8
- 4055211476
- 525
- 3387
-
-
-
-
-
- 0
- ../../../../boost/exception/info.hpp
- 0
- 0
-
-
-
- -43
+ -49
@@ -14574,9 +14638,9 @@
1
- D194983FA4C182AB869F1AB542797B3EDCCBAEB0A6E67B2DCEE5EA2C7F58853C
- 1308852571
- 395
+ 27ED18F9B6131B084FEF0C9F932B7027AF449E378B5FD7973CD6642263FCAF27
+ 2867102400
+ 404
307
@@ -14590,7 +14654,35 @@
- -25
+ -27
+
+
+
+
+
+
+ 2
+ 4951AD2B59F146F3239CD8DC83B984EA854EF190F117FA525DAEC045B2FDDC29
+ 2306670270
+ 2901
+ 504
+ D68146065629FE0D77CC52D7CA5C71A3DBC64A09BE528FAF6FBAC2BA7BD37F6F
+ 3570398870
+ 2869
+ 26
+
+
+
+
+
+ 0
+ ../../../../boost/exception/get_error_info.hpp
+ 0
+ 0
+
+
+
+ -57
@@ -14618,35 +14710,31 @@
- -22
+ -23
- 2
- FEABD2D011FBCE667D26BAD68A1C65D81E98DD40081CC70F2738AC3151A8FC4A
- 4260129224
- 2393
- 504
- C708EDCAC3964E2F3C3A081700112C5F15C7BF7A61FDF2EF39D112FC9B987CE3
- 1739153824
- 2361
- 26
+ 1
+ DB156E6A8ACB9FB90C8FB110FC25A5FEB14A619F82EEC47FF913373592E5CC3E
+ 240075319
+ 6209
+ 412
0
- ../../../../boost/exception/get_error_info.hpp
+ ../../example/example_io.cpp
0
0
- -56
+ -10
@@ -14674,7 +14762,7 @@
- -36
+ -24
@@ -14682,23 +14770,115 @@
1
- 28E8289766B2CDAEF0A407A6389CB9F7FD3B0F4B49B15CB73AF210A1CEB60C58
- 4196332848
- 735
- 363
+ D32E0E4334CE0236B6EDB0EAC484B2DD595860E9FD53701EB5646D62C6A45D4E
+ 1054670543
+ 866
+ 306
0
- ../../example/info_tuple.cpp
+ ../../example/error_info_2.cpp
0
0
- -10
+ -31
+
+
+
+
+
+
+ 2
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
+ 344
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
+ 433
+
+
+
+
+
+ 0
+ ../../../../boost/exception/detail/error_info_impl.hpp
+ 0
+ 0
+
+
+
+ -67
+
+
+
+
+
+
+ 3
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
+ 344
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
+ 433
+ 38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50
+ 2218658069
+ 31
+ 143
+
+
+
+
+
+ 0
+ ../../../../boost/exception/detail/error_info_impl.hpp
+ 0
+ 0
+
+
+
+ -32
+
+
+
+
+
+
+ 3
+ 892ACAF5EB4C2D93ECC578359C6CF16C5DDB159571B19B7EE11CC84ED6828258
+ 116592015
+ 1062
+ 344
+ 5D5B59DE2E0728CF19BDD22BF7DE3FADAD08B422B577E0705508F6D9FB6707C7
+ 387228411
+ 623
+ 433
+ 98B33BE76679E3A4831241335CD5DFF6F634429F36BABF96C1D4DC2296C5ECC5
+ 1584672077
+ 208
+ 259
+
+
+
+
+
+ 0
+ ../../../../boost/exception/detail/error_info_impl.hpp
+ 0
+ 0
+
+
+
+ -40
@@ -14802,7 +14982,7 @@
- -32
+ -34
@@ -14826,7 +15006,7 @@
- -51
+ -52
@@ -14854,7 +15034,31 @@
- -26
+ -14
+
+
+
+
+
+
+ 1
+ 756A81C65A938BEEAD9B576707145748A3DB3BF767CC77ADD5AACD549373856A
+ 904132245
+ 744
+ 363
+
+
+
+
+
+ 0
+ ../../example/info_tuple.cpp
+ 0
+ 0
+
+
+
+ -11
@@ -14878,7 +15082,7 @@
- -12
+ -15
@@ -14934,7 +15138,7 @@
- -50
+ -51
@@ -14958,7 +15162,7 @@
- -23
+ -25
@@ -14966,17 +15170,17 @@
1
- 0F429704770B5772E81B2BC74E962B62F83826D6C885B7C6E7186D127D31B291
- 1345125619
- 854
- 306
+ 12CB2020052A21CD64B436DDCADB749FD935E83CC0D1D8980DAE2B002B8B1F8E
+ 4127342641
+ 3082
+ 323
0
- ../../example/error_info_2.cpp
+ ../../../../boost/exception/get_error_info.hpp
0
0
@@ -14985,6 +15189,62 @@
-29
+
+
+
+
+ 2
+ 729C4823568528056026F84642250C2A19F5EC21C6BCA14B482D2C3370F06990
+ 2578904403
+ 3888
+ 518
+ 6E325144EF4F41FA3A225EB30729101382C4E99B3D6160E307311E4B4E641010
+ 1097215175
+ 161
+ 240
+
+
+
+
+
+ 0
+ ../../../../boost/exception/info.hpp
+ 0
+ 0
+
+
+
+ -20
+
+
+
+
+
+
+ 2
+ 729C4823568528056026F84642250C2A19F5EC21C6BCA14B482D2C3370F06990
+ 2578904403
+ 3888
+ 518
+ D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8
+ 4055211476
+ 525
+ 3357
+
+
+
+
+
+ 0
+ ../../../../boost/exception/info.hpp
+ 0
+ 0
+
+
+
+ -44
+
+
@@ -15006,7 +15266,7 @@
- -35
+ -37
@@ -15030,7 +15290,7 @@
- -58
+ -59
@@ -15057,98 +15317,6 @@
-62
-
-
-
-
- 2
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
- 344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
- 433
-
-
-
-
-
- 0
- ../../../../boost/exception/detail/error_info_impl.hpp
- 0
- 0
-
-
-
- -67
-
-
-
-
-
-
- 3
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
- 344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
- 433
- 38B566F2C6678B8724D18086A6F76E077DC2ADC1BB69A4B83BF0A2C3B7D31B50
- 2218658069
- 31
- 143
-
-
-
-
-
- 0
- ../../../../boost/exception/detail/error_info_impl.hpp
- 0
- 0
-
-
-
- -30
-
-
-
-
-
-
- 3
- 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB
- 3471702891
- 969
- 344
- A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47
- 2978648279
- 530
- 433
- 02372FA6B987EAC15E78C5A12036F203A92B3D4C857C02985B1BF0A24008D976
- 2987989218
- 109
- 259
-
-
-
-
-
- 0
- ../../../../boost/exception/detail/error_info_impl.hpp
- 0
- 0
-
-
-
- -40
-
-
@@ -15174,7 +15342,7 @@
- -57
+ -58
@@ -15214,71 +15382,23 @@
1
- 2F432507CFD796BE673F33D9AC68C535F1ED1F4FCD3A8E3AEEC320D9795FB4AE
- 2319362875
- 2574
- 323
+ 91CF203512705C8B2CDCBCD1439821CBF93CFC1A4C2EA2CA91F38DAA3F7720B2
+ 1769665510
+ 1558
+ 352
0
- ../../../../boost/exception/get_error_info.hpp
+ ../../example/errinfos.cpp
0
0
- -27
-
-
-
-
-
-
- 1
- 641BB230CEBF638811480BE0E3A96ABCB7CC9CC7E1C1A9C51FBAB296FFB6B7B1
- 4248389286
- 4113
- 323
-
-
-
-
-
- 0
- ../../../../boost/exception/info.hpp
- 0
- 0
-
-
-
- -71
-
-
-
-
-
-
- 1
- CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF
- 2258638601
- 94
- 227
-
-
-
-
-
- 0
- ../../../../boost/exception/info_tuple.hpp
- 0
- 0
-
-
-
- -73
+ -77
@@ -15302,7 +15422,7 @@
- -54
+ -55
@@ -15326,7 +15446,7 @@
- -49
+ -50
@@ -15334,9 +15454,9 @@
1
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
+ 9A6D5598D65F1C1B5F913007D1CD1A814F3CDAD07D4AF8C468A0716059B2F7CC
+ 3552995087
+ 1405
323
@@ -15344,157 +15464,37 @@
0
- ../../../../boost/exception/exception.hpp
+ ../../../../boost/exception/info_tuple.hpp
0
0
- -64
+ -73
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
+ 1
+ 0A3DA9A448D03ACAC4C613BEB8B1F68E822C970ABF81D7EEE0CF3152623232E0
+ 1462319939
+ 4083
323
- 17E691632123EB67BA67D590B49EB8094F462F5A10A66A1C5438E1867EF1478E
- 765399792
- 77
- 5899
0
- ../../../../boost/exception/exception.hpp
+ ../../../../boost/exception/info.hpp
0
0
- -11
-
-
-
-
-
-
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9
- 1137981799
- 192
- 8976
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
- -28
-
-
-
-
-
-
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- F3FB15CD82336271C6E875BC620385322777D16F0B7C233300783CE35710CCBF
- 3292878997
- 282
- 7287
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
- -6
-
-
-
-
-
-
- 2
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
- 1693870740
- 2195
- 3702
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
- -16
-
-
-
-
-
-
- 3
- 625285100233119FB4542EB54530FC7CB802D9A50B06D6CFB397730CDB1ED7D8
- 4080542391
- 9174
- 323
- 65D35B8A2063883A53E9D0DCC3FF8E5CA3573A58451A653CDE3003FFBEC576D3
- 1693870740
- 2195
- 3702
- DA154372D8C23BD9EDC30005CA7959CE686D198891097A837D006B5222F04DE9
- 2768248809
- 143
- 60
-
-
-
-
-
- 0
- ../../../../boost/exception/exception.hpp
- 0
- 0
-
-
-
- -42
+ -71
@@ -15522,7 +15522,7 @@
- -55
+ -56
@@ -15546,7 +15546,7 @@
- -47
+ -48
@@ -15602,7 +15602,7 @@
- -41
+ -42
@@ -15626,7 +15626,7 @@
- -20
+ -7
@@ -15657,7 +15657,7 @@
-5
- tutorial
+ type
@@ -15666,7 +15666,16 @@
-6
- error_info free function
+ function
+
+
+
+ 0
+
+ -7
+
+
+ noindex
@@ -15675,7 +15684,7 @@
-8
- type
+ tutorial
@@ -15684,16 +15693,7 @@
-9
-
-
-
-
- 0
-
- -10
-
-
- noalso noindex tutorial
+ error_info free function
@@ -15702,22 +15702,13 @@
-11
- function
+ noalso noindex tutorial
0
- -13
-
-
- exception_ptr free function
-
-
-
- 0
-
- -14
+ -12
@@ -15726,16 +15717,25 @@
0
- -16
+ -13
- type
+
0
- -17
+ -14
+
+
+ error_info_instance noalso type
+
+
+
+ 0
+
+ -16
exception_ptr free function
@@ -15747,7 +15747,7 @@
-18
- function member
+ type
@@ -15756,7 +15756,7 @@
-19
-
+ exception_ptr free function
@@ -15765,13 +15765,22 @@
-20
- noindex
+ function member
0
- -22
+ -21
+
+
+
+
+
+
+ 0
+
+ -23
function
@@ -15783,16 +15792,7 @@
-24
- tutorial
-
-
-
- 0
-
- -25
-
-
- noindex tutorial
+ error_info_instance noalso type
@@ -15801,7 +15801,7 @@
-26
- error_info_instance noalso type
+ tutorial
@@ -15810,16 +15810,7 @@
-27
- error_info
-
-
-
- 0
-
- -28
-
-
- exception_ptr free function
+ noindex tutorial
@@ -15828,7 +15819,7 @@
-29
- noalso noindex tutorial
+ error_info
@@ -15837,7 +15828,7 @@
-30
- type
+ exception_ptr free function
@@ -15846,7 +15837,7 @@
-31
- exception_ptr type
+ noalso noindex tutorial
@@ -15855,7 +15846,7 @@
-32
- error_info_instance noalso type
+ type
@@ -15864,26 +15855,26 @@
-33
- exception_ptr free function
+ exception_ptr type
0
- -35
-
-
-
-
-
-
- 0
-
- -36
+ -34
error_info_instance noalso type
+
+
+ 0
+
+ -35
+
+
+ exception_ptr free function
+
0
@@ -15891,13 +15882,22 @@
-37
+
+
+
+
+ 0
+
+ -38
+
+
exception_ptr
0
- -38
+ -39
noindex tutorial
@@ -15911,15 +15911,6 @@
function member
-
-
- 0
-
- -41
-
-
- error_info free function
-
0
@@ -15927,7 +15918,7 @@
-42
- function
+ error_info free function
@@ -15936,7 +15927,7 @@
-43
- error_info free function
+ function
@@ -15945,6 +15936,15 @@
-44
+ error_info free function
+
+
+
+ 0
+
+ -45
+
+
noindex
@@ -15954,7 +15954,7 @@
-48
- error_info_instance noalso type
+ tutorial
@@ -15963,7 +15963,7 @@
-49
- macro
+ error_info_instance noalso type
@@ -15972,16 +15972,16 @@
-50
- function
+ macro
0
- -52
+ -51
- error_info
+ function
@@ -15990,16 +15990,7 @@
-53
- type
-
-
-
- 0
-
- -47
-
-
- tutorial
+ error_info
@@ -16008,7 +15999,7 @@
-54
-
+ type
@@ -16017,7 +16008,7 @@
-55
- error_info_instance noalso type
+
@@ -16026,7 +16017,7 @@
-56
- error_info free function
+ error_info_instance noalso type
@@ -16035,6 +16026,15 @@
-57
+ error_info free function
+
+
+
+ 0
+
+ -58
+
+
free function
diff --git a/doc/synopsis.html b/doc/synopsis.html
index 9f6bde3..e422008 100644
--- a/doc/synopsis.html
+++ b/doc/synopsis.html
@@ -64,7 +64,8 @@ boost
typedef T value_type;
error_info( value_type const & v );
- value_type const & value() const;
+ value_type const & value() const;
+ value_type & value();
};
template <class E, class Tag, class T>
diff --git a/example/cloning_1.cpp b/example/cloning_1.cpp
index 3e306f8..16103a9 100644
--- a/example/cloning_1.cpp
+++ b/example/cloning_1.cpp
@@ -17,5 +17,5 @@ file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
throw boost::enable_current_exception(file_read_error()) <<
- boost::errinfo_errno(errno);
+ boost::errinfo_errno(errno);
}
diff --git a/example/errinfos.cpp b/example/errinfos.cpp
index ed9a434..2b3cff1 100644
--- a/example/errinfos.cpp
+++ b/example/errinfos.cpp
@@ -27,27 +27,27 @@ struct file_read_error: virtual file_error { };
boost::shared_ptr
open_file( char const * file, char const * mode )
- {
- if( FILE * f=fopen(file,mode) )
- return boost::shared_ptr(f,fclose);
- else
- BOOST_THROW_EXCEPTION(
- file_open_error() <<
- boost::errinfo_api_function("fopen") <<
- boost::errinfo_errno(errno) <<
- boost::errinfo_file_name(file) <<
- boost::errinfo_file_open_mode(mode) );
- }
+ {
+ if( FILE * f=fopen(file,mode) )
+ return boost::shared_ptr(f,fclose);
+ else
+ BOOST_THROW_EXCEPTION(
+ file_open_error() <<
+ boost::errinfo_api_function("fopen") <<
+ boost::errinfo_errno(errno) <<
+ boost::errinfo_file_name(file) <<
+ boost::errinfo_file_open_mode(mode) );
+ }
size_t
read_file( boost::shared_ptr const & f, void * buf, size_t size )
- {
- size_t nr=fread(buf,1,size,f.get());
- if( ferror(f.get()) )
- BOOST_THROW_EXCEPTION(
- file_read_error() <<
- boost::errinfo_api_function("fread") <<
- boost::errinfo_errno(errno) <<
- boost::errinfo_file_handle(f) );
- return nr;
- }
+ {
+ size_t nr=fread(buf,1,size,f.get());
+ if( ferror(f.get()) )
+ BOOST_THROW_EXCEPTION(
+ file_read_error() <<
+ boost::errinfo_api_function("fread") <<
+ boost::errinfo_errno(errno) <<
+ boost::errinfo_file_handle(f) );
+ return nr;
+ }
diff --git a/example/error_info_2.cpp b/example/error_info_2.cpp
index c950574..dea512a 100644
--- a/example/error_info_2.cpp
+++ b/example/error_info_2.cpp
@@ -18,7 +18,7 @@ void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
- throw file_read_error() << boost::errinfo_errno(errno);
+ throw file_read_error() << boost::errinfo_errno(errno);
}
//
@@ -39,7 +39,7 @@ parse_file( char const * file_name )
catch(
boost::exception & e )
{
- e << boost::errinfo_file_name(file_name);
+ e << boost::errinfo_file_name(file_name);
throw;
}
}
diff --git a/example/example_io.cpp b/example/example_io.cpp
index 59b9848..09b6138 100644
--- a/example/example_io.cpp
+++ b/example/example_io.cpp
@@ -61,10 +61,10 @@ my_fopen( char const * name, char const * mode )
return boost::shared_ptr(f,fclose);
else
BOOST_THROW_EXCEPTION(fopen_error() <<
- boost::errinfo_errno (errno) <<
- boost::errinfo_file_name(name) <<
- boost::errinfo_file_open_mode(mode) <<
- boost::errinfo_api_function("fopen"));
+ boost::errinfo_errno (errno) <<
+ boost::errinfo_file_name(name) <<
+ boost::errinfo_file_open_mode(mode) <<
+ boost::errinfo_api_function("fopen"));
}
void
@@ -75,7 +75,7 @@ my_fread( void * buffer, size_t size, size_t count, boost::shared_ptr cons
BOOST_THROW_EXCEPTION(fread_error() <<
boost::errinfo_api_function("fread") <<
boost::errinfo_errno(errno) <<
- boost::errinfo_file_handle(boost::weak_ptr(stream)));
+ boost::errinfo_file_handle(boost::weak_ptr(stream)));
}
void
diff --git a/example/info_tuple.cpp b/example/info_tuple.cpp
index d05965d..f2e961f 100644
--- a/example/info_tuple.cpp
+++ b/example/info_tuple.cpp
@@ -26,6 +26,6 @@ file_open( char const * name, char const * mode )
return boost::shared_ptr(f,fclose);
else
throw file_open_error() <<
- boost::errinfo_file_name(name) <<
+ boost::errinfo_file_name(name) <<
clib_failure("fopen",errno);
}
diff --git a/include/boost/exception/detail/error_info_impl.hpp b/include/boost/exception/detail/error_info_impl.hpp
index 8d9b72f..a25d066 100644
--- a/include/boost/exception/detail/error_info_impl.hpp
+++ b/include/boost/exception/detail/error_info_impl.hpp
@@ -49,12 +49,18 @@ boost
return value_;
}
+ value_type &
+ value()
+ {
+ return value_;
+ }
+
private:
char const * tag_typeid_name() const;
std::string value_as_string() const;
- value_type const value_;
+ value_type value_;
};
}
diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp
index 6233f19..f71f9f5 100644
--- a/include/boost/exception/exception.hpp
+++ b/include/boost/exception/exception.hpp
@@ -144,8 +144,8 @@ boost
error_info_container
{
virtual char const * diagnostic_information() const = 0;
- virtual shared_ptr get( type_info_ const & ) const = 0;
- virtual void set( shared_ptr const &, type_info_ const & ) = 0;
+ virtual shared_ptr get( type_info_ const & ) const = 0;
+ virtual void set( shared_ptr const &, type_info_ const & ) = 0;
virtual void add_ref() const = 0;
virtual void release() const = 0;
diff --git a/include/boost/exception/get_error_info.hpp b/include/boost/exception/get_error_info.hpp
index 826ef22..0901f52 100644
--- a/include/boost/exception/get_error_info.hpp
+++ b/include/boost/exception/get_error_info.hpp
@@ -22,16 +22,16 @@ boost
get_info
{
static
- typename ErrorInfo::value_type const *
+ typename ErrorInfo::value_type *
get( exception const & x )
{
if( exception_detail::error_info_container * c=x.data_.get() )
- if( shared_ptr eib = c->get(BOOST_EXCEPTION_STATIC_TYPEID(ErrorInfo)) )
+ if( shared_ptr eib = c->get(BOOST_EXCEPTION_STATIC_TYPEID(ErrorInfo)) )
{
#ifndef BOOST_NO_RTTI
- BOOST_ASSERT( 0!=dynamic_cast(eib.get()) );
+ BOOST_ASSERT( 0!=dynamic_cast(eib.get()) );
#endif
- ErrorInfo const * w = static_cast(eib.get());
+ ErrorInfo * w = static_cast(eib.get());
return &w->value();
}
return 0;
@@ -43,7 +43,7 @@ boost
get_info
{
static
- char const * const *
+ char const * *
get( exception const & x )
{
return x.throw_function_ ? &x.throw_function_ : 0;
@@ -55,7 +55,7 @@ boost
get_info
{
static
- char const * const *
+ char const * *
get( exception const & x )
{
return x.throw_file_ ? &x.throw_file_ : 0;
@@ -67,7 +67,7 @@ boost
get_info
{
static
- int const *
+ int *
get( exception const & x )
{
return x.throw_line_!=-1 ? &x.throw_line_ : 0;
@@ -83,6 +83,13 @@ boost
{
return exception_detail::get_info::get(x);
}
+ template
+ inline
+ typename ErrorInfo::value_type *
+ get_error_info( boost::exception & x )
+ {
+ return exception_detail::get_info::get(x);
+ }
#else
template
inline
@@ -94,6 +101,16 @@ boost
else
return 0;
}
+ template
+ inline
+ typename ErrorInfo::value_type *
+ get_error_info( E & some_exception )
+ {
+ if( exception const * x = dynamic_cast(&some_exception) )
+ return exception_detail::get_info::get(*x);
+ else
+ return 0;
+ }
#endif
}
diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp
index 3285638..67dbe6a 100644
--- a/include/boost/exception/info.hpp
+++ b/include/boost/exception/info.hpp
@@ -75,26 +75,26 @@ boost
}
void
- set( shared_ptr const & x, type_info_ const & typeid_ )
+ set( shared_ptr const & x, type_info_ const & typeid_ )
{
BOOST_ASSERT(x);
info_[typeid_] = x;
diagnostic_info_str_.clear();
}
- shared_ptr
+ shared_ptr
get( type_info_ const & ti ) const
{
error_info_map::const_iterator i=info_.find(ti);
if( info_.end()!=i )
{
- shared_ptr const & p = i->second;
+ shared_ptr const & p = i->second;
#ifndef BOOST_NO_RTTI
BOOST_ASSERT( BOOST_EXCEPTION_DYNAMIC_TYPEID(*p)==ti );
#endif
return p;
}
- return shared_ptr();
+ return shared_ptr();
}
char const *
@@ -117,7 +117,7 @@ boost
friend class boost::exception;
- typedef std::map< type_info_, shared_ptr > error_info_map;
+ typedef std::map< type_info_, shared_ptr > error_info_map;
error_info_map info_;
mutable std::string diagnostic_info_str_;
mutable int count_;
diff --git a/test/errinfos_test.cpp b/test/errinfos_test.cpp
index 3e8aa19..6c9cf82 100644
--- a/test/errinfos_test.cpp
+++ b/test/errinfos_test.cpp
@@ -30,15 +30,19 @@ main()
using namespace boost;
try
{
- BOOST_THROW_EXCEPTION(
- test_exception() <<
+ test_exception e;
+ e <<
errinfo_api_function("failed_api_function") <<
errinfo_at_line(42) <<
errinfo_errno(errno) <<
errinfo_file_handle(weak_ptr()) <<
errinfo_file_name("filename.txt") <<
- errinfo_file_open_mode("rb") <<
- errinfo_type_info_name(typeid(int).name()) );
+ errinfo_file_open_mode("rb");
+#ifdef BOOST_NO_TYPEID
+ BOOST_THROW_EXCEPTION(e);
+#else
+ BOOST_THROW_EXCEPTION(e<(e) && get_error_info(e)->expired());
BOOST_TEST(get_error_info(e) && *get_error_info(e)=="filename.txt");
BOOST_TEST(get_error_info(e) && *get_error_info(e)=="rb");
+#ifndef BOOST_NO_TYPEID
BOOST_TEST(get_error_info(e) && *get_error_info(e)==typeid(int).name());
+#endif
}
catch(
... )
diff --git a/test/error_info_test.cpp b/test/error_info_test.cpp
index 9997162..0f54d76 100644
--- a/test/error_info_test.cpp
+++ b/test/error_info_test.cpp
@@ -83,6 +83,23 @@ basic_test()
}
catch(
test_exception & x )
+ {
+ ++*boost::get_error_info(x);
+ ++*boost::get_error_info(x);
+ ++*boost::get_error_info(x);
+ BOOST_TEST(*boost::get_error_info(x)==2);
+ BOOST_TEST(*boost::get_error_info(x)==3u);
+ BOOST_TEST(*boost::get_error_info(x)==4.14159f);
+ BOOST_TEST(!boost::get_error_info(x));
+ }
+ try
+ {
+ test_exception x;
+ x << test_1(1) << test_2(2u) << test_3(3.14159f);
+ throw x;
+ }
+ catch(
+ test_exception const & x )
{
BOOST_TEST(*boost::get_error_info(x)==1);
BOOST_TEST(*boost::get_error_info(x)==2u);
@@ -317,6 +334,28 @@ test_lifetime()
BOOST_TEST(!count);
}
+bool
+is_const( int const * )
+ {
+ return true;
+ }
+
+bool
+is_const( int * )
+ {
+ return false;
+ }
+
+void
+test_const()
+ {
+ test_exception e;
+ boost::exception const & c(e);
+ boost::exception & m(e);
+ BOOST_TEST(is_const(boost::get_error_info(c)));
+ BOOST_TEST(!is_const(boost::get_error_info(m)));
+ }
+
int
main()
{
@@ -327,5 +366,6 @@ main()
test_catch_add_info();
test_add_tuple();
test_lifetime();
+ test_const();
return boost::report_errors();
}