diff --git a/doc/boost-exception.html b/doc/boost-exception.html index a251195..600bf6c 100644 --- a/doc/boost-exception.html +++ b/doc/boost-exception.html @@ -404,7 +404,9 @@ boost void throw_exception( E const & e ); #endif } -

Effects:

+

Requirements:

+

E must derive publicly from std::exception.

+

Effects:

diff --git a/doc/source/boost-exception.reno b/doc/source/boost-exception.reno index ccc2016..d7dd957 100644 --- a/doc/source/boost-exception.reno +++ b/doc/source/boost-exception.reno @@ -56,6 +56,653 @@ reno_context + + + + + + 2 + 33C9C03A97DEE6FC1B9B36E8832FF546419173B8389B8488206E7A3DE9C7CA88 + 2998452034 + 583 + 867 + 99278A58AB0ED511046D5EBEE4B616E145C9D69033CD5577EC8BF3761227A46A + 1992783533 + 359 + 211 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + + <string>throw_exception</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 6 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>Tutorial: Transporting of Arbitrary Data to the Catch Site</string> + + + transporting_data + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 7 + + reno_context + + + + + + + 1 + D9B8E6AA12A4F33953B1A961FA590C5A3840234B6531CA8C04AC985AD5800835 + 2432554768 + 702 + 408 + + + + + + 0 + ../../example/enable_error_info.cpp + 0 + 0 + + + + + <string>Tutorial: Integrating Boost Exception in Existing Exception Class Hierarchies</string> + + + using_enable_error_info + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 8 + + reno_context + + + + + + + 1 + AEB5EEC1A44A4F0B184A6F73617CB57E82CE06A15DB6036D54109C66CDE06EFF + 625364235 + 290 + 302 + + + + + + 0 + ../../example/logging.cpp + 0 + 0 + + + + + <string>Tutorial: Logging of boost::exception Objects</string> + + + logging + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 9 + + reno_context + + + + + + + 2 + 4DA932D1993B771C5283379491E9425AAE1E6D132B21E074D08BAADF069A2B23 + 280314796 + 2045 + 434 + 6C36EC2567753CC18222000D43FD485704631A9F79F4B5C1BE9DE4D8282D4AE5 + 2163400011 + 715 + 846 + + + + + + 0 + ../../../../boost/exception/exception.hpp + 0 + 0 + + + + + <string>exception</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 10 + + reno_context + + + + + + + 2 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 + 737 + 27AC1164E0A824D548386BEDCDC81DCAC283F3D286B0ECEE05B039BB8C392BFC + 1247954090 + 249 + 1499 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + + <string>operator<</exception</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 11 + + reno_context + + + + + + + 2 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 + 737 + 65D13C1BB0A16823F69A32BAB56A51CA317075C7FC8B7441EE0D9B57AF5AB2AC + 2592266329 + 712 + 1750 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + + <string>get_error_info</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 12 + + reno_context + + + + + + + 2 + C4D33E012F1FD360A08BE7032246E4361A8D8A3E1D316D454707AD9484C9F8C0 + 2765396103 + 1505 + 367 + 21F529F6CC88DB2566F36223A07F700BD043680083D73ABA1A7444A663AAFCFF + 4141043385 + 241 + 1258 + + + + + + 0 + ../../../../boost/exception/enable_error_info.hpp + 0 + 0 + + + + + <string>enable_error_info</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 13 + + reno_context + + + + + + + 2 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 156B870761DB092CE4269C1173B479A344A1041BA2B883765AF19A72B371D776 + 3239976720 + 117 + 4709 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>rethrow_exception</string> + + + + + + + + + 1 + 2 + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) + + + + + 0 + + 14 + + reno_context + + + + + + + 1 + E64E4DFB1DC251F844260AE133EFD419677D0F7143D65B578DEE525492F6B624 + 2172131053 + 94 + 227 + + + + + + 0 + ../../../../boost/exception.hpp + 0 + 0 + + + + + <string>boost/exception.hpp</string> + + + exception_hpp + + + + + + 1 + 2 + !!!boost/exception.hpp This header file includes all other header files of Boost Exception: (:pagelist tags="header":) + + + + + 0 + + 15 + + reno_context + + + + + + + 1 + 40C2FBC8600FE6877A6D46EC005D97EB1F612B8687CCA297C838E10A80E089AA + 2576029551 + 94 + 227 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>boost/exception_ptr.hpp</string> + + + exception_cloning_hpp + + + + + + 1 + 2 + !!!boost/exception_ptr.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) + + + + + 0 + + 16 + + reno_context + + + + + + + 1 + 2C5F1B7E5C5052C9C9305848AB499A9C166D728EAAD25DC936B75FCA997A0650 + 3171555959 + 88 + 1 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + + <string>boost/throw_exception.hpp</string> + + + throw_exception_hpp + + + + + + 1 + 2 + !!!boost/exception/throw_exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) + + + + + 0 + + 17 + + reno_context + + + + + + + 1 + C9AFCA0931CB65AE31811E702FC48CB22348149B1D259CD9161D391FEC640FA8 + 2324436793 + 94 + 227 + + + + + + 0 + ../../../../boost/exception/exception.hpp + 0 + 0 + + + + + <string>boost/exception/exception.hpp</string> + + + exception_exception_hpp + + + + + + 1 + 2 + !!!boost/exception/exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) + + + + + 0 + + 18 + + reno_context + + + + + + + 1 + A9C65F105342D728DE9C996079E82DF25408B94A272090039FAAC12D29659F69 + 2378831669 + 94 + 227 + + + + + + 0 + ../../../../boost/exception/enable_current_exception.hpp + 0 + 0 + + + + + <string>boost/exception/enable_current_exception.hpp</string> + + + exception_enable_exception_cloning_hpp + + + + + + 1 + 2 + !!!boost/exception/enable_current_exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) + + + + + 0 + + 19 + + reno_context + @@ -97,7 +744,7 @@ 0 - 6 + 20 reno_context @@ -142,7 +789,7 @@ 0 - 7 + 21 reno_context @@ -185,7 +832,7 @@ 0 - 8 + 22 reno_context @@ -195,14 +842,14 @@ 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 737 865A7E598C4F2EDA41CCDFAD253F5E4699012898C97E29E3CB1C68DABA0C62B1 2395321958 721 - 528 + 626 @@ -232,7 +879,7 @@ 0 - -8 + -22 @@ -245,7 +892,7 @@ 0 - 9 + 23 reno_context @@ -290,7 +937,7 @@ 0 - 10 + 24 reno_context @@ -300,14 +947,14 @@ 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 ED09F845070FF7D381BE5EFB6B55313FD09FBA16B64B69992410380EFA45519C 2051939590 78 - 363 + 409 @@ -339,7 +986,7 @@ 0 - 11 + 25 reno_context @@ -349,14 +996,14 @@ 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 921FBF6991E17349BFF2AD6F165372F85AA9457DDB28E502ABB6B392BBA6B529 3119269037 284 - 4306 + 4423 @@ -388,7 +1035,7 @@ 0 - 12 + 26 reno_context @@ -437,7 +1084,7 @@ 0 - 13 + 27 reno_context @@ -447,14 +1094,14 @@ 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 9DEEF8ED70BF74F501A96BA5DE5BFD42FAD16DE333ABE189E512C332586FC465 2250569940 1893 - 2411 + 2528 @@ -486,7 +1133,7 @@ 0 - 14 + 28 reno_context @@ -531,7 +1178,7 @@ 0 - 15 + 29 reno_context @@ -541,13 +1188,13 @@ 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 7B6F48BAF7F452EDAEC5D09418936D96101CCA8700CD7469B9C7DA5DCA659E6A - 3892925390 - 335 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 9567A192BF523DDF741004FFF5BDB044D715FEB7CE9AEC89ACC25C1C33E48C4E + 2232115228 + 381 26 @@ -580,7 +1227,7 @@ 0 - 16 + 30 reno_context @@ -616,7 +1263,7 @@ 0 - 17 + 31 reno_context @@ -650,43 +1297,7 @@ 0 - 18 - - reno_context - - - - - - - 2 - BE8985294A55E37D9B677C21D50CF4EB5251827504230A4FE52FCB7702370F51 - 1124820874 - 329 - 864 - 02FC4C7F80E4704A722A49C8337614DB5DF60CA53B53AAD869CD7ECE2DCBE057 - 928857252 - 187 - 129 - - - - - - 0 - ../../../../boost/throw_exception.hpp - 0 - 0 - - - - - <string>throw_exception</string> - - - - - + -5 2 @@ -695,32 +1306,7 @@ 0 - 19 - - reno_context - - - - - - - 0 - - - - - - 1 - - - - - <string>Tutorial: Transporting of Arbitrary Data to the Catch Site</string> - - - transporting_data - - + -6 2 @@ -729,39 +1315,7 @@ 0 - 20 - - reno_context - - - - - - - 1 - D9B8E6AA12A4F33953B1A961FA590C5A3840234B6531CA8C04AC985AD5800835 - 2432554768 - 702 - 408 - - - - - - 0 - ../../example/enable_error_info.cpp - 0 - 0 - - - - - <string>Tutorial: Integrating Boost Exception in Existing Exception Class Hierarchies</string> - - - using_enable_error_info - - + -7 2 @@ -770,98 +1324,12 @@ 0 - -17 + -31 2 :) ##(:link 1 - - 0 - - 21 - - reno_context - - - - - - - 1 - AEB5EEC1A44A4F0B184A6F73617CB57E82CE06A15DB6036D54109C66CDE06EFF - 625364235 - 290 - 302 - - - - - - 0 - ../../example/logging.cpp - 0 - 0 - - - - - <string>Tutorial: Logging of boost::exception Objects</string> - - - logging - - - - - 2 - :) #Documentation ##Class @@(:link - 1 - - 0 - - 22 - - reno_context - - - - - - - 2 - 4DA932D1993B771C5283379491E9425AAE1E6D132B21E074D08BAADF069A2B23 - 280314796 - 2045 - 434 - 6C36EC2567753CC18222000D43FD485704631A9F79F4B5C1BE9DE4D8282D4AE5 - 2163400011 - 715 - 846 - - - - - - 0 - ../../../../boost/exception/exception.hpp - 0 - 0 - - - - - <string>exception</string> - - - - - - - - 2 - :)@@ ##Transporting of Arbitrary Data to the Catch Site ###@@(:link - 1 0 @@ -869,142 +1337,7 @@ 2 - :)@@ ###@@(:link - 1 - - 0 - - 23 - - reno_context - - - - - - - 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 - 737 - 27AC1164E0A824D548386BEDCDC81DCAC283F3D286B0ECEE05B039BB8C392BFC - 1247954090 - 249 - 1401 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - - <string>operator<</exception</string> - - - - - - - - 2 - |operator<<:)()@@ ###@@(:link - 1 - - 0 - - 24 - - reno_context - - - - - - - 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 - 737 - 65D13C1BB0A16823F69A32BAB56A51CA317075C7FC8B7441EE0D9B57AF5AB2AC - 2592266329 - 712 - 1652 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - - <string>get_error_info</string> - - - - - - - - 2 - :)()@@ ###@@(:link - 1 - - 0 - - 25 - - reno_context - - - - - - - 2 - 9535E799FA734E0B544C723831057F15D0D36849A0B70EB3485F545E3DBBF9D0 - 2555086413 - 1421 - 367 - 21F529F6CC88DB2566F36223A07F700BD043680083D73ABA1A7444A663AAFCFF - 4141043385 - 241 - 1174 - - - - - - 0 - ../../../../boost/exception/enable_error_info.hpp - 0 - 0 - - - - - <string>enable_error_info</string> - - - - - - - - 2 - :)()@@ ###@@(:link + :) #Documentation ##Class @@(:link 1 0 @@ -1013,17 +1346,35 @@ 2 - :)@@ ##Transporting of Exceptions between Threads ###@@(:link + :)@@ ##Transporting of Arbitrary Data to the Catch Site ###@@(:link 1 0 - -10 + -22 2 :)@@ ###@@(:link 1 + + 0 + + -10 + + + 2 + |operator<<:)()@@ ###@@(:link + 1 + + 0 + + -11 + + + 2 + :)()@@ ###@@(:link + 1 0 @@ -1033,6 +1384,51 @@ 2 :)()@@ ###@@(:link 1 + + 0 + + -23 + + + 2 + :)@@ ##Transporting of Exceptions between Threads ###@@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -26 + + + 2 + :)()@@ ###@@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ ###@@(:link + 1 + + 0 + + -25 + + + 2 + :)()@@ ###@@(:link + 1 0 @@ -1045,239 +1441,12 @@ 0 - -11 - - - 2 - :)()@@ ###@@(:link - 1 - - 0 - - 26 - - reno_context - - - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 156B870761DB092CE4269C1173B479A344A1041BA2B883765AF19A72B371D776 - 3239976720 - 117 - 4592 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>rethrow_exception</string> - - - - - - - - 2 - :)()@@ ###@@(:link - 1 - - 0 - - -15 + -29 2 :)@@ ##@@(:link 1 - - 0 - - -18 - - - 2 - :)()@@ ##Headers ###@@(:link - 1 - - 0 - - 27 - - reno_context - - - - - - - 1 - E64E4DFB1DC251F844260AE133EFD419677D0F7143D65B578DEE525492F6B624 - 2172131053 - 94 - 227 - - - - - - 0 - ../../../../boost/exception.hpp - 0 - 0 - - - - - <string>boost/exception.hpp</string> - - - exception_hpp - - - - - 2 - :)@@ ###@@(:link - 1 - - 0 - - 28 - - reno_context - - - - - - - 1 - 40C2FBC8600FE6877A6D46EC005D97EB1F612B8687CCA297C838E10A80E089AA - 2576029551 - 94 - 227 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>boost/exception_ptr.hpp</string> - - - exception_cloning_hpp - - - - - 2 - :)@@ ###@@(:link - 1 - - 0 - - 29 - - reno_context - - - - - - - 1 - 2C5F1B7E5C5052C9C9305848AB499A9C166D728EAAD25DC936B75FCA997A0650 - 3171555959 - 88 - 1 - - - - - - 0 - ../../../../boost/throw_exception.hpp - 0 - 0 - - - - - <string>boost/throw_exception.hpp</string> - - - throw_exception_hpp - - - - - 2 - :)@@ ###@@(:link - 1 - - 0 - - 30 - - reno_context - - - - - - - 1 - A9C65F105342D728DE9C996079E82DF25408B94A272090039FAAC12D29659F69 - 2378831669 - 94 - 227 - - - - - - 0 - ../../../../boost/exception/enable_current_exception.hpp - 0 - 0 - - - - - <string>boost/exception/enable_current_exception.hpp</string> - - - exception_enable_exception_cloning_hpp - - - - - 2 - :)@@ ###@@(:link - 1 0 @@ -1285,7 +1454,7 @@ 2 - :)@@ ###@@(:link + :)()@@ ##Headers ###@@(:link 1 0 @@ -1299,7 +1468,7 @@ 0 - -6 + -15 2 @@ -1308,7 +1477,7 @@ 0 - -7 + -16 2 @@ -1317,39 +1486,52 @@ 0 - 31 - - reno_context - - - - - - - 1 - C9AFCA0931CB65AE31811E702FC48CB22348149B1D259CD9161D391FEC640FA8 - 2324436793 - 94 - 227 - - - - - - 0 - ../../../../boost/exception/exception.hpp - 0 - 0 - - - - - <string>boost/exception/exception.hpp</string> - - - exception_exception_hpp - - + -18 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -19 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -28 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -20 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -21 + + + 2 + :)@@ ###@@(:link + 1 + + 0 + + -17 2 @@ -1392,12 +1574,21 @@ 0 - -27 + -14 2 :)>@@ [@namespace boost { (:include 1 + + 0 + + -9 + + + 2 + decl:) (:include + 1 0 @@ -1410,7 +1601,25 @@ 0 - -8 + -10 + + + 2 + decl:) (:include + 1 + + 0 + + -11 + + + 2 + decl:) (:include + 1 + + 0 + + -12 2 @@ -1434,60 +1643,6 @@ 2 decl:) (:include 1 - - 0 - - -25 - - - 2 - decl:) (:include - 1 - - 0 - - -9 - - - 2 - decl:) (:include - 1 - - 0 - - -10 - - - 2 - decl:) (:include - 1 - - 0 - - -12 - - - 2 - decl:) (:include - 1 - - 0 - - -13 - - - 2 - decl:) (:include - 1 - - 0 - - -11 - - - 2 - decl:) (:include - 1 0 @@ -1500,7 +1655,25 @@ 0 - -15 + -27 + + + 2 + decl:) (:include + 1 + + 0 + + -25 + + + 2 + decl:) (:include + 1 + + 0 + + -13 2 @@ -1509,7 +1682,16 @@ 0 - -18 + -29 + + + 2 + decl:) (:include + 1 + + 0 + + -5 2 @@ -1518,7 +1700,7 @@ 0 - -22 + -9 2 @@ -1527,48 +1709,12 @@ 0 - -8 + -22 2 :) (:include 1 - - 0 - - -23 - - - 2 - :) (:include - 1 - - 0 - - -24 - - - 2 - :) (:include - 1 - - 0 - - -25 - - - 2 - :) (:include - 1 - - 0 - - -9 - - - 2 - :) !!Transporting of Exceptions between Threads (:include - 1 0 @@ -1578,24 +1724,6 @@ 2 :) (:include 1 - - 0 - - -12 - - - 2 - :) (:include - 1 - - 0 - - -13 - - - 2 - :) (:include - 1 0 @@ -1605,6 +1733,33 @@ 2 :) (:include 1 + + 0 + + -12 + + + 2 + :) (:include + 1 + + 0 + + -23 + + + 2 + :) !!Transporting of Exceptions between Threads (:include + 1 + + 0 + + -24 + + + 2 + :) (:include + 1 0 @@ -1617,7 +1772,34 @@ 0 - -15 + -27 + + + 2 + :) (:include + 1 + + 0 + + -25 + + + 2 + :) (:include + 1 + + 0 + + -13 + + + 2 + :) (:include + 1 + + 0 + + -29 2 @@ -1626,195 +1808,13 @@ 0 - -18 + -5 2 :) - - - 0 - - -17 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -18 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -19 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -20 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -21 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -22 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -23 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -24 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -25 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -26 - - - - 1 - 2 - (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) - - - - - 0 - - -27 - - - - 1 - 2 - !!!boost/exception.hpp This header file includes all other header files of Boost Exception: (:pagelist tags="header":) - - - - - 0 - - -28 - - - - 1 - 2 - !!!boost/exception_ptr.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) - - - - - 0 - - -29 - - - - 1 - 2 - !!!boost/exception/throw_exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) - - - - - 0 - - -30 - - - - 1 - 2 - !!!boost/exception/enable_current_exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) - - 0 @@ -1825,7 +1825,7 @@ 1 2 - !!!boost/exception/exception.hpp This header file contains the following definitions/declarations: (:pagelist link="backlink" layer="synopsis":) + (:include include:) !!!See also: (:pagelist link="backlink" except_tags="noalso":) @@ -2279,15 +2279,7 @@ - 3 - 2 - [@#include < - 1 - - 1 - - 2 - >@] + 0 @@ -2309,18 +2301,7 @@ - 3 - 2 - [@#include <(:link - 1 - - 0 - - -30 - - - 2 - :)> + 0 @@ -2460,7 +2441,15 @@ - 0 + 3 + 2 + [@#include < + 1 + + 1 + + 2 + >@] @@ -2484,13 +2473,16 @@ 3 2 - [@#include < + [@#include <(:link 1 - 1 + 0 + + -18 + 2 - >@] + :)> @@ -2501,7 +2493,15 @@ - 0 + 3 + 2 + [@#include < + 1 + + 1 + + 2 + >@] @@ -3489,7 +3489,27 @@ - 0 + 5 + 2 + [@#ifdef BOOST_NO_EXCEPTIONS void (:link + 1 + + 0 + + -5 + + + 2 + :)( std::exception const & e ); // user defined #else template <class E> void (:link + 1 + + 0 + + -5 + + + 2 + :)( E const & e ); #endif@] @@ -3522,18 +3542,7 @@ - 3 - 2 - [@ template <class Tag,class T> class (:link - 1 - - 0 - - -8 - - - 2 - :) { public: typedef T value_type; error_info( value_type const & ); private: ---unspecified--- };@] + 0 @@ -3546,34 +3555,7 @@ 9 2 - [@ typedef (:link - 1 - - 0 - - -8 - - - 2 - :)<struct tag_throw_function,char const *> throw_function; typedef (:link - 1 - - 0 - - -8 - - - 2 - :)<struct tag_throw_file,char const *> throw_file; typedef (:link - 1 - - 0 - - -8 - - - 2 - :)<struct tag_throw_line,int> throw_line; #define (:link + [@ class (:link 1 0 @@ -3582,7 +3564,34 @@ 2 - :)\ ::boost::throw_function(BOOST_CURRENT_FUNCTION) <<\ ::boost::throw_file(__FILE__) <<\ ::boost::throw_line((int)__LINE__)@] + :) { public: (:include + 1 + + 0 + + -35 + + + 2 + decl:) protected: (:include + 1 + + 0 + + -36 + + + 2 + decl:) (:include + 1 + + 0 + + -37 + + + 2 + decl:) private: ---unspecified--- };@] @@ -3593,18 +3602,36 @@ - 3 + 7 2 - [@ typedef ---unspecified--- (:link + [@ template <class E, class Tag1, class T1> E const & operator<<( E const & x, (:link 1 0 - -10 + -22 2 - :);@] + :)<Tag1,T1> const & v ); template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & operator<<( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link + 1 + + 0 + + -22 + + + 2 + :)<Tag1,T1>, ..., (:link + 1 + + 0 + + -22 + + + 2 + :)<TagN,TN> > const & v );@] @@ -3615,18 +3642,9 @@ - 5 + 3 2 - [@ template <class T> (:link - 1 - - 0 - - -10 - - - 2 - :) (:link + [@ template <class ErrorInfo,class E> (:link http://www.boost.org/libs/smart_ptr/shared_ptr.htm|shared_ptr:)<typename ErrorInfo::value_type const> (:link 1 0 @@ -3635,7 +3653,7 @@ 2 - :)( T const & e );@] + :)( E const & x ); @@ -3657,7 +3675,7 @@ 2 - :)( T const & e ); + :)( T const & x );@] @@ -3670,16 +3688,7 @@ 5 2 - [@ (:link - 1 - - 0 - - -10 - - - 2 - :) (:link + [@ void (:link 1 0 @@ -3688,7 +3697,16 @@ 2 - :)();@] + :)( (:link + 1 + + 0 + + -24 + + + 2 + :) const & ep ); @@ -3710,18 +3728,7 @@ - 3 - 2 - [@ class (:link - 1 - - 0 - - -15 - - - 2 - :): public std::exception public boost::exception { ---unspecified--- };@] + 0 @@ -3754,27 +3761,7 @@ - 5 - 2 - [@#ifdef BOOST_NO_EXCEPTIONS void (:link - 1 - - 0 - - -18 - - - 2 - :)( std::exception const & e ); // user defined #else template <class E> void (:link - 1 - - 0 - - -18 - - - 2 - :)( E const & e ); #endif@] + 0 @@ -3818,9 +3805,9 @@ - 9 + 3 2 - [@ class (:link + [@ template <class Tag,class T> class (:link 1 0 @@ -3829,34 +3816,7 @@ 2 - :) { public: (:include - 1 - - 0 - - -35 - - - 2 - decl:) protected: (:include - 1 - - 0 - - -36 - - - 2 - decl:) (:include - 1 - - 0 - - -37 - - - 2 - decl:) private: ---unspecified--- };@] + :) { public: typedef T value_type; error_info( value_type const & ); private: ---unspecified--- };@] @@ -3867,36 +3827,45 @@ - 7 + 9 2 - [@ template <class E, class Tag1, class T1> E const & operator<<( E const & x, (:link + [@ typedef (:link 1 0 - -8 + -22 2 - :)<Tag1,T1> const & v ); template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & operator<<( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link + :)<struct tag_throw_function,char const *> throw_function; typedef (:link 1 0 - -8 + -22 2 - :)<Tag1,T1>, ..., (:link + :)<struct tag_throw_file,char const *> throw_file; typedef (:link 1 0 - -8 + -22 2 - :)<TagN,TN> > const & v );@] + :)<struct tag_throw_line,int> throw_line; #define (:link + 1 + + 0 + + -23 + + + 2 + :)\ ::boost::throw_function(BOOST_CURRENT_FUNCTION) <<\ ::boost::throw_file(__FILE__) <<\ ::boost::throw_line((int)__LINE__)@] @@ -3909,7 +3878,7 @@ 3 2 - [@ template <class ErrorInfo,class E> (:link http://www.boost.org/libs/smart_ptr/shared_ptr.htm|shared_ptr:)<typename ErrorInfo::value_type const> (:link + [@ typedef ---unspecified--- (:link 1 0 @@ -3918,7 +3887,7 @@ 2 - :)( E const & x ); + :);@] @@ -3929,9 +3898,18 @@ - 3 + 5 2 - [@ template <class T> ---unspecified--- (:link + [@ template <class T> (:link + 1 + + 0 + + -24 + + + 2 + :) (:link 1 0 @@ -3940,7 +3918,7 @@ 2 - :)( T const & x );@] + :)( T const & e );@] @@ -3951,9 +3929,9 @@ - 5 + 3 2 - [@ void (:link + [@ template <class T> ---unspecified--- (:link 1 0 @@ -3962,16 +3940,7 @@ 2 - :)( (:link - 1 - - 0 - - -10 - - - 2 - :) const & ep ); + :)( T const & e ); @@ -3982,7 +3951,27 @@ - 0 + 5 + 2 + [@ (:link + 1 + + 0 + + -24 + + + 2 + :) (:link + 1 + + 0 + + -27 + + + 2 + :)();@] @@ -4004,7 +3993,18 @@ - 0 + 3 + 2 + [@ class (:link + 1 + + 0 + + -29 + + + 2 + :): public std::exception public boost::exception { ---unspecified--- };@] @@ -4117,7 +4117,7 @@ 0 - -22 + -9 2 @@ -4200,624 +4200,15 @@ -5 - - 0 - - - - - 0 - - -6 - - - - 0 - - - - - 0 - - -7 - - - - 0 - - - - - 0 - - -8 - - - - 21 - 2 - !!!error_info (:include synopsis:) !!!!Requirements: @@T@@ must have accessible copy constructor and must not be a reference. !!!!Description: This class template is used to associate a @@Tag@@ type with a value type @@T@@. Objects of type @@(:link - 1 - - 0 - - -8 - - - 2 - :)<Tag,T>@@ can be passed to @@(:link - 1 - - 0 - - -23 - - - 2 - |operator<<:)()@@ to be stored in objects of type @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@. !!!!Note: The header @@<(:link - 1 - - 0 - - -7 - - - 2 - :)>@@ provides a declaration of the @@(:link - 1 - - 0 - - -8 - - - 2 - :)@@ template, which is sufficient for the purpose of @@typedef@@ing an instance for specific @@Tag@@ and @@T@@, like this: [@#include <(:link - 1 - - 0 - - -7 - - - 2 - :)> typedef boost::(:link - 1 - - 0 - - -8 - - - 2 - :)<struct tag_errno,int> errno_info;@] Of course, to actually add an @@errno_info@@ object to exceptions using @@(:link - 1 - - 0 - - -23 - - - 2 - |operator<<:)()@@, or to retrieve it using @@(:link - 1 - - 0 - - -24 - - - 2 - :)()@@, you must first @@#include <(:link - 1 - - 0 - - -14 - - - 2 - :)>@@. - - - - - 0 - - -9 - - - - 7 - 2 - !!!BOOST_ERROR_INFO (:include synopsis:) This macro is designed to be used with @@(:link - 1 - - 0 - - -23 - - - 2 - |operator<<:)()@@ when throwing a @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@, to store information about the location of the throw statement. It can be chained with other @@(:link - 1 - - 0 - - -8 - - - 2 - :)@@s in a single throw expression. - - - - - 0 - - -10 - - - - 15 - 2 - !!!exception_ptr (:include synopsis:) The @@(:link - 1 - - 0 - - -10 - - - 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 - - -10 - - - 2 - :)@@'s operations do not throw. Two instances of @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ are equivalent and compare equal if and only if they refer to the same exception. The default constructor of @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ produces the null value of the type. The null value is equivalent only to itself. !!!!Note: @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ objects are returned by @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ and @@(:link - 1 - - 0 - - -11 - - - 2 - :)()@@. - - - - - 0 - - -11 - - - - 3 - 2 - !!!copy_exception() (:include synopsis:) !!!!Effects: As if @@try { throw e; } catch( ... ) { return - 1 - - 0 - - -13 - - - 2 - (); }@@ - - - - - 0 - - -12 - - - - 17 - 2 - !!!enable_current_exception() (:include synopsis:) !!!!Requirements: @@T@@ must have an accessible no-throw copy constructor !!!!Returns: An object of ''unspecified'' type which derives publicly from @@T@@. That is, the returned object can be intercepted by a @@catch(T &)@@. !!!!Description: This function is designed to be used directly in a throw-expression to enable the cloning support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link - 1 - - 0 - - -12 - - - 2 - :)(my_exception());@] Unless @@(:link - 1 - - 0 - - -12 - - - 2 - :)()@@ is called at the time an exception object is used in a throw-expression, an attempt to copy it using @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ may return an @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ which refers to an instance of @@(:link - 1 - - 0 - - -15 - - - 2 - :)@@. See @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ for details. !!!!Note: Instead of using the @@throw@@ keyword directly, it is preferable to call @@boost::(:link - 1 - - 0 - - -18 - - - 2 - :)()@@. This is guaranteed to throw an exception that derives from @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@ and supports cloning. - - - - - 0 - - -13 - - - - 29 - 2 - !!!current_exception() (:include synopsis:) !!!!Requirements: The @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ function must not be called outside of a @@catch@@ block. !!!!Returns: * An @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ that refers to the currently handled exception or a copy of the currently handled exception. * If the function needs to allocate memory and the attempt fails, it returns an @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ that refers to an instance of @@std::bad_alloc@@. !!!!Notes: * It is unspecified whether the return values of two successive calls to @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ refer to the same exception object. * Correct implementation of @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ may require compiler support, unless @@(:link - 1 - - 0 - - -12 - - - 2 - :)()@@ is used at the time the currently handled exception object was passed to @@throw@@. If @@(:link - 1 - - 0 - - -12 - - - 2 - :)()@@ is not used, and if the compiler does not provide the necessary support, then @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@ may return an @@(:link - 1 - - 0 - - -10 - - - 2 - :)@@ that refers to an instance of @@(:link - 1 - - 0 - - -15 - - - 2 - :)@@. In this case, if the original exception object derives from @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@, then the @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@ sub-object of the @@(:link - 1 - - 0 - - -15 - - - 2 - :)@@ object is initialized by the @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@ copy constructor. - - - - - 0 - - -14 - - - - 0 - - - - - 0 - - -15 - - - - 5 - 2 - !!!unknown_exception (:include synopsis:) This type is used by the (:link - 1 - - 0 - - -17 - - - 2 - |cloning:) support in Boost Exception. Please see @@(:link - 1 - - 0 - - -13 - - - 2 - :)()@@. - - - - - 0 - - -16 - - - - 0 - - - - - 0 - - -17 - - - - 11 - 2 - !!Transporting of Exceptions between Threads 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 - - -12 - - - 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 - - -18 - - - 2 - :)()@@ are guaranteed to derive from @@boost::(:link - 1 - - 0 - - -22 - - - 2 - :)@@ and to support cloning. (:include - 1 - - 0 - - -33 - - - 2 - :) (:include - 1 - - 0 - - -39 - - - 2 - :) - - - - - 0 - - -18 - - 9 2 - !!!throw_exception() (:include synopsis:) !!!!Effects: * If @@BOOST_NO_EXCEPTIONS@@ is not defined, @@boost::(:link + !!!throw_exception() (:include synopsis:) !!!!Requirements: @@E@@ must derive publicly from @@std::exception@@. !!!!Effects: * If @@BOOST_NO_EXCEPTIONS@@ is not defined, @@boost::(:link 1 0 - -18 + -5 2 @@ -4826,7 +4217,7 @@ 0 - -12 + -26 2 @@ -4835,7 +4226,7 @@ 0 - -25 + -12 2 @@ -4844,7 +4235,7 @@ 0 - -18 + -5 2 @@ -4855,7 +4246,7 @@ 0 - -19 + -6 @@ -4866,7 +4257,7 @@ 0 - -22 + -9 2 @@ -4875,7 +4266,7 @@ 0 - -22 + -9 2 @@ -4913,7 +4304,7 @@ 0 - -20 + -7 @@ -4924,7 +4315,7 @@ 0 - -22 + -9 2 @@ -4933,7 +4324,7 @@ 0 - -25 + -12 2 @@ -4942,7 +4333,7 @@ 0 - -22 + -9 2 @@ -4951,7 +4342,7 @@ 0 - -27 + -14 2 @@ -4960,7 +4351,7 @@ 0 - -8 + -22 2 @@ -4969,7 +4360,7 @@ 0 - -8 + -22 2 @@ -4978,7 +4369,7 @@ 0 - -8 + -22 2 @@ -4987,7 +4378,7 @@ 0 - -25 + -12 2 @@ -4996,7 +4387,7 @@ 0 - -25 + -12 2 @@ -5005,7 +4396,7 @@ 0 - -22 + -9 2 @@ -5014,7 +4405,7 @@ 0 - -23 + -10 2 @@ -5023,7 +4414,7 @@ 0 - -22 + -9 2 @@ -5032,7 +4423,7 @@ 0 - -19 + -6 2 @@ -5043,7 +4434,7 @@ 0 - -21 + -8 @@ -5054,7 +4445,7 @@ 0 - -22 + -9 2 @@ -5072,7 +4463,7 @@ 0 - -27 + -14 2 @@ -5081,7 +4472,7 @@ 0 - -22 + -9 2 @@ -5090,7 +4481,7 @@ 0 - -22 + -9 2 @@ -5117,7 +4508,7 @@ 0 - -22 + -9 2 @@ -5126,7 +4517,7 @@ 0 - -23 + -10 2 @@ -5135,7 +4526,7 @@ 0 - -8 + -22 2 @@ -5146,7 +4537,7 @@ 0 - -22 + -9 @@ -5157,7 +4548,7 @@ 0 - -22 + -9 2 @@ -5166,7 +4557,7 @@ 0 - -22 + -9 2 @@ -5175,7 +4566,7 @@ 0 - -8 + -22 2 @@ -5184,7 +4575,7 @@ 0 - -23 + -10 2 @@ -5193,7 +4584,7 @@ 0 - -22 + -9 2 @@ -5202,7 +4593,7 @@ 0 - -24 + -11 2 @@ -5213,7 +4604,7 @@ 0 - -23 + -10 @@ -5224,7 +4615,7 @@ 0 - -22 + -9 2 @@ -5233,7 +4624,7 @@ 0 - -22 + -9 2 @@ -5242,7 +4633,7 @@ 0 - -8 + -22 2 @@ -5253,7 +4644,7 @@ 0 - -24 + -11 @@ -5264,7 +4655,7 @@ 0 - -22 + -9 2 @@ -5273,7 +4664,7 @@ 0 - -8 + -22 2 @@ -5282,7 +4673,7 @@ 0 - -23 + -10 2 @@ -5293,7 +4684,7 @@ 0 - -25 + -12 @@ -5304,7 +4695,7 @@ 0 - -22 + -9 2 @@ -5313,7 +4704,7 @@ 0 - -22 + -9 2 @@ -5322,7 +4713,7 @@ 0 - -22 + -9 2 @@ -5333,7 +4724,7 @@ 0 - -26 + -13 @@ -5346,13 +4737,555 @@ 0 - -27 + -14 0 + + + 0 + + -15 + + + + 0 + + + + + 0 + + -16 + + + + 0 + + + + + 0 + + -17 + + + + 0 + + + + + 0 + + -18 + + + + 0 + + + + + 0 + + -19 + + + + 0 + + + + + 0 + + -20 + + + + 0 + + + + + 0 + + -21 + + + + 0 + + + + + 0 + + -22 + + + + 21 + 2 + !!!error_info (:include synopsis:) !!!!Requirements: @@T@@ must have accessible copy constructor and must not be a reference. !!!!Description: This class template is used to associate a @@Tag@@ type with a value type @@T@@. Objects of type @@(:link + 1 + + 0 + + -22 + + + 2 + :)<Tag,T>@@ can be passed to @@(:link + 1 + + 0 + + -10 + + + 2 + |operator<<:)()@@ to be stored in objects of type @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@. !!!!Note: The header @@<(:link + 1 + + 0 + + -21 + + + 2 + :)>@@ provides a declaration of the @@(:link + 1 + + 0 + + -22 + + + 2 + :)@@ template, which is sufficient for the purpose of @@typedef@@ing an instance for specific @@Tag@@ and @@T@@, like this: [@#include <(:link + 1 + + 0 + + -21 + + + 2 + :)> typedef boost::(:link + 1 + + 0 + + -22 + + + 2 + :)<struct tag_errno,int> errno_info;@] Of course, to actually add an @@errno_info@@ object to exceptions using @@(:link + 1 + + 0 + + -10 + + + 2 + |operator<<:)()@@, or to retrieve it using @@(:link + 1 + + 0 + + -11 + + + 2 + :)()@@, you must first @@#include <(:link + 1 + + 0 + + -28 + + + 2 + :)>@@. + + + + + 0 + + -23 + + + + 7 + 2 + !!!BOOST_ERROR_INFO (:include synopsis:) This macro is designed to be used with @@(:link + 1 + + 0 + + -10 + + + 2 + |operator<<:)()@@ when throwing a @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@, to store information about the location of the throw statement. It can be chained with other @@(:link + 1 + + 0 + + -22 + + + 2 + :)@@s in a single throw expression. + + + + + 0 + + -24 + + + + 15 + 2 + !!!exception_ptr (:include synopsis:) The @@(:link + 1 + + 0 + + -24 + + + 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 + + -24 + + + 2 + :)@@'s operations do not throw. Two instances of @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ are equivalent and compare equal if and only if they refer to the same exception. The default constructor of @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ produces the null value of the type. The null value is equivalent only to itself. !!!!Note: @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ objects are returned by @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ and @@(:link + 1 + + 0 + + -25 + + + 2 + :)()@@. + + + + + 0 + + -25 + + + + 3 + 2 + !!!copy_exception() (:include synopsis:) !!!!Effects: As if @@try { throw e; } catch( ... ) { return + 1 + + 0 + + -27 + + + 2 + (); }@@ + + + + + 0 + + -26 + + + + 17 + 2 + !!!enable_current_exception() (:include synopsis:) !!!!Requirements: @@T@@ must have an accessible no-throw copy constructor !!!!Returns: An object of ''unspecified'' type which derives publicly from @@T@@. That is, the returned object can be intercepted by a @@catch(T &)@@. !!!!Description: This function is designed to be used directly in a throw-expression to enable the cloning support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link + 1 + + 0 + + -26 + + + 2 + :)(my_exception());@] Unless @@(:link + 1 + + 0 + + -26 + + + 2 + :)()@@ is called at the time an exception object is used in a throw-expression, an attempt to copy it using @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ may return an @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ which refers to an instance of @@(:link + 1 + + 0 + + -29 + + + 2 + :)@@. See @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ for details. !!!!Note: Instead of using the @@throw@@ keyword directly, it is preferable to call @@boost::(:link + 1 + + 0 + + -5 + + + 2 + :)()@@. This is guaranteed to throw an exception that derives from @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@ and supports cloning. + + + + + 0 + + -27 + + + + 29 + 2 + !!!current_exception() (:include synopsis:) !!!!Requirements: The @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ function must not be called outside of a @@catch@@ block. !!!!Returns: * An @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ that refers to the currently handled exception or a copy of the currently handled exception. * If the function needs to allocate memory and the attempt fails, it returns an @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ that refers to an instance of @@std::bad_alloc@@. !!!!Notes: * It is unspecified whether the return values of two successive calls to @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ refer to the same exception object. * Correct implementation of @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ may require compiler support, unless @@(:link + 1 + + 0 + + -26 + + + 2 + :)()@@ is used at the time the currently handled exception object was passed to @@throw@@. If @@(:link + 1 + + 0 + + -26 + + + 2 + :)()@@ is not used, and if the compiler does not provide the necessary support, then @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@ may return an @@(:link + 1 + + 0 + + -24 + + + 2 + :)@@ that refers to an instance of @@(:link + 1 + + 0 + + -29 + + + 2 + :)@@. In this case, if the original exception object derives from @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@, then the @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@ sub-object of the @@(:link + 1 + + 0 + + -29 + + + 2 + :)@@ object is initialized by the @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@ copy constructor. + + 0 @@ -5372,7 +5305,27 @@ - 0 + 5 + 2 + !!!unknown_exception (:include synopsis:) This type is used by the (:link + 1 + + 0 + + -31 + + + 2 + |cloning:) support in Boost Exception. Please see @@(:link + 1 + + 0 + + -27 + + + 2 + :)()@@. @@ -5394,7 +5347,54 @@ - 0 + 11 + 2 + !!Transporting of Exceptions between Threads 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 + + -26 + + + 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 + + -5 + + + 2 + :)()@@ are guaranteed to derive from @@boost::(:link + 1 + + 0 + + -9 + + + 2 + :)@@ and to support cloning. (:include + 1 + + 0 + + -33 + + + 2 + :) (:include + 1 + + 0 + + -39 + + + 2 + :) @@ -5423,7 +5423,7 @@ 0 - -30 + -18 2 @@ -5432,7 +5432,7 @@ 0 - -14 + -28 2 @@ -5441,7 +5441,7 @@ 0 - -22 + -9 2 @@ -5450,7 +5450,7 @@ 0 - -12 + -26 2 @@ -5472,7 +5472,7 @@ 0 - -27 + -14 2 @@ -5481,7 +5481,7 @@ 0 - -8 + -22 2 @@ -5490,7 +5490,7 @@ 0 - -22 + -9 2 @@ -5499,7 +5499,7 @@ 0 - -8 + -22 2 @@ -5508,7 +5508,7 @@ 0 - -22 + -9 2 @@ -5517,7 +5517,7 @@ 0 - -23 + -10 2 @@ -5526,7 +5526,7 @@ 0 - -24 + -11 2 @@ -5535,7 +5535,7 @@ 0 - -24 + -11 2 @@ -5544,7 +5544,7 @@ 0 - -22 + -9 2 @@ -5566,7 +5566,7 @@ 0 - -22 + -9 2 @@ -5575,7 +5575,7 @@ 0 - -23 + -10 2 @@ -5584,7 +5584,7 @@ 0 - -21 + -8 2 @@ -5606,7 +5606,7 @@ 0 - -22 + -9 2 @@ -5615,7 +5615,7 @@ 0 - -22 + -9 2 @@ -5624,7 +5624,7 @@ 0 - -23 + -10 2 @@ -5646,7 +5646,7 @@ 0 - -22 + -9 2 @@ -5668,7 +5668,7 @@ 0 - -6 + -20 2 @@ -5677,7 +5677,7 @@ 0 - -8 + -22 2 @@ -5686,7 +5686,7 @@ 0 - -8 + -22 2 @@ -5695,7 +5695,7 @@ 0 - -8 + -22 2 @@ -5704,7 +5704,7 @@ 0 - -22 + -9 2 @@ -5713,7 +5713,7 @@ 0 - -24 + -11 2 @@ -5735,7 +5735,7 @@ 0 - -22 + -9 2 @@ -5744,7 +5744,7 @@ 0 - -13 + -27 2 @@ -5753,7 +5753,7 @@ 0 - -10 + -24 2 @@ -5762,7 +5762,7 @@ 0 - -28 + -15 2 @@ -5771,7 +5771,7 @@ 0 - -22 + -9 2 @@ -5780,7 +5780,7 @@ 0 - -10 + -24 2 @@ -5789,7 +5789,7 @@ 0 - -10 + -24 2 @@ -5798,7 +5798,7 @@ 0 - -13 + -27 2 @@ -5807,7 +5807,7 @@ 0 - -13 + -27 2 @@ -5816,7 +5816,7 @@ 0 - -26 + -13 2 @@ -5825,7 +5825,7 @@ 0 - -10 + -24 2 @@ -5834,7 +5834,7 @@ 0 - -26 + -13 2 @@ -5843,7 +5843,7 @@ 0 - -13 + -27 2 @@ -5852,7 +5852,7 @@ 0 - -10 + -24 2 @@ -5861,7 +5861,7 @@ 0 - -12 + -26 2 @@ -5870,7 +5870,7 @@ 0 - -10 + -24 2 @@ -5879,7 +5879,7 @@ 0 - -15 + -29 2 @@ -5888,7 +5888,7 @@ 0 - -13 + -27 2 @@ -5897,7 +5897,7 @@ 0 - -26 + -13 2 @@ -5919,7 +5919,7 @@ 0 - -22 + -9 2 @@ -5928,7 +5928,7 @@ 0 - -27 + -14 2 @@ -5937,7 +5937,7 @@ 0 - -8 + -22 2 @@ -5946,7 +5946,7 @@ 0 - -22 + -9 2 @@ -5955,7 +5955,7 @@ 0 - -27 + -14 2 @@ -5964,7 +5964,7 @@ 0 - -8 + -22 2 @@ -5973,7 +5973,7 @@ 0 - -22 + -9 2 @@ -5982,7 +5982,7 @@ 0 - -22 + -9 2 @@ -5991,7 +5991,7 @@ 0 - -22 + -9 2 @@ -6000,7 +6000,7 @@ 0 - -24 + -11 2 @@ -6062,18 +6062,7 @@ - 3 - 2 - !!!!Throws: @@std::bad_alloc@@, or any other exception resulting from copying any of the arguments of @@(:link - 1 - - 0 - - -8 - - - 2 - :)()@@. + 0 @@ -6095,7 +6084,9 @@ - 0 + 1 + 2 + !!!!Throws: @@std::bad_alloc@@, or any exception emitted by @@T1..TN@@ copy constructor. @@ -6227,7 +6218,18 @@ - 0 + 3 + 2 + !!!!Throws: @@std::bad_alloc@@, or any other exception resulting from copying any of the arguments of @@(:link + 1 + + 0 + + -22 + + + 2 + :)()@@. @@ -6238,9 +6240,7 @@ - 1 - 2 - !!!!Throws: @@std::bad_alloc@@, or any exception emitted by @@T1..TN@@ copy constructor. + 0 @@ -6496,7 +6496,36 @@ - 0 + 7 + 2 + (:include + 1 + + 0 + + -36 + + + 2 + :) (:include + 1 + + 0 + + -37 + + + 2 + :) (:include + 1 + + 0 + + -35 + + + 2 + :) @@ -6639,36 +6668,7 @@ - 7 - 2 - (:include - 1 - - 0 - - -36 - - - 2 - :) (:include - 1 - - 0 - - -37 - - - 2 - :) (:include - 1 - - 0 - - -35 - - - 2 - :) + 0 @@ -6891,7 +6891,18 @@ - 0 + 3 + 2 + @@#include <(:link + 1 + + 0 + + -16 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] @@ -6924,18 +6935,7 @@ - 3 - 2 - @@#include <(:link - 1 - - 0 - - -14 - - - 2 - :)>@@ [@namespace boost { (:include decl:) }@] + 0 @@ -6953,7 +6953,7 @@ 0 - -14 + -17 2 @@ -6968,7 +6968,7 @@ - 3 + 5 2 @@#include <(:link 1 @@ -6979,7 +6979,16 @@ 2 - :)>@@ [@namespace boost { (:include decl:) }@] + :)>@@\\ @@#include <(:link + 1 + + 0 + + -20 + + + 2 + :)> [@namespace boost { (:include decl:) }@] @@ -7019,7 +7028,7 @@ 0 - -30 + -19 2 @@ -7041,7 +7050,7 @@ 0 - -28 + -15 2 @@ -7067,18 +7076,7 @@ - 3 - 2 - @@#include <(:link - 1 - - 0 - - -28 - - - 2 - :)>@@ [@namespace boost { (:include decl:) }@] + 0 @@ -7111,18 +7109,7 @@ - 3 - 2 - @@#include <(:link - 1 - - 0 - - -29 - - - 2 - :)>@@ [@namespace boost { (:include decl:) }@] + 0 @@ -7173,7 +7160,7 @@ 0 - -31 + -28 2 @@ -7187,81 +7174,6 @@ -23 - - 5 - 2 - @@#include <(:link - 1 - - 0 - - -14 - - - 2 - :)>@@\\ @@#include <(:link - 1 - - 0 - - -6 - - - 2 - :)> [@namespace boost { (:include decl:) }@] - - - - - 0 - - -24 - - - - 3 - 2 - @@#include <(:link - 1 - - 0 - - -14 - - - 2 - :)>@@ [@namespace boost { (:include decl:) }@] - - - - - 0 - - -25 - - - - 3 - 2 - @@#include <(:link - 1 - - 0 - - -5 - - - 2 - :)>@@ [@namespace boost { (:include decl:) }@] - - - - - 0 - - -26 - - 3 2 @@ -7277,6 +7189,72 @@ :)>@@ [@namespace boost { (:include decl:) }@] + + + 0 + + -24 + + + + 3 + 2 + @@#include <(:link + 1 + + 0 + + -15 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] + + + + + 0 + + -25 + + + + 3 + 2 + @@#include <(:link + 1 + + 0 + + -15 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] + + + + + 0 + + -26 + + + + 3 + 2 + @@#include <(:link + 1 + + 0 + + -18 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] + + 0 @@ -7285,7 +7263,18 @@ - 0 + 3 + 2 + @@#include <(:link + 1 + + 0 + + -15 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] @@ -7307,7 +7296,18 @@ - 0 + 3 + 2 + @@#include <(:link + 1 + + 0 + + -15 + + + 2 + :)>@@ [@namespace boost { (:include decl:) }@] @@ -7576,7 +7576,7 @@ - -16 + -30 @@ -7610,7 +7610,7 @@ - -17 + -31 @@ -7627,7 +7627,7 @@ - -19 + -6 @@ -7752,7 +7752,7 @@ - -22 + -9 @@ -7776,7 +7776,91 @@ - -27 + -14 + + + + + + + 2 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 + 737 + 65D13C1BB0A16823F69A32BAB56A51CA317075C7FC8B7441EE0D9B57AF5AB2AC + 2592266329 + 712 + 1750 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + -11 + + + + + + + 2 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 + 737 + 865A7E598C4F2EDA41CCDFAD253F5E4699012898C97E29E3CB1C68DABA0C62B1 + 2395321958 + 721 + 626 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + -22 + + + + + + + 2 + F2625EB427DE44F90BD9E85E4E593BFF0FA732700934105770F16C8224BAA525 + 1648371423 + 6100 + 737 + 27AC1164E0A824D548386BEDCDC81DCAC283F3D286B0ECEE05B039BB8C392BFC + 1247954090 + 249 + 1499 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + -10 @@ -7800,7 +7884,7 @@ - -5 + -19 @@ -7824,7 +7908,7 @@ - -20 + -7 @@ -7871,6 +7955,62 @@ 0 + + -16 + + + + + + + 2 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 921FBF6991E17349BFF2AD6F165372F85AA9457DDB28E502ABB6B392BBA6B529 + 3119269037 + 284 + 4423 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + -25 + + + + + + + 2 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 9567A192BF523DDF741004FFF5BDB044D715FEB7CE9AEC89ACC25C1C33E48C4E + 2232115228 + 381 + 26 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + -29 @@ -7880,27 +8020,83 @@ 2 - BE8985294A55E37D9B677C21D50CF4EB5251827504230A4FE52FCB7702370F51 - 1124820874 - 329 - 864 - 02FC4C7F80E4704A722A49C8337614DB5DF60CA53B53AAD869CD7ECE2DCBE057 - 928857252 - 187 - 129 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 9DEEF8ED70BF74F501A96BA5DE5BFD42FAD16DE333ABE189E512C332586FC465 + 2250569940 + 1893 + 2528 0 - ../../../../boost/throw_exception.hpp + ../../../../boost/exception_ptr.hpp 0 0 - -18 + -27 + + + + + + + 2 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + 156B870761DB092CE4269C1173B479A344A1041BA2B883765AF19A72B371D776 + 3239976720 + 117 + 4709 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + -13 + + + + + + + 2 + 973F8368D72D56424349CBB81C8F3015CB9F4F0CD7B23A8C62C3DBADDA37CD57 + 3833800883 + 4832 + 514 + ED09F845070FF7D381BE5EFB6B55313FD09FBA16B64B69992410380EFA45519C + 2051939590 + 78 + 409 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + -24 @@ -7924,7 +8120,7 @@ - -9 + -23 @@ -7948,7 +8144,7 @@ - -30 + -18 @@ -7976,7 +8172,35 @@ - -12 + -26 + + + + + + + 2 + 33C9C03A97DEE6FC1B9B36E8832FF546419173B8389B8488206E7A3DE9C7CA88 + 2998452034 + 583 + 867 + 99278A58AB0ED511046D5EBEE4B616E145C9D69033CD5577EC8BF3761227A46A + 1992783533 + 359 + 211 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + -5 @@ -8000,7 +8224,7 @@ - -31 + -17 @@ -8024,7 +8248,7 @@ - -28 + -15 @@ -8048,7 +8272,7 @@ - -14 + -28 @@ -8072,7 +8296,35 @@ - -6 + -20 + + + + + + + 2 + C4D33E012F1FD360A08BE7032246E4361A8D8A3E1D316D454707AD9484C9F8C0 + 2765396103 + 1505 + 367 + 21F529F6CC88DB2566F36223A07F700BD043680083D73ABA1A7444A663AAFCFF + 4141043385 + 241 + 1258 + + + + + + 0 + ../../../../boost/exception/enable_error_info.hpp + 0 + 0 + + + + -12 @@ -8096,35 +8348,7 @@ - -7 - - - - - - - 2 - 9535E799FA734E0B544C723831057F15D0D36849A0B70EB3485F545E3DBBF9D0 - 2555086413 - 1421 - 367 - 21F529F6CC88DB2566F36223A07F700BD043680083D73ABA1A7444A663AAFCFF - 4141043385 - 241 - 1174 - - - - - - 0 - ../../../../boost/exception/enable_error_info.hpp - 0 - 0 - - - - -25 + -21 @@ -8151,230 +8375,6 @@ -40 - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 921FBF6991E17349BFF2AD6F165372F85AA9457DDB28E502ABB6B392BBA6B529 - 3119269037 - 284 - 4306 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - -11 - - - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 9DEEF8ED70BF74F501A96BA5DE5BFD42FAD16DE333ABE189E512C332586FC465 - 2250569940 - 1893 - 2411 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - -13 - - - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 7B6F48BAF7F452EDAEC5D09418936D96101CCA8700CD7469B9C7DA5DCA659E6A - 3892925390 - 335 - 26 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - -15 - - - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - 156B870761DB092CE4269C1173B479A344A1041BA2B883765AF19A72B371D776 - 3239976720 - 117 - 4592 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - -26 - - - - - - - 2 - 5D3DFA90F5284E2BBF205D4BE191AD1949612D410554F40C20FDAE88EBE373DC - 3654158033 - 4715 - 498 - ED09F845070FF7D381BE5EFB6B55313FD09FBA16B64B69992410380EFA45519C - 2051939590 - 78 - 363 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - -10 - - - - - - - 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 - 737 - 65D13C1BB0A16823F69A32BAB56A51CA317075C7FC8B7441EE0D9B57AF5AB2AC - 2592266329 - 712 - 1652 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - -24 - - - - - - - 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 - 737 - 865A7E598C4F2EDA41CCDFAD253F5E4699012898C97E29E3CB1C68DABA0C62B1 - 2395321958 - 721 - 528 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - -8 - - - - - - - 2 - 7AC7304D50E623B0954AEB799FFFDDD646C8F62AFFD31BBB79A7EBA312A17AE8 - 2015761243 - 6002 - 737 - 27AC1164E0A824D548386BEDCDC81DCAC283F3D286B0ECEE05B039BB8C392BFC - 1247954090 - 249 - 1401 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - -23 - - @@ -8444,7 +8444,7 @@ - -21 + -8 @@ -8475,7 +8475,7 @@ -5 - boost/exception/enable_error_info.hpp,exception,header + cloning,exception,free,function,template,throw_exception @@ -8484,7 +8484,7 @@ -6 - boost/exception/info_tuple.hpp,exception,header + error_info,exception,noindex,tutorial @@ -8493,7 +8493,7 @@ -7 - boost/exception/error_info.hpp,exception,header + noindex,tutorial @@ -8502,7 +8502,7 @@ -8 - error_info,exception,free,function,template + noindex,tutorial @@ -8511,7 +8511,7 @@ -9 - BOOST_ERROR_INFO,error_info,exception,macro + exception,type @@ -8520,7 +8520,7 @@ -10 - cloning,exception,exception_ptr,type + error_info,exception,free,function,operator<</exception,template @@ -8529,7 +8529,7 @@ -11 - cloning,copy_exception,exception,free,function + error_info,exception,free,function,get_error_info,template @@ -8538,7 +8538,7 @@ -12 - cloning,enable_current_exception,exception,free,function,template + enable_error_info,error_info,exception,free,function,template @@ -8547,7 +8547,7 @@ -13 - cloning,current_exception,exception,free,function + cloning,exception,free,function,rethrow_exception @@ -8556,7 +8556,7 @@ -14 - boost/exception/info.hpp,exception,header + boost/exception.hpp,exception,header @@ -8565,7 +8565,7 @@ -15 - cloning,exception,type,unknown_exception + boost/exception_ptr.hpp,header @@ -8574,7 +8574,7 @@ -16 - exception,noindex + boost/throw_exception.hpp,header @@ -8583,7 +8583,7 @@ -17 - cloning,exception,noindex,tutorial + boost/exception/exception.hpp,exception,header @@ -8592,7 +8592,7 @@ -18 - cloning,exception,free,function,template,throw_exception + boost/exception/enable_current_exception.hpp,exception,header @@ -8601,7 +8601,7 @@ -19 - error_info,exception,noindex,tutorial + boost/exception/enable_error_info.hpp,exception,header @@ -8610,7 +8610,7 @@ -20 - noindex,tutorial + boost/exception/info_tuple.hpp,exception,header @@ -8619,7 +8619,7 @@ -21 - noindex,tutorial + boost/exception/error_info.hpp,exception,header @@ -8628,7 +8628,7 @@ -22 - exception,type + error_info,exception,free,function,template @@ -8637,7 +8637,7 @@ -23 - error_info,exception,free,function,operator<</exception,template + BOOST_ERROR_INFO,error_info,exception,macro @@ -8646,7 +8646,7 @@ -24 - error_info,exception,free,function,get_error_info,template + cloning,exception,exception_ptr,type @@ -8655,7 +8655,7 @@ -25 - enable_error_info,error_info,exception,free,function,template + cloning,copy_exception,exception,free,function @@ -8664,7 +8664,7 @@ -26 - cloning,exception,free,function,rethrow_exception + cloning,enable_current_exception,exception,free,function,template @@ -8673,7 +8673,7 @@ -27 - boost/exception.hpp,exception,header + cloning,current_exception,exception,free,function @@ -8682,7 +8682,7 @@ -28 - boost/exception_ptr.hpp,header + boost/exception/info.hpp,exception,header @@ -8691,7 +8691,7 @@ -29 - boost/throw_exception.hpp,header + cloning,exception,type,unknown_exception @@ -8700,7 +8700,7 @@ -30 - boost/exception/enable_current_exception.hpp,exception,header + exception,noindex @@ -8709,7 +8709,7 @@ -31 - boost/exception/exception.hpp,exception,header + cloning,exception,noindex,tutorial diff --git a/doc/throw_exception.html b/doc/throw_exception.html index 0865fdd..a45da04 100644 --- a/doc/throw_exception.html +++ b/doc/throw_exception.html @@ -31,7 +31,9 @@ boost void throw_exception( E const & e ); #endif } -

Effects:

+

Requirements:

+

E must derive publicly from std::exception.

+

Effects:

  • If BOOST_NO_EXCEPTIONS is not defined, boost::throw_exception(e) is equivalent to throw boost::enable_current_exception(boost::enable_error_info(e)), unless BOOST_EXCEPTION_DISABLE is defined, in which case boost::throw_exception(e) is equivalent to throw e;
  • If BOOST_NO_EXCEPTIONS is defined, the function is left undefined, and the user is expected to supply an appropriate definition. Callers of throw_exception are allowed to assume that the function never returns; therefore, if the user-defined throw_exception returns, the behavior is undefined.