From 49395913d01274b813e1226c3ebf30361ba9e36d Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Fri, 5 Sep 2008 07:20:05 +0000 Subject: [PATCH] documentation update [SVN r48606] --- doc/source/boost-exception.reno | 11722 +++++++++++++++--------------- 1 file changed, 6027 insertions(+), 5695 deletions(-) diff --git a/doc/source/boost-exception.reno b/doc/source/boost-exception.reno index 01e1547..11a7e29 100644 --- a/doc/source/boost-exception.reno +++ b/doc/source/boost-exception.reno @@ -39,7 +39,7 @@ - 38 + 40 0 @@ -53,7 +53,7 @@ - 3 + 2 612485E090D76B2CC43C1A296F813075BA165C2496082E78E939F10B3DA8E09A 1770110914 587 @@ -62,10 +62,6 @@ 3929437933 361 213 - CD1241D84950468704F3C3F04116B8DA5162A8BEA4364F10951232F49113C5DE - 1658463867 - 121 - 238 @@ -79,7 +75,7 @@ - <string>Configuration</string> + <string>throw_exception</string> @@ -101,713 +97,6 @@ reno_context - - - - - - 1 - F4C951B28F7DE500973AA3DFAA99F2BADA6EDAFA2B406C30BEF3B7FBE6FD57D7 - 2263754923 - 982 - 306 - - - - - - 0 - ../../example/error_info_2.cpp - 0 - 0 - - - - - <string>adding of arbitrary data to active exception objects</string> - - - adding_data_later - - - - - - 0 - - - - - 0 - - 7 - - reno_context - - - - - - - 2 - F7633FDCF6615C0199645701EE6E7ACE5CBCD7A7CF6838573791E91ABB3C09F2 - 1668435395 - 1332 - 396 - A1F443AF571973A12005D2F7D4AE09A32AAF686FEEAE272EC21512A65EB943E8 - 3879093659 - 1300 - 26 - - - - - - 0 - ../../../../boost/exception/info_tuple.hpp - 0 - 0 - - - - - <string>operator<</tuple</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 8 - - reno_context - - - - - - - 2 - 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB - 941210061 - 8706 - 487 - 0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4 - 2078296250 - 305 - 8138 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>copy_exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 9 - - reno_context - - - - - - - 2 - B13B5FDADDB2BA2714DA95BB0249C315D5ECD2DCFFEEFDB34EAF64E7C5BD40E6 - 3385171361 - 1538 - 433 - 25FBAAA29F300B32DF38832E0A102B8A4FAB726B5FAEE428B00DBD5D58D9BB16 - 3475582031 - 1039 - 493 - - - - - - 0 - ../../../../boost/exception/diagnostic_information.hpp - 0 - 0 - - - - - <string>diagnostic_information</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 10 - - reno_context - - - - - - - 2 - 17F10DBB69A481226D23CBBD7A897BF484EB8C5B1DC2E346E725EF0B8CE76D14 - 469421394 - 3808 - 518 - D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8 - 4055211476 - 525 - 3277 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - - <string>operator<</exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 11 - - reno_context - - - - - - - 2 - 9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF - 1615599655 - 68 - 227 - 34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB - 805836816 - 66 - 1 - - - - - - 0 - ../../../../boost/exception/error_info.hpp - 0 - 0 - - - - - <string>boost/exception/error_info.hpp</string> - - - exception_error_info_value_hpp - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 12 - - reno_context - - - - - - - 1 - 67D64FAD0AB7CA6B2173A14F363D19B27F59EEBDB5C1076F8BCCA1B54D4CCD7D - 2241687287 - 303 - 323 - - - - - - 0 - ../../../../boost/exception.hpp - 0 - 0 - - - - - <string>boost/exception.hpp</string> - - - exception_hpp - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 13 - - reno_context - - - - - - - 1 - 7116AEECEA666794E31DC99390ADEC1BA6AF74B2398067A0739767B4B76FA97A - 4128134227 - 307 - 302 - - - - - - 0 - ../../example/logging.cpp - 0 - 0 - - - - - <string>diagnostic information</string> - - - tutorial_diagnostic_information - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 14 - - reno_context - - - - - - - 2 - 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E - 4076172629 - 8577 - 323 - DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9 - 1137981799 - 192 - 8379 - - - - - - 0 - ../../../../boost/exception/exception.hpp - 0 - 0 - - - - - <string>enable_current_exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 15 - - reno_context - - - - - - - 2 - 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB - 941210061 - 8706 - 487 - E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B - 1414247481 - 766 - 7370 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>current_exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 16 - - reno_context - - - - - - - 2 - 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB - 941210061 - 8706 - 487 - 0E9DF8366080712A816BE91ABCEF1E2044145B63D75B0B995B537900F378189E - 1069696031 - 255 - 8445 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>rethrow_exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 17 - - reno_context - - - - - - - 1 - 4ED9709788BBAB4DE7CF336561606B8C0B41F70877A3395F4EE026F4AEB66CC6 - 743998427 - 409 - 307 - - - - - - 0 - ../../example/cloning_1.cpp - 0 - 0 - - - - - <string>using enable_current_exception at the time of the throw</string> - - - using_enable_cloning - - - - - - 0 - - - - - 0 - - 18 - - reno_context - - - - - - - 1 - 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E - 4076172629 - 8577 - 323 - - - - - - 0 - ../../../../boost/exception/exception.hpp - 0 - 0 - - - - - <string>boost/exception/exception.hpp</string> - - - exception_exception_hpp - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 19 - - reno_context - - - - - - - 2 - 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB - 941210061 - 8706 - 487 - F86EB07D04CD0D0645080D1121DA899746D0C45137E17E1D9BE605E75396F047 - 1983537541 - 1346 - 148 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>exception_ptr</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 20 - - reno_context - - - - - - - 1 - D9B8E6AA12A4F33953B1A961FA590C5A3840234B6531CA8C04AC985AD5800835 - 2432554768 - 702 - 408 - - - - - - 0 - ../../example/enable_error_info.cpp - 0 - 0 - - - - - <string>integrating boost exception in existing exception class hierarchies</string> - - - tutorial_enable_error_info - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 21 - - reno_context - @@ -824,10 +113,10 @@ - <string>transporting of arbitrary data to the catch site</string> + <string>boost/exception/enable_current_exception.hpp</string> - tutorial_transporting_data + exception_enable_current_exception_hpp @@ -842,101 +131,7 @@ 0 - 22 - - reno_context - - - - - - - 2 - 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB - 941210061 - 8706 - 487 - 448B6444D4B3E46F822F56C14FDA3F6F96B869543EBA1E291C5E3D36F73AF24B - 2443226110 - 700 - 1496 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>unknown_exception</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 23 - - reno_context - - - - - - - 1 - 17FF6C63843EE64ED66CB038DD95B4C4D6BA1B0FD36B27BEFD84A909161D2853 - 1237535165 - 231 - 1255 - - - - - - 0 - ../../../../boost/throw_exception.hpp - 0 - 0 - - - - - <string>BOOST_THROW_EXCEPTION</string> - - - - - - - - - 1 - 2 - (:include include:) (:pagelist link="backlink":) - - - - - 0 - - 24 + 7 reno_context @@ -985,7 +180,1700 @@ 0 - 25 + 8 + + reno_context + + + + + + + 2 + 17F10DBB69A481226D23CBBD7A897BF484EB8C5B1DC2E346E725EF0B8CE76D14 + 469421394 + 3808 + 518 + D31BCE814DF5B8B718E7EB67A194AD08EF716A26D422E436596ABA1F145007D8 + 4055211476 + 525 + 3277 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + + <string>operator<</exception</string> + + + + + + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 9 + + reno_context + + + + + + + 2 + 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB + 941210061 + 8706 + 487 + 0066D4E6E6B189906E6DE04F08509F3737511701A1B1355B37511EC18E8371F4 + 2078296250 + 305 + 8138 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>copy_exception</string> + + + + + + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 10 + + reno_context + + + + + + + 2 + 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E + 4076172629 + 8577 + 323 + 2D32D2DE11DB8BDD6F34C94CC165ABEF4F4CCB2D119354FA05811534E2AF356F + 1002290201 + 1604 + 3720 + + + + + + 0 + ../../../../boost/exception/exception.hpp + 0 + 0 + + + + + <string>exception</string> + + + + + + + + + 1 + 2 + (:include include:) ---- !!!See Also: (:pagelist link="backlink" except_tags="exception,member" mod="w":) + + + + + 0 + + 11 + + reno_context + + + + + + + 2 + 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB + 941210061 + 8706 + 487 + E23085202D084CBB50F289988A6A592F06D923B77D0AB25D7A98A7188DF5BE3B + 1414247481 + 766 + 7370 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>current_exception</string> + + + + + + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 12 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>boost exception</string> + + + boost-exception + + + + + + 117 + 2 + !!Introduction The purpose of Boost Exception is to ease the design of exception class hierarchies and to help write exception handling and error reporting code. It supports transporting of arbitrary data to the catch site, which is otherwise tricky due to the no-throw requirements (15.5.1) for exception types. Data can be added to any exception object, either directly in the throw-expression (15.1), or at a later time as the exception object propagates up the call stack. The ability to add data to exception objects after they have been passed to throw is important, because often some of the information needed to handle an exception is unavailable in the context where the failure is detected. Boost Exception also supports (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:)-style (:link + 1 + + 0 + + 13 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>transporting of exceptions between threads</string> + + + tutorial_exception_ptr + + + + + 2 + |copying:) of exception objects, implemented non-intrusively and automatically by the boost::(:link + 1 + + 0 + + -5 + + + 2 + :) function. !!Contents #Tutorial ##(:link + 1 + + 0 + + 14 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>transporting of arbitrary data to the catch site</string> + + + tutorial_transporting_data + + + + + 2 + mod="w":) ##(:link + 1 + + 0 + + 15 + + reno_context + + + + + + + 1 + D9B8E6AA12A4F33953B1A961FA590C5A3840234B6531CA8C04AC985AD5800835 + 2432554768 + 702 + 408 + + + + + + 0 + ../../example/enable_error_info.cpp + 0 + 0 + + + + + <string>integrating boost exception in existing exception class hierarchies</string> + + + tutorial_enable_error_info + + + + + 2 + mod="w":) ##(:link + 1 + + 0 + + -13 + + + 2 + mod="w":) ##(:link + 1 + + 0 + + 16 + + reno_context + + + + + + + 1 + 7116AEECEA666794E31DC99390ADEC1BA6AF74B2398067A0739767B4B76FA97A + 4128134227 + 307 + 302 + + + + + + 0 + ../../example/logging.cpp + 0 + 0 + + + + + <string>diagnostic information</string> + + + tutorial_diagnostic_information + + + + + 2 + mod="w":) #Documentation ##Class (:link + 1 + + 0 + + -10 + + + 2 + :) ##Transporting of Arbitrary Data to the Catch Site ###(:link + 1 + + 0 + + 17 + + reno_context + + + + + + + 2 + 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB + 3471702891 + 969 + 344 + A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47 + 2978648279 + 530 + 433 + + + + + + 0 + ../../../../boost/exception/detail/error_info_impl.hpp + 0 + 0 + + + + + <string>error_info</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + -8 + + + 2 + :) ###(:link + 1 + + 0 + + 18 + + reno_context + + + + + + + 2 + F7633FDCF6615C0199645701EE6E7ACE5CBCD7A7CF6838573791E91ABB3C09F2 + 1668435395 + 1332 + 396 + A1F443AF571973A12005D2F7D4AE09A32AAF686FEEAE272EC21512A65EB943E8 + 3879093659 + 1300 + 26 + + + + + + 0 + ../../../../boost/exception/info_tuple.hpp + 0 + 0 + + + + + <string>operator<</tuple</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + 19 + + reno_context + + + + + + + 2 + 8F178D422EC1891AEDF90A4DCA7BCEC96D29D1B0A70726C222513D699679F59D + 3253069900 + 3913 + 525 + BB8AF986C96801345719855FEA083AF5684FBC349F6520E150F19A6370019265 + 3731478139 + 686 + 3221 + + + + + + 0 + ../../../../boost/exception/get_error_info.hpp + 0 + 0 + + + + + <string>get_error_info</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + -7 + + + 2 + :) ##(:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:) Transporting of Exceptions between Threads ###(:link + 1 + + 0 + + 20 + + reno_context + + + + + + + 2 + 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB + 941210061 + 8706 + 487 + F86EB07D04CD0D0645080D1121DA899746D0C45137E17E1D9BE605E75396F047 + 1983537541 + 1346 + 148 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>exception_ptr</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + 21 + + reno_context + + + + + + + 2 + 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E + 4076172629 + 8577 + 323 + DF9EA87B0140AACF4422F1B76F6A6A409C15F32858BBBA85A35981A824C56BA9 + 1137981799 + 192 + 8379 + + + + + + 0 + ../../../../boost/exception/exception.hpp + 0 + 0 + + + + + <string>enable_current_exception</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + -11 + + + 2 + :) ###(:link + 1 + + 0 + + -9 + + + 2 + :) ###(:link + 1 + + 0 + + 22 + + reno_context + + + + + + + 2 + 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB + 941210061 + 8706 + 487 + 0E9DF8366080712A816BE91ABCEF1E2044145B63D75B0B995B537900F378189E + 1069696031 + 255 + 8445 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>rethrow_exception</string> + + + + + + + + 2 + :) ###(:link + 1 + + 0 + + 23 + + reno_context + + + + + + + 2 + 86E1196533E771AEFD141DA43FCD980AE3D7689A45EDD54A2DF28B1943E0E7DB + 941210061 + 8706 + 487 + 448B6444D4B3E46F822F56C14FDA3F6F96B869543EBA1E291C5E3D36F73AF24B + 2443226110 + 700 + 1496 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>unknown_exception</string> + + + + + + + + 2 + :) ##(:link + 1 + + 0 + + 24 + + reno_context + + + + + + + 2 + 439278045C9E304238B86C5BD4DA9CA64630D4CC73D442089068A186A28CA55A + 3686240039 + 1522 + 433 + 6FE1F0AF570A010E8FDA1647DE61E0CC3AA979C8A8638722DAACDF8FBC4790D2 + 1246830037 + 1023 + 493 + + + + + + 0 + ../../../../boost/exception/diagnostic_information.hpp + 0 + 0 + + + + + <string>diagnostic_information</string> + + + + + + + + 2 + :) ##(:link + 1 + + 0 + + -5 + + + 2 + :), (:link + 1 + + 0 + + 25 + + reno_context + + + + + + + 1 + 17FF6C63843EE64ED66CB038DD95B4C4D6BA1B0FD36B27BEFD84A909161D2853 + 1237535165 + 231 + 1255 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + + <string>BOOST_THROW_EXCEPTION</string> + + + + + + + + 2 + :) ##(:link + 1 + + 0 + + 26 + + reno_context + + + + + + + 3 + 612485E090D76B2CC43C1A296F813075BA165C2496082E78E939F10B3DA8E09A + 1770110914 + 587 + 1566 + 60F3F48B87487FA6E0D2CCC0750AF435CC92CEC80BBBF609AC71295031AADD0D + 3929437933 + 361 + 213 + CD1241D84950468704F3C3F04116B8DA5162A8BEA4364F10951232F49113C5DE + 1658463867 + 121 + 238 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + + <string>Configuration</string> + + + + + + + + 2 + :) ##Headers ###(:link + 1 + + 0 + + 27 + + reno_context + + + + + + + 1 + 67D64FAD0AB7CA6B2173A14F363D19B27F59EEBDB5C1076F8BCCA1B54D4CCD7D + 2241687287 + 303 + 323 + + + + + + 0 + ../../../../boost/exception.hpp + 0 + 0 + + + + + <string>boost/exception.hpp</string> + + + exception_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 28 + + reno_context + + + + + + + 1 + 265AFB67CCEF87EC9B58DB910ED23C0B1A5546C44767E2FFD6829ABADAF4828B + 1235989793 + 1632 + 323 + + + + + + 0 + ../../../../boost/exception/diagnostic_information.hpp + 0 + 0 + + + + + <string>boost/exception/diagnostic_information.hpp</string> + + + exception_diagnostic_information_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + -6 + + + 2 + :) ###(:link + 1 + + 0 + + 29 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>boost/exception/enable_error_info.hpp</string> + + + exception_enable_error_info_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 30 + + reno_context + + + + + + + 2 + 9A4ECF9A49A73AED83C1565CB8C67AE1519E8AFE6818F968B4C4733CB9E86CEF + 1615599655 + 68 + 227 + 34F0583BC8DE767CE2D79721E1F956895E43E5397473B1050F59BE7E26C773DB + 805836816 + 66 + 1 + + + + + + 0 + ../../../../boost/exception/error_info.hpp + 0 + 0 + + + + + <string>boost/exception/error_info.hpp</string> + + + exception_error_info_value_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 31 + + reno_context + + + + + + + 1 + 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E + 4076172629 + 8577 + 323 + + + + + + 0 + ../../../../boost/exception/exception.hpp + 0 + 0 + + + + + <string>boost/exception/exception.hpp</string> + + + exception_exception_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 32 + + reno_context + + + + + + + 1 + F6A7A960DE8CB8740E206D2585D4C83854DE073ABDAFFB8BD1C9A6B73428197D + 129904804 + 4115 + 323 + + + + + + 0 + ../../../../boost/exception/get_error_info.hpp + 0 + 0 + + + + + <string>boost/exception/get_error_info.hpp</string> + + + exception_get_error_info_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 33 + + reno_context + + + + + + + 1 + A08B750D3232ABEE88525742EFF8F342E5B2E4DE52BA6F55A8CFED666A50756E + 4268561218 + 4003 + 323 + + + + + + 0 + ../../../../boost/exception/info.hpp + 0 + 0 + + + + + <string>boost/exception/info.hpp</string> + + + exception_error_info_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 34 + + reno_context + + + + + + + 1 + CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF + 2258638601 + 94 + 227 + + + + + + 0 + ../../../../boost/exception/info_tuple.hpp + 0 + 0 + + + + + <string>boost/exception/info_tuple.hpp</string> + + + exception_error_info_group_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 35 + + reno_context + + + + + + + 1 + 25DF01CCA9425952104C6606C336BB091879E4A22680790BBB352670DFB0E0CD + 4271502180 + 8870 + 323 + + + + + + 0 + ../../../../boost/exception_ptr.hpp + 0 + 0 + + + + + <string>boost/exception_ptr.hpp</string> + + + exception_cloning_hpp + + + + + 2 + :) ###(:link + 1 + + 0 + + 36 + + reno_context + + + + + + + 1 + 05BBA12328429E0E88C8D44170E103FDF8DCD84E0C9AFB19D0478F9F4606FBE7 + 3486222742 + 2082 + 91 + + + + + + 0 + ../../../../boost/throw_exception.hpp + 0 + 0 + + + + + <string>boost/throw_exception.hpp</string> + + + throw_exception_hpp + + + + + 2 + :) #(:link + 1 + + 0 + + 37 + + reno_context + + + + + + + 0 + + + + + + 1 + + + + + <string>Index</string> + + + name_idx + + + + + 2 + :) !!Synopsis `#include <(:link + 1 + + 0 + + -27 + + + 2 + :)> [@namespace boost { (:include + 1 + + 0 + + -31 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -33 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -34 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -29 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -28 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -35 + + + 2 + api pre_indent="4":) (:include + 1 + + 0 + + -6 + + + 2 + api pre_indent="4":) }@] `#include <(:link + 1 + + 0 + + -36 + + + 2 + :)> [@(:include + 1 + + 0 + + -36 + + + 2 + api:)@] !!Class exception (:include + 1 + + 0 + + -10 + + + 2 + :) !!Transporting of Arbitrary Data to the Catch Site (:include + 1 + + 0 + + -17 + + + 2 + :) (:include + 1 + + 0 + + -8 + + + 2 + :) (:include + 1 + + 0 + + -18 + + + 2 + :) (:include + 1 + + 0 + + -19 + + + 2 + :) (:include + 1 + + 0 + + -7 + + + 2 + :) !!Transporting of Exceptions between Threads (:include + 1 + + 0 + + -20 + + + 2 + :) (:include + 1 + + 0 + + -21 + + + 2 + :) (:include + 1 + + 0 + + -11 + + + 2 + :) (:include + 1 + + 0 + + -9 + + + 2 + :) (:include + 1 + + 0 + + -22 + + + 2 + :) (:include + 1 + + 0 + + -23 + + + 2 + :) !!Printing Diagnostic Information (:include + 1 + + 0 + + -24 + + + 2 + :) !!Throwing Exceptions (:include + 1 + + 0 + + -5 + + + 2 + :) !!Acknowledgements Peter Dimov has been continuously influencing the design and evolution of Boost Exception. Also thanks to Tobias Schwinger, Tom Brinkman, Pavel Vozenilek and everyone who participated in the review process. + + + + + 0 + + -24 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -35 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -17 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -15 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 38 + + reno_context + + + + + + + 1 + F4C951B28F7DE500973AA3DFAA99F2BADA6EDAFA2B406C30BEF3B7FBE6FD57D7 + 2263754923 + 982 + 306 + + + + + + 0 + ../../example/error_info_2.cpp + 0 + 0 + + + + + <string>adding of arbitrary data to active exception objects</string> + + + adding_data_later + + + + + + 0 + + + + + 0 + + -20 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -13 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 39 reno_context @@ -1034,981 +1922,6 @@ (:include include:) (:auto also:) - - - 0 - - 26 - - reno_context - - - - - - - 2 - 8F178D422EC1891AEDF90A4DCA7BCEC96D29D1B0A70726C222513D699679F59D - 3253069900 - 3913 - 525 - BB8AF986C96801345719855FEA083AF5684FBC349F6520E150F19A6370019265 - 3731478139 - 686 - 3221 - - - - - - 0 - ../../../../boost/exception/get_error_info.hpp - 0 - 0 - - - - - <string>get_error_info</string> - - - - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 27 - - reno_context - - - - - - - 1 - CAD6C404CB725D336A44920D2341ECA131149AB02C368B59028F8147F16737BF - 2258638601 - 94 - 227 - - - - - - 0 - ../../../../boost/exception/info_tuple.hpp - 0 - 0 - - - - - <string>boost/exception/info_tuple.hpp</string> - - - exception_error_info_group_hpp - - - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - 28 - - reno_context - - - - - - - 0 - - - - - - 1 - - - - - <string>boost exception</string> - - - boost-exception - - - - - - 109 - 2 - !!Introduction The purpose of Boost Exception is to ease the design of exception class hierarchies and to help write exception handling and error reporting code. It supports transporting of arbitrary data to the catch site, which is otherwise tricky due to the no-throw requirements (15.5.1) for exception types. Data can be added to any exception object, either directly in the throw-expression (15.1), or at a later time as the exception object propagates up the call stack. The ability to add data to exception objects after they have been passed to throw is important, because often some of the information needed to handle an exception is unavailable in the context where the failure is detected. Boost Exception also supports (:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:)-style (:link - 1 - - 0 - - 29 - - reno_context - - - - - - - 0 - - - - - - 1 - - - - - <string>transporting of exceptions between threads</string> - - - tutorial_exception_ptr - - - - - 2 - |copying:) of exception objects, implemented non-intrusively and automatically by the boost::(:link - 1 - - 0 - - 30 - - reno_context - - - - - - - 2 - 612485E090D76B2CC43C1A296F813075BA165C2496082E78E939F10B3DA8E09A - 1770110914 - 587 - 1566 - 60F3F48B87487FA6E0D2CCC0750AF435CC92CEC80BBBF609AC71295031AADD0D - 3929437933 - 361 - 213 - - - - - - 0 - ../../../../boost/throw_exception.hpp - 0 - 0 - - - - - <string>throw_exception</string> - - - - - - - - 2 - :) function. !!Contents #Tutorial ##(:link - 1 - - 0 - - -21 - - - 2 - mod="w":) ##(:link - 1 - - 0 - - -20 - - - 2 - mod="w":) ##(:link - 1 - - 0 - - -29 - - - 2 - mod="w":) ##(:link - 1 - - 0 - - -13 - - - 2 - mod="w":) #Documentation ##Class (:link - 1 - - 0 - - 31 - - reno_context - - - - - - - 2 - 50E48ABD58B427E16B2EFA345D5FE67159057CB90F19AA1AD52C11991FD8500E - 4076172629 - 8577 - 323 - 2D32D2DE11DB8BDD6F34C94CC165ABEF4F4CCB2D119354FA05811534E2AF356F - 1002290201 - 1604 - 3720 - - - - - - 0 - ../../../../boost/exception/exception.hpp - 0 - 0 - - - - - <string>exception</string> - - - - - - - - 2 - :) ##Transporting of Arbitrary Data to the Catch Site ###(:link - 1 - - 0 - - 32 - - reno_context - - - - - - - 2 - 126BB1D8971585CBE7D78EF3C12259D72FD5E973A84626AA9FC3234220A11CAB - 3471702891 - 969 - 344 - A7FD310E1340E103081DA2A7899DA0E213C696C84D52C17ADA09F6942EE97D47 - 2978648279 - 530 - 433 - - - - - - 0 - ../../../../boost/exception/detail/error_info_impl.hpp - 0 - 0 - - - - - <string>error_info</string> - - - - - - - - 2 - :) ###(:link - 1 - - 0 - - -10 - - - 2 - :) ###(:link - 1 - - 0 - - -7 - - - 2 - :) ###(:link - 1 - - 0 - - -26 - - - 2 - :) ###(:link - 1 - - 0 - - -24 - - - 2 - :) ##(:link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html|N2179:) Transporting of Exceptions between Threads ###(:link - 1 - - 0 - - -19 - - - 2 - :) ###(:link - 1 - - 0 - - -14 - - - 2 - :) ###(:link - 1 - - 0 - - -15 - - - 2 - :) ###(:link - 1 - - 0 - - -8 - - - 2 - :) ###(:link - 1 - - 0 - - -16 - - - 2 - :) ###(:link - 1 - - 0 - - -22 - - - 2 - :) ##(:link - 1 - - 0 - - -9 - - - 2 - :) ##(:link - 1 - - 0 - - -30 - - - 2 - :), (:link - 1 - - 0 - - -23 - - - 2 - :) ##(:link - 1 - - 0 - - -5 - - - 2 - :) ##Headers ###(:link - 1 - - 0 - - -12 - - - 2 - :) ###(:link - 1 - - 0 - - 33 - - reno_context - - - - - - - 1 - DB399F862FF8F7FC33944FDA379AAB5585A13C33DB71B3590F87125BC89C571E - 2539242395 - 1648 - 323 - - - - - - 0 - ../../../../boost/exception/diagnostic_information.hpp - 0 - 0 - - - - - <string>boost/exception/diagnostic_information.hpp</string> - - - - - - - - 2 - :) ###(:link - 1 - - 0 - - -11 - - - 2 - :) ###(:link - 1 - - 0 - - -18 - - - 2 - :) ###(:link - 1 - - 0 - - 34 - - reno_context - - - - - - - 1 - F6A7A960DE8CB8740E206D2585D4C83854DE073ABDAFFB8BD1C9A6B73428197D - 129904804 - 4115 - 323 - - - - - - 0 - ../../../../boost/exception/get_error_info.hpp - 0 - 0 - - - - - <string>boost/exception/get_error_info.hpp</string> - - - - - - - - 2 - :) ###(:link - 1 - - 0 - - 35 - - reno_context - - - - - - - 1 - A08B750D3232ABEE88525742EFF8F342E5B2E4DE52BA6F55A8CFED666A50756E - 4268561218 - 4003 - 323 - - - - - - 0 - ../../../../boost/exception/info.hpp - 0 - 0 - - - - - <string>boost/exception/info.hpp</string> - - - exception_error_info_hpp - - - - - 2 - :) ###(:link - 1 - - 0 - - -27 - - - 2 - :) ###(:link - 1 - - 0 - - 36 - - reno_context - - - - - - - 1 - 25DF01CCA9425952104C6606C336BB091879E4A22680790BBB352670DFB0E0CD - 4271502180 - 8870 - 323 - - - - - - 0 - ../../../../boost/exception_ptr.hpp - 0 - 0 - - - - - <string>boost/exception_ptr.hpp</string> - - - exception_cloning_hpp - - - - - 2 - :) ###(:link - 1 - - 0 - - 37 - - reno_context - - - - - - - 1 - 05BBA12328429E0E88C8D44170E103FDF8DCD84E0C9AFB19D0478F9F4606FBE7 - 3486222742 - 2082 - 91 - - - - - - 0 - ../../../../boost/throw_exception.hpp - 0 - 0 - - - - - <string>boost/throw_exception.hpp</string> - - - throw_exception_hpp - - - - - 2 - :) #(:link - 1 - - 0 - - 38 - - reno_context - - - - - - - 0 - - - - - - 1 - - - - - <string>Index</string> - - - name_idx - - - - - 2 - :) !!Synopsis `#include <(:link - 1 - - 0 - - -12 - - - 2 - :)> [@namespace boost { (:include - 1 - - 0 - - -18 - - - 2 - api pre_indent="4":) (:include - 1 - - 0 - - -35 - - - 2 - api pre_indent="4":) (:include - 1 - - 0 - - -27 - - - 2 - api pre_indent="4":) (:include - 1 - - 0 - - -33 - - - 2 - api pre_indent="4":) (:include - 1 - - 0 - - -36 - - - 2 - api pre_indent="4":) }@] `#include <(:link - 1 - - 0 - - -37 - - - 2 - :)> [@(:include - 1 - - 0 - - -37 - - - 2 - api:)@] !!Class exception (:include - 1 - - 0 - - -31 - - - 2 - :) !!Transporting of Arbitrary Data to the Catch Site (:include - 1 - - 0 - - -32 - - - 2 - :) (:include - 1 - - 0 - - -10 - - - 2 - :) (:include - 1 - - 0 - - -7 - - - 2 - :) (:include - 1 - - 0 - - -26 - - - 2 - :) (:include - 1 - - 0 - - -24 - - - 2 - :) !!Transporting of Exceptions between Threads (:include - 1 - - 0 - - -19 - - - 2 - :) (:include - 1 - - 0 - - -14 - - - 2 - :) (:include - 1 - - 0 - - -15 - - - 2 - :) (:include - 1 - - 0 - - -8 - - - 2 - :) (:include - 1 - - 0 - - -16 - - - 2 - :) (:include - 1 - - 0 - - -22 - - - 2 - :) !!Printing Diagnostic Information (:include - 1 - - 0 - - -9 - - - 2 - :) !!Throwing Exceptions (:include - 1 - - 0 - - -30 - - - 2 - :) !!Acknowledgements Peter Dimov has been continuously influencing the design and evolution of Boost Exception. Also thanks to Tobias Schwinger, Tom Brinkman, Pavel Vozenilek and everyone who participated in the review process. - - - - - 0 - - -29 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -30 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -33 - - - - 1 - 2 - (:include include:) (:auto also:) - - 0 @@ -2016,68 +1929,12 @@ -31 - - 1 - 2 - (:include include:) ---- !!!See Also: (:pagelist link="backlink" except_tags="exception,member" mod="w":) - - - - - 0 - - -32 - - 1 2 (:include include:) (:auto also:) - - - 0 - - 39 - - reno_context - - - - - - - 1 - FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717 - 2229778754 - 631 - 319 - - - - - - 0 - ../../example/cloning_2.cpp - 0 - 0 - - - - - <string>cloning and re-throwing an exception</string> - - - cloning_and_rethrowing - - - - - - 0 - - 0 @@ -2121,71 +1978,6 @@ 0 - - - 0 - - -34 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -35 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -36 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -37 - - - - 1 - 2 - (:include include:) (:auto also:) - - - - - 0 - - -38 - - - - 1 - 2 - (:auto !:) (:pagelist fmt="index" except_tags="index,noindex" mod="w":) - - 0 @@ -2194,6 +1986,49 @@ reno_context + + + + + + 1 + FC684D0DD5A9732B4130F2AB3DB6E0491D0F523E14B7FB738B2019EA2C7F8717 + 2229778754 + 631 + 319 + + + + + + 0 + ../../example/cloning_2.cpp + 0 + 0 + + + + + <string>cloning and re-throwing an exception</string> + + + cloning_and_rethrowing + + + + + + 0 + + + + + 0 + + 42 + + reno_context + @@ -2239,7 +2074,98 @@ 0 - 42 + -33 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -28 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -23 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -14 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -19 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -27 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -22 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 43 reno_context @@ -2278,6 +2204,192 @@ 0 + + + 0 + + -16 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -32 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -18 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -25 + + + + 1 + 2 + (:include include:) (:pagelist link="backlink":) + + + + + 0 + + -29 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -21 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -26 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -30 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + 44 + + reno_context + + + + + + + 1 + 4ED9709788BBAB4DE7CF336561606B8C0B41F70877A3395F4EE026F4AEB66CC6 + 743998427 + 409 + 307 + + + + + + 0 + ../../example/cloning_1.cpp + 0 + 0 + + + + + <string>using enable_current_exception at the time of the throw</string> + + + using_enable_cloning + + + + + + 0 + + + + + 0 + + -34 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -36 + + + + 1 + 2 + (:include include:) (:auto also:) + + + + + 0 + + -37 + + + + 1 + 2 + (:auto !:) (:pagelist fmt="index" except_tags="index,noindex" mod="w":) + + @@ -2285,13 +2397,13 @@ def - 43 + 45 reno_layer - 38 + 40 0 @@ -2355,7 +2467,36 @@ - 0 + 7 + 2 + [@class (:link + 1 + + 0 + + -10 + + + 2 + :) { protected: (:include + 1 + + 0 + + -39 + + + 2 + decl pre_indent="4":) (:include + 1 + + 0 + + -42 + + + 2 + decl pre_indent="4":) };@] @@ -2380,127 +2521,6 @@ 0 - - - 0 - - -13 - - - - 0 - - - - - 0 - - -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 - - - - 0 - - - - - 0 - - -23 - - - - 0 - - 0 @@ -2512,178 +2532,6 @@ 0 - - - 0 - - -25 - - - - 0 - - - - - 0 - - -26 - - - - 0 - - - - - 0 - - -27 - - - - 0 - - - - - 0 - - -28 - - - - 0 - - - - - 0 - - -29 - - - - 0 - - - - - 0 - - -30 - - - - 0 - - - - - 0 - - -33 - - - - 0 - - - - - 0 - - -31 - - - - 7 - 2 - [@class (:link - 1 - - 0 - - -31 - - - 2 - :) { protected: (:include - 1 - - 0 - - -25 - - - 2 - decl pre_indent="4":) (:include - 1 - - 0 - - -41 - - - 2 - decl pre_indent="4":) };@] - - - - - 0 - - -32 - - - - 3 - 2 - [@template <class Tag,class T> class (:link - 1 - - 0 - - -32 - - - 2 - :) { public: typedef T value_type; error_info( value_type const & ); };@] - - - - - 0 - - -39 - - - - 0 - - - - - 0 - - -40 - - - - 0 - - - - - 0 - - -34 - - - - 0 - - 0 @@ -2699,18 +2547,29 @@ 0 - -36 + -17 - 0 + 3 + 2 + [@template <class Tag,class T> class (:link + 1 + + 0 + + -17 + + + 2 + :) { public: typedef T value_type; error_info( value_type const & ); };@] 0 - -37 + -15 @@ -2728,6 +2587,61 @@ 0 + + + 0 + + -20 + + + + 0 + + + + + 0 + + -13 + + + + 0 + + + + + 0 + + -39 + + + + 0 + + + + + 0 + + -31 + + + + 0 + + + + + 0 + + -40 + + + + 0 + + 0 @@ -2750,6 +2664,226 @@ 0 + + + 0 + + -33 + + + + 0 + + + + + 0 + + -28 + + + + 0 + + + + + 0 + + -23 + + + + 0 + + + + + 0 + + -14 + + + + 0 + + + + + 0 + + -19 + + + + 0 + + + + + 0 + + -27 + + + + 0 + + + + + 0 + + -22 + + + + 0 + + + + + 0 + + -43 + + + + 0 + + + + + 0 + + -16 + + + + 0 + + + + + 0 + + -32 + + + + 0 + + + + + 0 + + -18 + + + + 0 + + + + + 0 + + -25 + + + + 0 + + + + + 0 + + -29 + + + + 0 + + + + + 0 + + -21 + + + + 0 + + + + + 0 + + -26 + + + + 0 + + + + + 0 + + -30 + + + + 0 + + + + + 0 + + -44 + + + + 0 + + + + + 0 + + -34 + + + + 0 + + + + + 0 + + -36 + + + + 0 + + + + + 0 + + -37 + + + + 0 + + @@ -2757,13 +2891,13 @@ api - 44 + 46 reno_layer - 38 + 40 0 @@ -2783,7 +2917,18 @@ - 0 + 3 + 2 + [@(:include + 1 + + 0 + + -21 + + + 2 + decl:)@] @@ -2838,18 +2983,7 @@ - 3 - 2 - [@(:include - 1 - - 0 - - -32 - - - 2 - decl:)@] + 0 @@ -2860,18 +2994,58 @@ - 15 + 0 + + + + + 0 + + -24 + + + + 0 + + + + + 0 + + -35 + + + + 11 2 - [@#include <(:link + [@(:include 1 0 - -33 + -23 2 - :)> #include <(:link + decl:) (:include + 1 + + 0 + + -20 + + + 2 + decl:) (:include + 1 + + 0 + + -9 + + + 2 + decl:) (:include 1 0 @@ -2880,12 +3054,322 @@ 2 + decl:) (:include + 1 + + 0 + + -22 + + + 2 + decl:)@] + + + + + 0 + + -17 + + + + 0 + + + + + 0 + + -15 + + + + 0 + + + + + 0 + + -38 + + + + 0 + + + + + 0 + + -20 + + + + 0 + + + + + 0 + + -13 + + + + 0 + + + + + 0 + + -39 + + + + 0 + + + + + 0 + + -31 + + + + 11 + 2 + [@(:include + 1 + + 0 + + -10 + + + 2 + def:) (:include + 1 + + 0 + + -17 + + + 2 + decl:) typedef (:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_throw_function,char const *> throw_function; typedef (:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_throw_file,char const *> throw_file; typedef (:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_throw_line,int> throw_line;@] + + + + + 0 + + -40 + + + + 0 + + + + + 0 + + -41 + + + + 0 + + + + + 0 + + -42 + + + + 0 + + + + + 0 + + -33 + + + + 5 + 2 + [@(:include + 1 + + 0 + + -17 + + + 2 + def:) (:include + 1 + + 0 + + -8 + + + 2 + decl:)@] + + + + + 0 + + -28 + + + + 5 + 2 + [@(:include + 1 + + 0 + + -10 + + + 2 + decl:) (:include + 1 + + 0 + + -24 + + + 2 + decl:)@] + + + + + 0 + + -23 + + + + 0 + + + + + 0 + + -14 + + + + 0 + + + + + 0 + + -19 + + + + 0 + + + + + 0 + + -27 + + + + 15 + 2 + [@#include <(:link + 1 + + 0 + + -28 + + + 2 :)> #include <(:link 1 0 - -18 + -30 + + + 2 + :)> #include <(:link + 1 + + 0 + + -31 + + + 2 + :)> #include <(:link + 1 + + 0 + + -32 + + + 2 + :)> #include <(:link + 1 + + 0 + + -33 2 @@ -2907,24 +3391,6 @@ 2 - :)> #include <(:link - 1 - - 0 - - -27 - - - 2 - :)> #include <(:link - 1 - - 0 - - -36 - - - 2 :)>@] @@ -2932,7 +3398,7 @@ 0 - -13 + -22 @@ -2943,18 +3409,7 @@ 0 - -14 - - - - 0 - - - - - 0 - - -15 + -43 @@ -2976,83 +3431,18 @@ 0 - -17 + -32 - 0 - - - - - 0 - - -18 - - - - 15 + 3 2 [@(:include 1 0 - -31 - - - 2 - def:) (:include - 1 - - 0 - - -32 - - - 2 - decl:) typedef (:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_throw_function,char const *> throw_function; typedef (:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_throw_file,char const *> throw_file; typedef (:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_throw_line,int> throw_line; (:include - 1 - - 0 - - -24 - - - 2 - decl:) (:include - 1 - - 0 - - -14 + -19 2 @@ -3063,62 +3453,7 @@ 0 - -19 - - - - 0 - - - - - 0 - - -20 - - - - 0 - - - - - 0 - - -21 - - - - 0 - - - - - 0 - - -22 - - - - 0 - - - - - 0 - - -23 - - - - 0 - - - - - 0 - - -24 + -18 @@ -3140,18 +3475,7 @@ 0 - -26 - - - - 0 - - - - - 0 - - -27 + -29 @@ -3173,7 +3497,7 @@ 0 - -28 + -21 @@ -3184,7 +3508,7 @@ 0 - -29 + -26 @@ -3199,34 +3523,14 @@ - 0 - - - - - 0 - - -33 - - - - 5 + 3 2 [@(:include 1 0 - -31 - - - 2 - decl:) (:include - 1 - - 0 - - -9 + -17 2 @@ -3237,40 +3541,7 @@ 0 - -31 - - - - 0 - - - - - 0 - - -32 - - - - 0 - - - - - 0 - - -39 - - - - 0 - - - - - 0 - - -40 + -44 @@ -3292,38 +3563,7 @@ 0 - -26 - - - 2 - decl:)@] - - - - - 0 - - -35 - - - - 5 - 2 - [@(:include - 1 - - 0 - - -32 - - - 2 - def:) (:include - 1 - - 0 - - -10 + -18 2 @@ -3337,64 +3577,6 @@ -36 - - 11 - 2 - [@(:include - 1 - - 0 - - -22 - - - 2 - decl:) (:include - 1 - - 0 - - -19 - - - 2 - decl:) (:include - 1 - - 0 - - -8 - - - 2 - decl:) (:include - 1 - - 0 - - -15 - - - 2 - decl:) (:include - 1 - - 0 - - -16 - - - 2 - decl:)@] - - - - - 0 - - -37 - - 5 2 @@ -3403,7 +3585,7 @@ 0 - -23 + -25 2 @@ -3412,13 +3594,303 @@ 0 - -30 + -5 2 decl:) }@] + + + 0 + + -37 + + + + 0 + + + + + + + + decl + + 47 + + reno_layer + + + + 40 + + + 0 + + -5 + + + + 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@] + + + + + 0 + + -6 + + + + 0 + + + + + 0 + + -7 + + + + 3 + 2 + [@template <class T> ---unspecified--- (:link + 1 + + 0 + + -7 + + + 2 + :)( T const & x );@] + + + + + 0 + + -8 + + + + 5 + 2 + [@template <class E, class Tag, class T> E const & (:link + 1 + + 0 + + -8 + + + 2 + |operator<<:)( E const & x, (:link + 1 + + 0 + + -17 + + + 2 + :)<Tag,T> const & v );@] + + + + + 0 + + -9 + + + + 5 + 2 + [@template <class T> (:link + 1 + + 0 + + -20 + + + 2 + :) (:link + 1 + + 0 + + -9 + + + 2 + :)( T const & e );@] + + + + + 0 + + -10 + + + + 3 + 2 + [@class (:link + 1 + + 0 + + -10 + + + 2 + :);@] + + + + + 0 + + -11 + + + + 5 + 2 + [@(:link + 1 + + 0 + + -20 + + + 2 + :) (:link + 1 + + 0 + + -11 + + + 2 + :)();@] + + + + + 0 + + -12 + + + + 0 + + + + + 0 + + -24 + + + + 5 + 2 + [@std::string (:link + 1 + + 0 + + -24 + + + 2 + :)( boost:: + 1 + + 0 + + -10 + + + 2 + const & x );@] + + + + + 0 + + -35 + + + + 0 + + + + + 0 + + -17 + + + + 3 + 2 + [@template <class Tag,class T> class (:link + 1 + + 0 + + -17 + + + 2 + :);@] + + + + + 0 + + -15 + + + + 0 + + 0 @@ -3430,6 +3902,101 @@ 0 + + + 0 + + -20 + + + + 3 + 2 + [@typedef ---unspecified--- (:link + 1 + + 0 + + -20 + + + 2 + :);@] + + + + + 0 + + -13 + + + + 0 + + + + + 0 + + -39 + + + + 7 + 2 + [@(:link + 1 + + 0 + + -39 + + + 2 + mod="m":)(); (:link + 1 + + 0 + + -39 + + + 2 + mod="m":)( (:link + 1 + + 0 + + -10 + + + 2 + :) const & x );@] + + + + + 0 + + -31 + + + + 0 + + + + + 0 + + -40 + + + + 0 + + 0 @@ -3449,28 +4016,25 @@ - 0 + 3 + 2 + [@(:link + 1 + + 0 + + -42 + + + 2 + mod="m":)();@] - - - - - - decl - - 45 - - reno_layer - - - - 38 0 - -5 + -33 @@ -3481,7 +4045,7 @@ 0 - -6 + -28 @@ -3492,115 +4056,22 @@ 0 - -7 - - - - 7 - 2 - [@template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & (:link - 1 - - 0 - - -7 - - - 2 - |operator<<:)( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link - 1 - - 0 - - -32 - - - 2 - :)<Tag1,T1>, ..., (:link - 1 - - 0 - - -32 - - - 2 - :)<TagN,TN> > const & v );@] - - - - - 0 - - -8 + -23 5 2 - [@template <class T> (:link + [@class (:link 1 0 - -19 + -23 2 - :) (:link - 1 - - 0 - - -8 - - - 2 - :)( T const & e );@] - - - - - 0 - - -9 - - - - 5 - 2 - [@std::string (:link - 1 - - 0 - - -9 - - - 2 - :)( boost:: - 1 - - 0 - - -31 - - - 2 - const & x );@] - - - - - 0 - - -10 - - - - 5 - 2 - [@template <class E, class Tag, class T> E const & (:link + :): public std::exception public boost:: 1 0 @@ -3609,49 +4080,7 @@ 2 - |operator<<:)( E const & x, (:link - 1 - - 0 - - -32 - - - 2 - :)<Tag,T> const & v );@] - - - - - 0 - - -11 - - - - 0 - - - - - 0 - - -12 - - - - 0 - - - - - 0 - - -13 - - - - 0 + { ---unspecified--- };@] @@ -3661,101 +4090,6 @@ -14 - - 3 - 2 - [@template <class T> ---unspecified--- (:link - 1 - - 0 - - -14 - - - 2 - :)( T const & e );@] - - - - - 0 - - -15 - - - - 5 - 2 - [@(:link - 1 - - 0 - - -19 - - - 2 - :) (:link - 1 - - 0 - - -15 - - - 2 - :)();@] - - - - - 0 - - -16 - - - - 5 - 2 - [@void (:link - 1 - - 0 - - -16 - - - 2 - :)( (:link - 1 - - 0 - - -19 - - - 2 - :) const & ep ); - - - - - 0 - - -17 - - - - 0 - - - - - 0 - - -18 - - 0 @@ -3767,237 +4101,6 @@ -19 - - 3 - 2 - [@typedef ---unspecified--- (:link - 1 - - 0 - - -19 - - - 2 - :);@] - - - - - 0 - - -20 - - - - 0 - - - - - 0 - - -21 - - - - 0 - - - - - 0 - - -22 - - - - 5 - 2 - [@class (:link - 1 - - 0 - - -22 - - - 2 - :): public std::exception public boost:: - 1 - - 0 - - -31 - - - 2 - { ---unspecified--- };@] - - - - - 0 - - -23 - - - - 19 - 2 - [@#if !defined( BOOST_NO_EXCEPTIONS ) && !defined( BOOST_EXCEPTION_DISABLE ) #include < - 1 - - 0 - - -18 - - - 2 - > #include <boost/current_function.hpp> #define - 1 - - 0 - - -23 - - - 2 - (x)\ ::boost:: - 1 - - 0 - - -30 - - - 2 - ( ::boost:: - 1 - - 0 - - -24 - - - 2 - (x) <<\ ::boost::(:link - 1 - - 0 - - -18 - - - 2 - |throw_function:)(BOOST_CURRENT_FUNCTION) <<\ ::boost::(:link - 1 - - 0 - - -18 - - - 2 - |throw_file:)(__FILE__) <<\ ::boost::(:link - 1 - - 0 - - -18 - - - 2 - |throw_line:)((int)__LINE__) ) #else #define - 1 - - 0 - - -23 - - - 2 - (x) ::boost:: - 1 - - 0 - - -30 - - - 2 - (x) #endif@] - - - - - 0 - - -24 - - - - 3 - 2 - [@template <class T> ---unspecified--- (:link - 1 - - 0 - - -24 - - - 2 - :)( T const & x );@] - - - - - 0 - - -25 - - - - 7 - 2 - [@(:link - 1 - - 0 - - -25 - - - 2 - mod="m":)(); (:link - 1 - - 0 - - -25 - - - 2 - mod="m":)( (:link - 1 - - 0 - - -31 - - - 2 - :) const & x );@] - - - - - 0 - - -26 - - 3 2 @@ -4006,7 +4109,7 @@ 0 - -26 + -19 2 @@ -4028,13 +4131,200 @@ 0 - -28 + -22 + + + + 5 + 2 + [@void (:link + 1 + + 0 + + -22 + + + 2 + :)( (:link + 1 + + 0 + + -20 + + + 2 + :) const & ep ); + + + + + 0 + + -43 0 + + + 0 + + -16 + + + + 0 + + + + + 0 + + -32 + + + + 0 + + + + + 0 + + -18 + + + + 7 + 2 + [@template <class E, class Tag1, class T1, ..., class TagN, class TN> E const & (:link + 1 + + 0 + + -18 + + + 2 + |operator<<:)( E const & x, (:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:)< (:link + 1 + + 0 + + -17 + + + 2 + :)<Tag1,T1>, ..., (:link + 1 + + 0 + + -17 + + + 2 + :)<TagN,TN> > const & v );@] + + + + + 0 + + -25 + + + + 19 + 2 + [@#if !defined( BOOST_NO_EXCEPTIONS ) && !defined( BOOST_EXCEPTION_DISABLE ) #include < + 1 + + 0 + + -31 + + + 2 + > #include <boost/current_function.hpp> #define + 1 + + 0 + + -25 + + + 2 + (x)\ ::boost:: + 1 + + 0 + + -5 + + + 2 + ( ::boost:: + 1 + + 0 + + -7 + + + 2 + (x) <<\ ::boost::(:link + 1 + + 0 + + -31 + + + 2 + |throw_function:)(BOOST_CURRENT_FUNCTION) <<\ ::boost::(:link + 1 + + 0 + + -31 + + + 2 + |throw_file:)(__FILE__) <<\ ::boost::(:link + 1 + + 0 + + -31 + + + 2 + |throw_line:)((int)__LINE__) ) #else #define + 1 + + 0 + + -25 + + + 2 + (x) ::boost:: + 1 + + 0 + + -5 + + + 2 + (x) #endif@] + + 0 @@ -4046,6 +4336,39 @@ 0 + + + 0 + + -21 + + + + 3 + 2 + [@template <class T> ---unspecified--- (:link + 1 + + 0 + + -21 + + + 2 + :)( T const & e );@] + + + + + 0 + + -26 + + + + 0 + + 0 @@ -4053,37 +4376,6 @@ -30 - - 5 - 2 - [@#ifdef BOOST_NO_EXCEPTIONS void (:link - 1 - - 0 - - -30 - - - 2 - :)( std::exception const & e ); // user defined #else template <class E> void (:link - 1 - - 0 - - -30 - - - 2 - :)( E const & e ); #endif@] - - - - - 0 - - -33 - - 0 @@ -4092,62 +4384,7 @@ 0 - -31 - - - - 3 - 2 - [@class (:link - 1 - - 0 - - -31 - - - 2 - :);@] - - - - - 0 - - -32 - - - - 3 - 2 - [@template <class Tag,class T> class (:link - 1 - - 0 - - -32 - - - 2 - :);@] - - - - - 0 - - -39 - - - - 0 - - - - - 0 - - -40 + -44 @@ -4165,17 +4402,6 @@ 0 - - - 0 - - -35 - - - - 0 - - 0 @@ -4198,50 +4424,6 @@ 0 - - - 0 - - -38 - - - - 0 - - - - - 0 - - -41 - - - - 3 - 2 - [@(:link - 1 - - 0 - - -41 - - - 2 - mod="m":)();@] - - - - - 0 - - -42 - - - - 0 - - @@ -4249,13 +4431,13 @@ include - 46 + 48 reno_layer - 38 + 40 0 @@ -4264,72 +4446,63 @@ - 15 + 13 2 - (:auto !!!:) Boost Exception responds to the following configuration macros: '''BOOST_NO_RTTI/BOOST_NO_TYPEID''' The first macro prevents Boost Exception from using dynamic_cast and dynamic typeid. If the second macro is also defined, Boost Exception does not use static typeid either. Defining either macro does not have an observable degrading effect on the library functionality, except for the following: ->By default, the + (:auto !!!:) (:include synopsis:) !!!!Requirements: E must derive publicly from std::exception. !!!!Effects: * If BOOST_NO_EXCEPTIONS is not defined, boost::(:link 1 0 - -26 + -5 2 - function template can be called with any exception type. If BOOST_NO_RTTI is defined, + :)(e) is equivalent to throw boost::(:link 1 0 - -26 + -21 2 - can be used only with objects of type boost:: + :)(boost::(:link 1 0 - -31 + -7 2 - . ''Note: the configuration where BOOST_NO_RTTI is defined but BOOST_NO_TYPEID is not defined is specific for MSVC compilers; it reduces RTTI overhead without fully disabling std::type_info. For most (all?) other compilers, to use Boost Exception without RTTI, both BOOST_NO_RTTI and BOOST_NO_TYPEID must be defined.'' '''BOOST_EXCEPTION_DISABLE''' By default, + :)(e)), unless BOOST_EXCEPTION_DISABLE is defined, in which case boost::(:link 1 0 - -14 + -5 2 - and + :)(e) is equivalent to throw e; * If BOOST_NO_EXCEPTIONS is defined, the function is left undefined, and the user is expected to supply an appropriate definition. Callers of (:link 1 0 - -24 + -5 2 - are integrated directly in the + :) are allowed to assume that the function never returns; therefore, if the user-defined (:link 1 0 - -30 + -5 2 - function. Defining BOOST_EXCEPTION_DISABLE disables this integration. Note that on some non-conformant compilers, for example MSVC 7.0 and older, as well as BCC, BOOST_EXCEPTION_DISABLE is implicitly defined in - 1 - - 0 - - -37 - - - 2 - . + :) returns, the behavior is undefined. @@ -4340,99 +4513,9 @@ - 21 + 1 2 - (:auto !!!:) Sometimes the throw site does not have all the information that is needed at the catch site to make sense of what went wrong. Here is an example: [@#include <stdio.h> #include <string> class file_read_error { public: explicit file_read_error( std::string const & fn ): fn_(fn) { }; std::string const & file_name() const { return fn_; } private: std::string fn_; }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error("????"); }@] We have defined an exception class file_read_error which can store a file name, so that when we catch a file_read_error object, we know which file the failure is related to. However, the file_read function does not have the file name at the time of the throw; all it has is a FILE handle. One possible solution is to not use FILE handles directly. We could have our own class file which stores both a FILE handle and a file name, and pass that to file_read. However, this could be problematic if we communicate with 3rd party code that does not use our class file (probably because they have their own similar class.) A better solution is to make class file_read_error derive (possibly indirectly) from boost::(:link - 1 - - 0 - - -31 - - - 2 - :), and free the file_read function from the burden of storing the file name in exceptions it throws: [@#include <(:link - 1 - - 0 - - -12 - - - 2 - :)> #include <stdio.h> #include <errno.h> typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link - 1 - - 0 - - -31 - - - 2 - :) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error() << errno_info(errno); }@] If file_read detects a failure, it throws an exception which contains the information that is available at the time, namely the errno. Other relevant information, such as the file name, can be added in a context higher up the call stack, where it is known naturally: [@#include <(:link - 1 - - 0 - - -12 - - - 2 - :)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_file_name,std::string> file_name_info; boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode ); void file_read( FILE * f, void * buffer, size_t size ); void parse_file( char const * file_name ) { boost::shared_ptr<FILE> f = file_open(file_name,"rb"); assert(f); try { char buf[1024]; file_read( f.get(), buf, sizeof(buf) ); } catch( boost::(:link - 1 - - 0 - - -31 - - - 2 - :) & e ) { e << file_name_info(file_name); throw; } }@] The above function is (almost) exception-neutral -- if an exception is emitted by any function call within the try block, parse_file does not need to do any real work, but it intercepts any boost::(:link - 1 - - 0 - - -31 - - - 2 - :) object, stores the file name, and re-throws using a throw-expression with no operand (15.1.6). The rationale for catching any boost::(:link - 1 - - 0 - - -31 - - - 2 - :) object is that the file name is relevant to any failure that occurs in parse_file, ''even if the failure is unrelated to file I/O''. As usual, the stored data can be retrieved using (:link - 1 - - 0 - - -26 - - - 2 - :). + (:auto !!!:) !!!Synopsis (:include synopsis:) @@ -4442,929 +4525,6 @@ -7 - - 5 - 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link - 1 - - 0 - - -31 - - - 2 - :), or a type that derives (indirectly) from boost::(:link - 1 - - 0 - - -31 - - - 2 - :). !!!!Effects: Equivalent to x << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<0>() << ... << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<N>(). !!!!Returns: x. (:include throws:) - - - - - 0 - - -8 - - - - 5 - 2 - (:auto !!!:) (:include synopsis:) !!!!Effects: As if [@try { throw - 1 - - 0 - - -14 - - - 2 - (e); } catch(...) { return (:link - 1 - - 0 - - -15 - - - 2 - :)(); }@] - - - - - 0 - - -9 - - - - 7 - 2 - (:auto !!!:) (:include synopsis:) !!!!Returns: This function iterates over all data objects stored in the boost::(:link - 1 - - 0 - - -31 - - - 2 - :) through (:link - 1 - - 0 - - -10 - - - 2 - |operator<<:). The returned string is constructed by converting each data object to string and then concatenating these strings together. When the (:link - 1 - - 0 - - -32 - - - 2 - :)<Tag,T> template is instantiated, the system attempts overload resolution for an unqualified call to to_string(x), where x is of type T. If this is successful, the to_string overload is expected to return std::string and is used to convert objects of type T to string. Otherwise, the system attempts overload resolution for s << x, where s is a std::ostringstream and x is of type T. If this is successful, the operator<< overload is used to convert objects of type T to string. Otherwise the system is unable to convert objects of type T to string, and an unspecified stub string value is used without issuing a compile error. !!!!Notes: *The format of the returned string is unspecified. *The returned string is ''not'' user-friendly. *If dynamic_cast<std::exception const *>(&x) is not null, the returned string includes the output from std::exception::what. *The returned string may include additional platform-specific diagnostic information. - - - - - 0 - - -10 - - - - 7 - 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link - 1 - - 0 - - -31 - - - 2 - :), or a type that derives (indirectly) from boost::(:link - 1 - - 0 - - -31 - - - 2 - :). !!!!Effects: Stores a copy of v into x. If x already contains data of type (:link - 1 - - 0 - - -32 - - - 2 - :)<Tag,T>, that data is overwritten. !!!!Returns: x. (:include throws:) - - - - - 0 - - -11 - - - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -12 - - - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -13 - - - - 17 - 2 - (:auto !!:) Boost Exception provides a namespace-scope function (:link - 1 - - 0 - - -9 - - - 2 - :) which takes a boost::(:link - 1 - - 0 - - -31 - - - 2 - :). The returned string contains: *the string representation of all data objects added to the boost::(:link - 1 - - 0 - - -31 - - - 2 - :) through (:link - 1 - - 0 - - -10 - - - 2 - |operator<<:); *the output from std::exception::what; *additional platform-specific diagnostic information. The returned string is not presentable as a friendly user message, but because it is generated automatically, it is useful for debugging or logging purposes. Here is an example: [@#include <(:link - 1 - - 0 - - -12 - - - 2 - :)> #include <iostream> void f(); //throws unknown types that derive from boost::(:link - 1 - - 0 - - -31 - - - 2 - :). void g() { try { f(); } catch( boost::(:link - 1 - - 0 - - -31 - - - 2 - :) & e ) { std::cerr << (:link - 1 - - 0 - - -9 - - - 2 - :)(e); } }@] - - - - - 0 - - -14 - - - - 21 - 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: T must be a class with 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 (:link - 1 - - 0 - - -19 - - - 2 - :) support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link - 1 - - 0 - - -14 - - - 2 - :)(my_exception());@] Unless (:link - 1 - - 0 - - -14 - - - 2 - :) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link - 1 - - 0 - - -15 - - - 2 - :) may return an (:link - 1 - - 0 - - -19 - - - 2 - :) which refers to an instance of (:link - 1 - - 0 - - -22 - - - 2 - :). See (:link - 1 - - 0 - - -15 - - - 2 - :) for details. !!!!Note: Instead of using the throw keyword directly, it is preferable to call boost::(:link - 1 - - 0 - - -30 - - - 2 - :). This is guaranteed to throw an exception that derives from boost::(:link - 1 - - 0 - - -31 - - - 2 - :) and supports the (:link - 1 - - 0 - - -19 - - - 2 - :) functionality. - - - - - 0 - - -15 - - - - 29 - 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: The (:link - 1 - - 0 - - -15 - - - 2 - :) function must not be called outside of a catch block. !!!!Returns: * An (:link - 1 - - 0 - - -19 - - - 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 - - -19 - - - 2 - :) that refers to an instance of std::bad_alloc. !!!!Throws: Nothing. !!!!Notes: * It is unspecified whether the return values of two successive calls to (:link - 1 - - 0 - - -15 - - - 2 - :) refer to the same exception object. * Correct implementation of (:link - 1 - - 0 - - -15 - - - 2 - :) may require compiler support, unless (:link - 1 - - 0 - - -14 - - - 2 - :) was used at the time the currently handled exception object was passed to throw. If (:link - 1 - - 0 - - -14 - - - 2 - :) was not used, and if the compiler does not provide the necessary support, then (:link - 1 - - 0 - - -15 - - - 2 - :) may return an (:link - 1 - - 0 - - -19 - - - 2 - :) that refers to an instance of (:link - 1 - - 0 - - -22 - - - 2 - :). In this case, if the original exception object derives from boost::(:link - 1 - - 0 - - -31 - - - 2 - :), then the boost::(:link - 1 - - 0 - - -31 - - - 2 - :) sub-object of the (:link - 1 - - 0 - - -22 - - - 2 - :) object is initialized by the boost::(:link - 1 - - 0 - - -31 - - - 2 - :) copy constructor. - - - - - 0 - - -16 - - - - 1 - 2 - (:auto !!!:) (:include synopsis:) !!!!Precondition: ep shall not be null. !!!!Throws: The exception to which ep refers. - - - - - 0 - - -17 - - - - 11 - 2 - (:auto !!!:) Here is how cloning can be enabled in a throw-expression (15.1): [@#include <(:link - 1 - - 0 - - -35 - - - 2 - :)> #include <stdio.h> #include <errno.h> typedef boost::error_info<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link - 1 - - 0 - - -31 - - - 2 - :) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw boost::(:link - 1 - - 0 - - -14 - - - 2 - :)(file_read_error()) << errno_info(errno); }@] Of course, (:link - 1 - - 0 - - -14 - - - 2 - :) may be used with any exception type; there is no requirement that it should derive from boost::(:link - 1 - - 0 - - -31 - - - 2 - :). - - - - - 0 - - -18 - - - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -19 - - - - 17 - 2 - (:auto !!!:) (:include synopsis:) The (:link - 1 - - 0 - - -19 - - - 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 - - -19 - - - 2 - :)'s operations do not throw. Two instances of (:link - 1 - - 0 - - -19 - - - 2 - :) are equivalent and compare equal if and only if they refer to the same exception. The default constructor of (:link - 1 - - 0 - - -19 - - - 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 - - -19 - - - 2 - :) references to the same exception object. * It is illegal for multiple threads to modify the same (:link - 1 - - 0 - - -19 - - - 2 - :) object concurrently. * While calling (:link - 1 - - 0 - - -15 - - - 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 - - -16 - - - 2 - :) concurrently to throw the same exception object into multiple threads. - - - - - 0 - - -20 - - - - 27 - 2 - (:auto !!:) Some exception hierarchies can not be modified to make boost::(:link - 1 - - 0 - - -31 - - - 2 - :) a base type. In this case, the (:link - 1 - - 0 - - -24 - - - 2 - :) function template can be used to make exception objects derive from boost::(:link - 1 - - 0 - - -31 - - - 2 - :) anyway. Here is an example: [@#include <(:link - 1 - - 0 - - -12 - - - 2 - :)> #include <stdexcept> typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_std_range_min,size_t> std_range_min; typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_std_range_max,size_t> std_range_max; typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_std_range_index,size_t> std_range_index; template <class T> class my_container { public: size_t size() const; T const & operator[]( size_t i ) const { if( i > size() ) throw boost::(:link - 1 - - 0 - - -24 - - - 2 - :)(std::range_error("Index out of range")) << std_range_min(0) << std_range_max(size()) << std_range_index(i); //.... } }; @] The call to (:link - 1 - - 0 - - -24 - - - 2 - :)<T> gets us an object of ''unspecified type'' which is guaranteed to derive from both boost::(:link - 1 - - 0 - - -31 - - - 2 - :) and T. This makes it possible to use (:link - 1 - - 0 - - -10 - - - 2 - |operator<<:) to store additional information in the exception object. The exception can be intercepted as T &, so existing exception handling will not break. It can also be intercepted as boost::(:link - 1 - - 0 - - -31 - - - 2 - :) &, so that (:link - 1 - - 0 - - -21 - - - 2 - |more information can be added to the exception at a later time:). - - - - - 0 - - -21 - - - - 11 - 2 - (:auto !!:) All exception types that derive from boost::(:link - 1 - - 0 - - -31 - - - 2 - :) can be used as type-safe containers of arbitrary data objects, while complying with the no-throw requirements (15.5.1) of the ANSI C++ standard for exception types. Data can be added to a boost::(:link - 1 - - 0 - - -31 - - - 2 - :) at the time of the throw, or at a later time. (:include - 1 - - 0 - - -40 - - - 2 - :) (:include - 1 - - 0 - - -6 - - - 2 - :) (:include - 1 - - 0 - - -42 - - - 2 - :) - - - - - 0 - - -22 - - - - 5 - 2 - (:auto !!!:) (:include synopsis:) This type is used by the (:link - 1 - - 0 - - -19 - - - 2 - :) support in Boost Exception. Please see (:link - 1 - - 0 - - -15 - - - 2 - :). - - - - - 0 - - -23 - - - - 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 - - -30 - - - 2 - . To recover this information at the catch site, use - 1 - - 0 - - -26 - - - 2 - ; the information is also included in the message returned by - 1 - - 0 - - -9 - - - 2 - . - - - - - 0 - - -24 - - 5 2 @@ -5373,7 +4533,7 @@ 0 - -31 + -10 2 @@ -5382,7 +4542,7 @@ 0 - -31 + -10 2 @@ -5393,31 +4553,13 @@ 0 - -25 + -8 7 2 - (:auto !!!:) (:include decl:) !!!!Effects: * Default constructor: initializes an empty boost::(:link - 1 - - 0 - - -31 - - - 2 - :) object. * Copy constructor: initializes a boost::(:link - 1 - - 0 - - -31 - - - 2 - :) object which shares ownership with x of all data added through (:link + (:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link 1 0 @@ -5426,47 +4568,7 @@ 2 - |operator<<:), including data that is added at a future time. !!!!Throws: Nothing. - - - - - 0 - - -26 - - - - 13 - 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: * ErrorInfo must be an instance of the (:link - 1 - - 0 - - -32 - - - 2 - :) template. * E must be polymorphic. * The (:link - 1 - - 0 - - -26 - - - 2 - :) function must not be called outside of a catch block. !!!!Returns: * If dynamic_cast<boost::(:link - 1 - - 0 - - -31 - - - 2 - :) const *>(&x) is 0, or if x does not store an object of type ErrorInfo, the returned value is an empty shared_ptr. * Otherwise, the returned shared_ptr points to the stored value (use (:link + :), or a type that derives (indirectly) from boost::(:link 1 0 @@ -5475,89 +4577,7 @@ 2 - |operator<<:) to store values in exception objects.) The shared_ptr is valid even after x has been destroyed. !!!!Throws: Nothing. !!!!Note: The interface of - 1 - - 0 - - -26 - - - 2 - may be affected by the build - 1 - - 0 - - -5 - - - 2 - . - - - - - 0 - - -27 - - - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -28 - - - - 0 - - - - - 0 - - -29 - - - - 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 - - -14 - - - 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 - - -30 - - - 2 - :) are guaranteed to derive from boost::(:link - 1 - - 0 - - -31 - - - 2 - :) and to support cloning. (:include + :). !!!!Effects: Stores a copy of v into x. If x already contains data of type (:link 1 0 @@ -5566,103 +4586,45 @@ 2 - :) (:include - 1 - - 0 - - -39 - - - 2 - :) + :)<Tag,T>, that data is overwritten. !!!!Returns: x. (:include throws:) 0 - -30 + -9 - 13 + 5 2 - (:auto !!!:) (:include synopsis:) !!!!Requirements: E must derive publicly from std::exception. !!!!Effects: * If BOOST_NO_EXCEPTIONS is not defined, boost::(:link + (:auto !!!:) (:include synopsis:) !!!!Effects: As if [@try { throw 1 0 - -30 + -21 2 - :)(e) is equivalent to throw boost::(:link + (e); } catch(...) { return (:link 1 0 - -14 + -11 2 - :)(boost::(:link - 1 - - 0 - - -24 - - - 2 - :)(e)), unless BOOST_EXCEPTION_DISABLE is defined, in which case boost::(:link - 1 - - 0 - - -30 - - - 2 - :)(e) is equivalent to throw e; * If BOOST_NO_EXCEPTIONS is defined, the function is left undefined, and the user is expected to supply an appropriate definition. Callers of (:link - 1 - - 0 - - -30 - - - 2 - :) are allowed to assume that the function never returns; therefore, if the user-defined (:link - 1 - - 0 - - -30 - - - 2 - :) returns, the behavior is undefined. + :)(); }@] 0 - -33 - - - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -31 + -10 @@ -5673,7 +4635,7 @@ 0 - -31 + -10 2 @@ -5682,7 +4644,7 @@ 0 - -31 + -10 2 @@ -5691,7 +4653,7 @@ 0 - -32 + -17 2 @@ -5700,7 +4662,7 @@ 0 - -10 + -8 2 @@ -5709,7 +4671,7 @@ 0 - -31 + -10 2 @@ -5718,7 +4680,7 @@ 0 - -26 + -19 2 @@ -5729,7 +4691,210 @@ 0 - -32 + -11 + + + + 29 + 2 + (:auto !!!:) (:include synopsis:) !!!!Requirements: The (:link + 1 + + 0 + + -11 + + + 2 + :) function must not be called outside of a catch block. !!!!Returns: * An (:link + 1 + + 0 + + -20 + + + 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 + + -20 + + + 2 + :) that refers to an instance of std::bad_alloc. !!!!Throws: Nothing. !!!!Notes: * It is unspecified whether the return values of two successive calls to (:link + 1 + + 0 + + -11 + + + 2 + :) refer to the same exception object. * Correct implementation of (:link + 1 + + 0 + + -11 + + + 2 + :) may require compiler support, unless (:link + 1 + + 0 + + -21 + + + 2 + :) was used at the time the currently handled exception object was passed to throw. If (:link + 1 + + 0 + + -21 + + + 2 + :) was not used, and if the compiler does not provide the necessary support, then (:link + 1 + + 0 + + -11 + + + 2 + :) may return an (:link + 1 + + 0 + + -20 + + + 2 + :) that refers to an instance of (:link + 1 + + 0 + + -23 + + + 2 + :). In this case, if the original exception object derives from boost::(:link + 1 + + 0 + + -10 + + + 2 + :), then the boost::(:link + 1 + + 0 + + -10 + + + 2 + :) sub-object of the (:link + 1 + + 0 + + -23 + + + 2 + :) object is initialized by the boost::(:link + 1 + + 0 + + -10 + + + 2 + :) copy constructor. + + + + + 0 + + -12 + + + + 0 + + + + + 0 + + -24 + + + + 7 + 2 + (:auto !!!:) (:include synopsis:) !!!!Returns: This function iterates over all data objects stored in the boost::(:link + 1 + + 0 + + -10 + + + 2 + :) through (:link + 1 + + 0 + + -8 + + + 2 + |operator<<:). The returned string is constructed by converting each data object to string and then concatenating these strings together. When the (:link + 1 + + 0 + + -17 + + + 2 + :)<Tag,T> template is instantiated, the system attempts overload resolution for an unqualified call to to_string(x), where x is of type T. If this is successful, the to_string overload is expected to return std::string and is used to convert objects of type T to string. Otherwise, the system attempts overload resolution for s << x, where s is a std::ostringstream and x is of type T. If this is successful, the operator<< overload is used to convert objects of type T to string. Otherwise the system is unable to convert objects of type T to string, and an unspecified stub string value is used without issuing a compile error. !!!!Notes: *The format of the returned string is unspecified. *The returned string is ''not'' user-friendly. *If dynamic_cast<std::exception const *>(&x) is not null, the returned string includes the output from std::exception::what. *The returned string may include additional platform-specific diagnostic information. + + + + + 0 + + -35 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -17 @@ -5740,7 +4905,7 @@ 0 - -32 + -17 2 @@ -5749,7 +4914,7 @@ 0 - -10 + -8 2 @@ -5758,7 +4923,7 @@ 0 - -31 + -10 2 @@ -5767,7 +4932,7 @@ 0 - -11 + -30 2 @@ -5776,7 +4941,7 @@ 0 - -32 + -17 2 @@ -5785,7 +4950,7 @@ 0 - -11 + -30 2 @@ -5794,7 +4959,7 @@ 0 - -32 + -17 2 @@ -5803,7 +4968,7 @@ 0 - -32 + -17 2 @@ -5812,7 +4977,7 @@ 0 - -31 + -10 2 @@ -5821,7 +4986,7 @@ 0 - -10 + -8 2 @@ -5830,7 +4995,7 @@ 0 - -26 + -19 2 @@ -5839,7 +5004,7 @@ 0 - -35 + -33 2 @@ -5850,130 +5015,121 @@ 0 - -39 + -15 - 37 + 27 2 - (:auto !!!:) When you catch an exception, you can call (:link + (:auto !!:) Some exception hierarchies can not be modified to make boost::(:link 1 0 - -15 + -10 2 - :) to get an (:link + :) a base type. In this case, the (:link 1 0 - -19 + -7 2 - :) object: [@#include <(:link + :) function template can be used to make exception objects derive from boost::(:link 1 0 - -36 + -10 2 - :)> #include <boost/thread.hpp> #include <boost/bind.hpp> void do_work(); //throws cloning-enabled boost::(:link + :) anyway. Here is an example: [@#include <(:link 1 0 - -31 + -27 2 - :)s void worker_thread( boost::(:link + :)> #include <stdexcept> typedef boost::(:link 1 0 - -19 + -17 2 - :) & error ) { try { do_work(); error = boost::(:link + :)<struct tag_std_range_min,size_t> std_range_min; typedef boost::(:link 1 0 - -19 + -17 2 - :)(); } catch( ... ) { error = boost::(:link + :)<struct tag_std_range_max,size_t> std_range_max; typedef boost::(:link 1 0 - -15 + -17 2 - :)(); } }@] In the above example, note that (:link + :)<struct tag_std_range_index,size_t> std_range_index; template <class T> class my_container { public: size_t size() const; T const & operator[]( size_t i ) const { if( i > size() ) throw boost::(:link 1 0 - -15 + -7 2 - :) captures the original type of the exception object. The exception can be thrown again using the (:link + :)(std::range_error("Index out of range")) << std_range_min(0) << std_range_max(size()) << std_range_index(i); //.... } }; @] The call to (:link 1 0 - -16 + -7 2 - :) function: [@// ...continued void work() { boost::(:link + :)<T> gets us an object of ''unspecified type'' which is guaranteed to derive from both boost::(:link 1 0 - -19 + -10 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 + :) and T. This makes it possible to use (:link 1 0 - -16 + -8 2 - :)(error); }@] Note that (:link + |operator<<:) to store additional information in the exception object. The exception can be intercepted as T &, so existing exception handling will not break. It can also be intercepted as boost::(:link 1 0 - -15 + -10 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 - - -19 - - - 2 - :) points to an instance of std::bad_alloc, or * if (:link + :) &, so that (:link 1 0 @@ -5982,7 +5138,101 @@ 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 + |more information can be added to the exception at a later time:). + + + + + 0 + + -38 + + + + 21 + 2 + (:auto !!!:) Sometimes the throw site does not have all the information that is needed at the catch site to make sense of what went wrong. Here is an example: [@#include <stdio.h> #include <string> class file_read_error { public: explicit file_read_error( std::string const & fn ): fn_(fn) { }; std::string const & file_name() const { return fn_; } private: std::string fn_; }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error("????"); }@] We have defined an exception class file_read_error which can store a file name, so that when we catch a file_read_error object, we know which file the failure is related to. However, the file_read function does not have the file name at the time of the throw; all it has is a FILE handle. One possible solution is to not use FILE handles directly. We could have our own class file which stores both a FILE handle and a file name, and pass that to file_read. However, this could be problematic if we communicate with 3rd party code that does not use our class file (probably because they have their own similar class.) A better solution is to make class file_read_error derive (possibly indirectly) from boost::(:link + 1 + + 0 + + -10 + + + 2 + :), and free the file_read function from the burden of storing the file name in exceptions it throws: [@#include <(:link + 1 + + 0 + + -27 + + + 2 + :)> #include <stdio.h> #include <errno.h> typedef boost::(:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link + 1 + + 0 + + -10 + + + 2 + :) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw file_read_error() << errno_info(errno); }@] If file_read detects a failure, it throws an exception which contains the information that is available at the time, namely the errno. Other relevant information, such as the file name, can be added in a context higher up the call stack, where it is known naturally: [@#include <(:link + 1 + + 0 + + -27 + + + 2 + :)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> typedef boost::(:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_file_name,std::string> file_name_info; boost::shared_ptr<FILE> file_open( char const * file_name, char const * mode ); void file_read( FILE * f, void * buffer, size_t size ); void parse_file( char const * file_name ) { boost::shared_ptr<FILE> f = file_open(file_name,"rb"); assert(f); try { char buf[1024]; file_read( f.get(), buf, sizeof(buf) ); } catch( boost::(:link + 1 + + 0 + + -10 + + + 2 + :) & e ) { e << file_name_info(file_name); throw; } }@] The above function is (almost) exception-neutral -- if an exception is emitted by any function call within the try block, parse_file does not need to do any real work, but it intercepts any boost::(:link + 1 + + 0 + + -10 + + + 2 + :) object, stores the file name, and re-throws using a throw-expression with no operand (15.1.6). The rationale for catching any boost::(:link + 1 + + 0 + + -10 + + + 2 + :) object is that the file name is relevant to any failure that occurs in parse_file, ''even if the failure is unrelated to file I/O''. As usual, the stored data can be retrieved using (:link 1 0 @@ -5991,7 +5241,83 @@ 2 - :) points to an instance of (:link + :). + + + + + 0 + + -20 + + + + 17 + 2 + (:auto !!!:) (:include synopsis:) The (:link + 1 + + 0 + + -20 + + + 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 + + -20 + + + 2 + :)'s operations do not throw. Two instances of (:link + 1 + + 0 + + -20 + + + 2 + :) are equivalent and compare equal if and only if they refer to the same exception. The default constructor of (:link + 1 + + 0 + + -20 + + + 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 + + -20 + + + 2 + :) references to the same exception object. * It is illegal for multiple threads to modify the same (:link + 1 + + 0 + + -20 + + + 2 + :) object concurrently. * While calling (:link + 1 + + 0 + + -11 + + + 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 @@ -6000,25 +5326,118 @@ 2 - :). Regardless, the use of (:link + :) concurrently to throw the same exception object into multiple threads. + + + + + 0 + + -13 + + + + 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 - -15 + -21 2 - :) and (:link + :) 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 - -16 + -5 2 - :) in the above examples is well-formed. + :) are guaranteed to derive from boost::(:link + 1 + + 0 + + -10 + + + 2 + :) and to support cloning. (:include + 1 + + 0 + + -44 + + + 2 + :) (:include + 1 + + 0 + + -41 + + + 2 + :) + + + + + 0 + + -39 + + + + 7 + 2 + (:auto !!!:) (:include decl:) !!!!Effects: * Default constructor: initializes an empty boost::(:link + 1 + + 0 + + -10 + + + 2 + :) object. * Copy constructor: initializes a boost::(:link + 1 + + 0 + + -10 + + + 2 + :) object which shares ownership with x of all data added through (:link + 1 + + 0 + + -8 + + + 2 + |operator<<:), including data that is added at a future time. !!!!Throws: Nothing. + + + + + 0 + + -31 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) @@ -6036,7 +5455,7 @@ 0 - -12 + -27 2 @@ -6045,7 +5464,7 @@ 0 - -32 + -17 2 @@ -6054,7 +5473,7 @@ 0 - -31 + -10 2 @@ -6063,7 +5482,7 @@ 0 - -32 + -17 2 @@ -6072,7 +5491,7 @@ 0 - -31 + -10 2 @@ -6081,7 +5500,7 @@ 0 - -10 + -8 2 @@ -6090,7 +5509,7 @@ 0 - -26 + -19 2 @@ -6099,7 +5518,7 @@ 0 - -26 + -19 2 @@ -6110,7 +5529,204 @@ 0 - -34 + -41 + + + + 37 + 2 + (:auto !!!:) When you catch an exception, you can call (:link + 1 + + 0 + + -11 + + + 2 + :) to get an (:link + 1 + + 0 + + -20 + + + 2 + :) object: [@#include <(:link + 1 + + 0 + + -35 + + + 2 + :)> #include <boost/thread.hpp> #include <boost/bind.hpp> void do_work(); //throws cloning-enabled boost::(:link + 1 + + 0 + + -10 + + + 2 + :)s void worker_thread( boost::(:link + 1 + + 0 + + -20 + + + 2 + :) & error ) { try { do_work(); error = boost::(:link + 1 + + 0 + + -20 + + + 2 + :)(); } catch( ... ) { error = boost::(:link + 1 + + 0 + + -11 + + + 2 + :)(); } }@] In the above example, note that (:link + 1 + + 0 + + -11 + + + 2 + :) captures the original type of the exception object. The exception can be thrown again using the (:link + 1 + + 0 + + -22 + + + 2 + :) function: [@// ...continued void work() { boost::(:link + 1 + + 0 + + -20 + + + 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 + + -22 + + + 2 + :)(error); }@] Note that (:link + 1 + + 0 + + -11 + + + 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 + + -20 + + + 2 + :) points to an instance of std::bad_alloc, or * if (:link + 1 + + 0 + + -21 + + + 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 + + -20 + + + 2 + :) points to an instance of (:link + 1 + + 0 + + -23 + + + 2 + :). Regardless, the use of (:link + 1 + + 0 + + -11 + + + 2 + :) and (:link + 1 + + 0 + + -22 + + + 2 + :) in the above examples is well-formed. + + + + + 0 + + -42 + + + + 3 + 2 + (:auto !!!:) (:include decl:) !!!!Effects: Frees all resources associated with a boost::(:link + 1 + + 0 + + -10 + + + 2 + :) object. !!!!Throws: Nothing. + + + + + 0 + + -33 @@ -6123,7 +5739,701 @@ 0 - -35 + -28 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -23 + + + + 5 + 2 + (:auto !!!:) (:include synopsis:) This type is used by the (:link + 1 + + 0 + + -20 + + + 2 + :) support in Boost Exception. Please see (:link + 1 + + 0 + + -11 + + + 2 + :). + + + + + 0 + + -14 + + + + 11 + 2 + (:auto !!:) All exception types that derive from boost::(:link + 1 + + 0 + + -10 + + + 2 + :) can be used as type-safe containers of arbitrary data objects, while complying with the no-throw requirements (15.5.1) of the ANSI C++ standard for exception types. Data can be added to a boost::(:link + 1 + + 0 + + -10 + + + 2 + :) at the time of the throw, or at a later time. (:include + 1 + + 0 + + -40 + + + 2 + :) (:include + 1 + + 0 + + -38 + + + 2 + :) (:include + 1 + + 0 + + -43 + + + 2 + :) + + + + + 0 + + -19 + + + + 13 + 2 + (:auto !!!:) (:include synopsis:) !!!!Requirements: * ErrorInfo must be an instance of the (:link + 1 + + 0 + + -17 + + + 2 + :) template. * E must be polymorphic. * The (:link + 1 + + 0 + + -19 + + + 2 + :) function must not be called outside of a catch block. !!!!Returns: * If dynamic_cast<boost::(:link + 1 + + 0 + + -10 + + + 2 + :) const *>(&x) is 0, or if x does not store an object of type ErrorInfo, the returned value is an empty shared_ptr. * Otherwise, the returned shared_ptr points to the stored value (use (:link + 1 + + 0 + + -8 + + + 2 + |operator<<:) to store values in exception objects.) The shared_ptr is valid even after x has been destroyed. !!!!Throws: Nothing. !!!!Note: The interface of + 1 + + 0 + + -19 + + + 2 + may be affected by the build + 1 + + 0 + + -26 + + + 2 + . + + + + + 0 + + -27 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -22 + + + + 1 + 2 + (:auto !!!:) (:include synopsis:) !!!!Precondition: ep shall not be null. !!!!Throws: The exception to which ep refers. + + + + + 0 + + -43 + + + + 13 + 2 + (:auto !!!:) The code snippet below demonstrates how boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) can be used to bundle the name of the function that failed, together with the reported errno so that they can be added to exception objects more conveniently together: [@#include <(:link + 1 + + 0 + + -34 + + + 2 + :)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> #include <errno.h> typedef boost::(:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_file_name,std::string> file_name_info; typedef boost::(:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_function,char const *> function_info; typedef boost::(:link + 1 + + 0 + + -17 + + + 2 + :)<struct tag_errno,int> errno_info; typedef boost::tuple<function_info,errno_info> clib_failure; class file_open_error: public boost::(:link + 1 + + 0 + + -10 + + + 2 + :) { }; boost::shared_ptr<FILE> file_open( char const * name, char const * mode ) { if( FILE * f=fopen(name,mode) ) return boost::shared_ptr<FILE>(f,fclose); else throw file_open_error() << file_name_info(name) << clib_failure("fopen",errno); }@] Note that the members of a boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) are stored separately in exception objects; they can only be retrieved individually, using (:link + 1 + + 0 + + -19 + + + 2 + :). + + + + + 0 + + -16 + + + + 17 + 2 + (:auto !!:) Boost Exception provides a namespace-scope function (:link + 1 + + 0 + + -24 + + + 2 + :) which takes a boost::(:link + 1 + + 0 + + -10 + + + 2 + :). The returned string contains: *the string representation of all data objects added to the boost::(:link + 1 + + 0 + + -10 + + + 2 + :) through (:link + 1 + + 0 + + -8 + + + 2 + |operator<<:); *the output from std::exception::what; *additional platform-specific diagnostic information. The returned string is not presentable as a friendly user message, but because it is generated automatically, it is useful for debugging or logging purposes. Here is an example: [@#include <(:link + 1 + + 0 + + -27 + + + 2 + :)> #include <iostream> void f(); //throws unknown types that derive from boost::(:link + 1 + + 0 + + -10 + + + 2 + :). void g() { try { f(); } catch( boost::(:link + 1 + + 0 + + -10 + + + 2 + :) & e ) { std::cerr << (:link + 1 + + 0 + + -24 + + + 2 + :)(e); } }@] + + + + + 0 + + -32 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -18 + + + + 5 + 2 + (:auto !!!:) (:include synopsis:) !!!!Requirements: E must be boost::(:link + 1 + + 0 + + -10 + + + 2 + :), or a type that derives (indirectly) from boost::(:link + 1 + + 0 + + -10 + + + 2 + :). !!!!Effects: Equivalent to x << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<0>() << ... << v.(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#accessing_elements|get:)<N>(). !!!!Returns: x. (:include throws:) + + + + + 0 + + -25 + + + + 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 + + -5 + + + 2 + . To recover this information at the catch site, use + 1 + + 0 + + -19 + + + 2 + ; the information is also included in the message returned by + 1 + + 0 + + -24 + + + 2 + . + + + + + 0 + + -29 + + + + 1 + 2 + (:auto !!!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -21 + + + + 21 + 2 + (:auto !!!:) (:include synopsis:) !!!!Requirements: T must be a class with 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 (:link + 1 + + 0 + + -20 + + + 2 + :) support in Boost Exception. For example: [@class my_exception: public std::exception { }; .... throw boost::(:link + 1 + + 0 + + -21 + + + 2 + :)(my_exception());@] Unless (:link + 1 + + 0 + + -21 + + + 2 + :) is called at the time an exception object is used in a throw-expression, an attempt to copy it using (:link + 1 + + 0 + + -11 + + + 2 + :) may return an (:link + 1 + + 0 + + -20 + + + 2 + :) which refers to an instance of (:link + 1 + + 0 + + -23 + + + 2 + :). See (:link + 1 + + 0 + + -11 + + + 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 + + -10 + + + 2 + :) and supports the (:link + 1 + + 0 + + -20 + + + 2 + :) functionality. + + + + + 0 + + -26 + + + + 15 + 2 + (:auto !!!:) Boost Exception responds to the following configuration macros: '''BOOST_NO_RTTI/BOOST_NO_TYPEID''' The first macro prevents Boost Exception from using dynamic_cast and dynamic typeid. If the second macro is also defined, Boost Exception does not use static typeid either. Defining either macro does not have an observable degrading effect on the library functionality, except for the following: ->By default, the + 1 + + 0 + + -19 + + + 2 + function template can be called with any exception type. If BOOST_NO_RTTI is defined, + 1 + + 0 + + -19 + + + 2 + can be used only with objects of type boost:: + 1 + + 0 + + -10 + + + 2 + . ''Note: the configuration where BOOST_NO_RTTI is defined but BOOST_NO_TYPEID is not defined is specific for MSVC compilers; it reduces RTTI overhead without fully disabling std::type_info. For most (all?) other compilers, to use Boost Exception without RTTI, both BOOST_NO_RTTI and BOOST_NO_TYPEID must be defined.'' '''BOOST_EXCEPTION_DISABLE''' By default, + 1 + + 0 + + -21 + + + 2 + and + 1 + + 0 + + -7 + + + 2 + are integrated directly in the + 1 + + 0 + + -5 + + + 2 + function. Defining BOOST_EXCEPTION_DISABLE disables this integration. Note that on some non-conformant compilers, for example MSVC 7.0 and older, as well as BCC, BOOST_EXCEPTION_DISABLE is implicitly defined in + 1 + + 0 + + -36 + + + 2 + . + + + + + 0 + + -30 + + + + 1 + 2 + (:auto !!:) !!!Synopsis (:include synopsis:) + + + + + 0 + + -44 + + + + 11 + 2 + (:auto !!!:) Here is how cloning can be enabled in a throw-expression (15.1): [@#include <(:link + 1 + + 0 + + -33 + + + 2 + :)> #include <stdio.h> #include <errno.h> typedef boost::error_info<struct tag_errno,int> errno_info; class file_read_error: public boost::(:link + 1 + + 0 + + -10 + + + 2 + :) { }; void file_read( FILE * f, void * buffer, size_t size ) { if( size!=fread(buffer,1,size,f) ) throw boost::(:link + 1 + + 0 + + -21 + + + 2 + :)(file_read_error()) << errno_info(errno); }@] Of course, (:link + 1 + + 0 + + -21 + + + 2 + :) may be used with any exception type; there is no requirement that it should derive from boost::(:link + 1 + + 0 + + -10 + + + 2 + :). + + + + + 0 + + -34 @@ -6152,112 +6462,10 @@ -37 - - 1 - 2 - (:auto !!:) !!!Synopsis (:include synopsis:) - - - - - 0 - - -38 - - 0 - - - 0 - - -41 - - - - 3 - 2 - (:auto !!!:) (:include decl:) !!!!Effects: Frees all resources associated with a boost::(:link - 1 - - 0 - - -31 - - - 2 - :) object. !!!!Throws: Nothing. - - - - - 0 - - -42 - - - - 13 - 2 - (:auto !!!:) The code snippet below demonstrates how boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) can be used to bundle the name of the function that failed, together with the reported errno so that they can be added to exception objects more conveniently together: [@#include <(:link - 1 - - 0 - - -27 - - - 2 - :)> #include <boost/shared_ptr.hpp> #include <stdio.h> #include <string> #include <errno.h> typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_file_name,std::string> file_name_info; typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_function,char const *> function_info; typedef boost::(:link - 1 - - 0 - - -32 - - - 2 - :)<struct tag_errno,int> errno_info; typedef boost::tuple<function_info,errno_info> clib_failure; class file_open_error: public boost::(:link - 1 - - 0 - - -31 - - - 2 - :) { }; boost::shared_ptr<FILE> file_open( char const * name, char const * mode ) { if( FILE * f=fopen(name,mode) ) return boost::shared_ptr<FILE>(f,fclose); else throw file_open_error() << file_name_info(name) << clib_failure("fopen",errno); }@] Note that the members of a boost::(:link http://www.boost.org/libs/tuple/doc/tuple_users_guide.html|tuple:) are stored separately in exception objects; they can only be retrieved individually, using (:link - 1 - - 0 - - -26 - - - 2 - :). - - @@ -6265,13 +6473,13 @@ throws - 47 + 49 reno_layer - 38 + 40 0 @@ -6302,9 +6510,7 @@ - 1 - 2 - !!!!Throws: std::bad_alloc, or any exception emitted by T1..TN copy constructor. + 0 @@ -6315,7 +6521,9 @@ - 0 + 1 + 2 + !!!!Throws: std::bad_alloc, or any exception emitted by the T copy constructor. @@ -6337,9 +6545,7 @@ - 1 - 2 - !!!!Throws: std::bad_alloc, or any exception emitted by the T copy constructor. + 0 @@ -6364,127 +6570,6 @@ 0 - - - 0 - - -13 - - - - 0 - - - - - 0 - - -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 - - - - 0 - - - - - 0 - - -23 - - - - 0 - - 0 @@ -6496,138 +6581,6 @@ 0 - - - 0 - - -25 - - - - 0 - - - - - 0 - - -26 - - - - 0 - - - - - 0 - - -27 - - - - 0 - - - - - 0 - - -28 - - - - 0 - - - - - 0 - - -29 - - - - 0 - - - - - 0 - - -30 - - - - 0 - - - - - 0 - - -33 - - - - 0 - - - - - 0 - - -31 - - - - 0 - - - - - 0 - - -32 - - - - 0 - - - - - 0 - - -39 - - - - 0 - - - - - 0 - - -40 - - - - 0 - - - - - 0 - - -34 - - - - 0 - - 0 @@ -6643,7 +6596,7 @@ 0 - -36 + -17 @@ -6654,7 +6607,7 @@ 0 - -37 + -15 @@ -6672,6 +6625,61 @@ 0 + + + 0 + + -20 + + + + 0 + + + + + 0 + + -13 + + + + 0 + + + + + 0 + + -39 + + + + 0 + + + + + 0 + + -31 + + + + 0 + + + + + 0 + + -40 + + + + 0 + + 0 @@ -6694,6 +6702,228 @@ 0 + + + 0 + + -33 + + + + 0 + + + + + 0 + + -28 + + + + 0 + + + + + 0 + + -23 + + + + 0 + + + + + 0 + + -14 + + + + 0 + + + + + 0 + + -19 + + + + 0 + + + + + 0 + + -27 + + + + 0 + + + + + 0 + + -22 + + + + 0 + + + + + 0 + + -43 + + + + 0 + + + + + 0 + + -16 + + + + 0 + + + + + 0 + + -32 + + + + 0 + + + + + 0 + + -18 + + + + 1 + 2 + !!!!Throws: std::bad_alloc, or any exception emitted by T1..TN copy constructor. + + + + + 0 + + -25 + + + + 0 + + + + + 0 + + -29 + + + + 0 + + + + + 0 + + -21 + + + + 0 + + + + + 0 + + -26 + + + + 0 + + + + + 0 + + -30 + + + + 0 + + + + + 0 + + -44 + + + + 0 + + + + + 0 + + -34 + + + + 0 + + + + + 0 + + -36 + + + + 0 + + + + + 0 + + -37 + + + + 0 + + @@ -6701,13 +6931,13 @@ synopsis - 48 + 50 reno_layer - 38 + 40 0 @@ -6715,59 +6945,6 @@ -5 - - 0 - - - - - 0 - - -6 - - - - 0 - - - - - 0 - - -7 - - - - 5 - 2 - `#include <(:link - 1 - - 0 - - -27 - - - 2 - :)> [@namespace boost { (:include - 1 - - 0 - - -7 - - - 2 - decl pre_indent="4":) }@] - - - - - 0 - - -8 - - 3 2 @@ -6780,14 +6957,58 @@ 2 - :)> [@namespace boost { (:include decl pre_indent="4":) }@] + :)> [@namespace boost { (:include decl:) }@] 0 - -9 + -6 + + + + 3 + 2 + [@#include < + 1 + + 0 + + -31 + + + 2 + > namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -7 + + + + 3 + 2 + `#include < + 1 + + 0 + + -29 + + + 2 + > [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -8 @@ -6809,7 +7030,7 @@ 0 - -10 + -9 @@ -6824,7 +7045,29 @@ 2 - :)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] + :)> [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -10 + + + + 3 + 2 + `#include <(:link + 1 + + 0 + + -31 + + + 2 + :)> [@namespace boost { (:include def pre_indent="4":) }@] @@ -6835,9 +7078,18 @@ - 1 + 3 2 - [@namespace boost { (:include api pre_indent="4":) }@] + `#include <(:link + 1 + + 0 + + -35 + + + 2 + :)> [@namespace boost { (:include decl pre_indent="4":) }@] @@ -6847,201 +7099,10 @@ -12 - - 1 - 2 - [@(:include api:)@] - - - - - 0 - - -13 - - 0 - - - 0 - - -14 - - - - 3 - 2 - `#include < - 1 - - 0 - - -18 - - - 2 - > [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -15 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -36 - - - 2 - :)> [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -16 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -36 - - - 2 - :)> [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -17 - - - - 0 - - - - - 0 - - -18 - - - - 1 - 2 - [@namespace boost { (:include api pre_indent="4":) }@] - - - - - 0 - - -19 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -36 - - - 2 - :)> [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -20 - - - - 0 - - - - - 0 - - -21 - - - - 0 - - - - - 0 - - -22 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -36 - - - 2 - :)> [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -23 - - - - 3 - 2 - `#include < - 1 - - 0 - - -37 - - - 2 - > (:include decl:) - - 0 @@ -7049,96 +7110,6 @@ -24 - - 3 - 2 - `#include < - 1 - - 0 - - -18 - - - 2 - > [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -25 - - - - 0 - - - - - 0 - - -26 - - - - 3 - 2 - `#include < - 1 - - 0 - - -34 - - - 2 - > [@namespace boost { (:include decl pre_indent="4":) }@] - - - - - 0 - - -27 - - - - 1 - 2 - [@#include <boost/tuple/tuple.hpp> namespace boost { (:include api pre_indent="4":) }@] - - - - - 0 - - -28 - - - - 0 - - - - - 0 - - -29 - - - - 0 - - - - - 0 - - -30 - - 3 2 @@ -7147,103 +7118,11 @@ 0 - -37 + -28 2 - :)> [@namespace boost { (:include decl:) }@] - - - - - 0 - - -33 - - - - 1 - 2 - [@#include <exception> #include <string> namespace boost { (:include api pre_indent="4":) }@] - - - - - 0 - - -31 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -18 - - - 2 - :)> [@namespace boost { (:include def pre_indent="4":) }@] - - - - - 0 - - -32 - - - - 3 - 2 - `#include <(:link - 1 - - 0 - - -35 - - - 2 - :)> [@namespace boost { (:include def pre_indent="4":) }@] - - - - - 0 - - -39 - - - - 0 - - - - - 0 - - -40 - - - - 0 - - - - - 0 - - -34 - - - - 1 - 2 - [@#include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] + :)>\\ [@namespace boost { (:include decl pre_indent="4":) }@] @@ -7261,29 +7140,7 @@ 0 - -18 - - - 2 - :)> #include <boost/current_function.hpp> #include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] - - - - - 0 - - -36 - - - - 3 - 2 - [@#include <(:link - 1 - - 0 - - -18 + -31 2 @@ -7294,13 +7151,33 @@ 0 - -37 + -17 - 1 + 3 2 - (:include api:) + `#include <(:link + 1 + + 0 + + -33 + + + 2 + :)> [@namespace boost { (:include def pre_indent="4":) }@] + + + + + 0 + + -15 + + + + 0 @@ -7314,6 +7191,74 @@ 0 + + + 0 + + -20 + + + + 3 + 2 + `#include <(:link + 1 + + 0 + + -35 + + + 2 + :)> [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -13 + + + + 0 + + + + + 0 + + -39 + + + + 0 + + + + + 0 + + -31 + + + + 1 + 2 + [@namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -40 + + + + 0 + + 0 @@ -7336,6 +7281,335 @@ 0 + + + 0 + + -33 + + + + 3 + 2 + [@#include <(:link + 1 + + 0 + + -31 + + + 2 + :)> #include <boost/current_function.hpp> #include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -28 + + + + 1 + 2 + [@#include <exception> #include <string> namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -23 + + + + 3 + 2 + `#include <(:link + 1 + + 0 + + -35 + + + 2 + :)> [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -14 + + + + 0 + + + + + 0 + + -19 + + + + 3 + 2 + `#include < + 1 + + 0 + + -32 + + + 2 + > [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -27 + + + + 1 + 2 + [@(:include api:)@] + + + + + 0 + + -22 + + + + 3 + 2 + `#include <(:link + 1 + + 0 + + -35 + + + 2 + :)> [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -43 + + + + 0 + + + + + 0 + + -16 + + + + 0 + + + + + 0 + + -32 + + + + 1 + 2 + [@#include <boost/shared_ptr.hpp> namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -18 + + + + 5 + 2 + `#include <(:link + 1 + + 0 + + -34 + + + 2 + :)> [@namespace boost { (:include + 1 + + 0 + + -18 + + + 2 + decl pre_indent="4":) }@] + + + + + 0 + + -25 + + + + 3 + 2 + `#include < + 1 + + 0 + + -36 + + + 2 + > (:include decl:) + + + + + 0 + + -29 + + + + 3 + 2 + [@#include < + 1 + + 0 + + -31 + + + 2 + > namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -21 + + + + 3 + 2 + `#include < + 1 + + 0 + + -6 + + + 2 + > [@namespace boost { (:include decl pre_indent="4":) }@] + + + + + 0 + + -26 + + + + 0 + + + + + 0 + + -30 + + + + 1 + 2 + [@namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -44 + + + + 0 + + + + + 0 + + -34 + + + + 1 + 2 + [@#include <boost/tuple/tuple.hpp> namespace boost { (:include api pre_indent="4":) }@] + + + + + 0 + + -36 + + + + 1 + 2 + (:include api:) + + + + + 0 + + -37 + + + + 0 + + @@ -7346,14 +7620,14 @@ - 49 + 51 reno_context_map - 38 + 40 -5 @@ -7378,101 +7652,107 @@ -12 - - -13 - - - -14 - - - -15 - - - -16 - - - -17 - - - -18 - - - -19 - - - -20 - - - -21 - - - -22 - - - -23 - -24 - - -25 - - - -26 - - - -27 - - - -28 - - - -29 - - - -30 - - - -33 - - - -31 - - - -32 - - - -39 - - - -40 - - - -34 - -35 - -36 + -17 - -37 + -15 -38 + + -20 + + + -13 + + + -39 + + + -31 + + + -40 + -41 -42 + + -33 + + + -28 + + + -23 + + + -14 + + + -19 + + + -27 + + + -22 + + + -43 + + + -16 + + + -32 + + + -18 + + + -25 + + + -29 + + + -21 + + + -26 + + + -30 + + + -44 + + + -34 + + + -36 + + + -37 + - 38 + 40 @@ -7487,7 +7767,58 @@ - -28 + -12 + + + + + + + 0 + + + + + + 1 + + + + -13 + + + + + + + 0 + + + + + + 1 + + + + -14 + + + + + + + 0 + + + + + + 1 + + + + -37 @@ -7521,24 +7852,7 @@ - -21 - - - - - - - 0 - - - - - - 1 - - - - -38 + -6 @@ -7562,7 +7876,7 @@ - -18 + -31 @@ -7590,7 +7904,7 @@ - -31 + -10 @@ -7622,7 +7936,7 @@ - -25 + -39 @@ -7650,7 +7964,7 @@ - -41 + -42 @@ -7678,7 +7992,7 @@ - -14 + -21 @@ -7706,7 +8020,7 @@ - -24 + -7 @@ -7734,7 +8048,7 @@ - -10 + -8 @@ -7758,31 +8072,7 @@ - -39 - - - - - - - 1 - DB399F862FF8F7FC33944FDA379AAB5585A13C33DB71B3590F87125BC89C571E - 2539242395 - 1648 - 323 - - - - - - 0 - ../../../../boost/exception/diagnostic_information.hpp - 0 - 0 - - - - -33 + -41 @@ -7806,7 +8096,7 @@ - -20 + -15 @@ -7830,7 +8120,35 @@ - -23 + -25 + + + + + + + 2 + 439278045C9E304238B86C5BD4DA9CA64630D4CC73D442089068A186A28CA55A + 3686240039 + 1522 + 433 + 6FE1F0AF570A010E8FDA1647DE61E0CC3AA979C8A8638722DAACDF8FBC4790D2 + 1246830037 + 1023 + 493 + + + + + + 0 + ../../../../boost/exception/diagnostic_information.hpp + 0 + 0 + + + + -24 @@ -7854,7 +8172,7 @@ - -35 + -33 @@ -7878,7 +8196,7 @@ - -13 + -16 @@ -7902,7 +8220,7 @@ - -34 + -32 @@ -7926,7 +8244,31 @@ - -12 + -27 + + + + + + + 1 + 265AFB67CCEF87EC9B58DB910ED23C0B1A5546C44767E2FFD6829ABADAF4828B + 1235989793 + 1632 + 323 + + + + + + 0 + ../../../../boost/exception/diagnostic_information.hpp + 0 + 0 + + + + -28 @@ -7954,7 +8296,7 @@ - -30 + -5 @@ -7986,7 +8328,7 @@ - -5 + -26 @@ -8014,7 +8356,7 @@ - -26 + -19 @@ -8042,7 +8384,7 @@ - -32 + -17 @@ -8066,7 +8408,7 @@ - -27 + -34 @@ -8090,7 +8432,7 @@ - -17 + -44 @@ -8114,7 +8456,7 @@ - -36 + -35 @@ -8138,7 +8480,7 @@ - -6 + -38 @@ -8166,7 +8508,7 @@ - -15 + -11 @@ -8194,7 +8536,7 @@ - -19 + -20 @@ -8222,7 +8564,7 @@ - -22 + -23 @@ -8250,7 +8592,7 @@ - -16 + -22 @@ -8277,34 +8619,6 @@ 0 - - -8 - - - - - - - 2 - B13B5FDADDB2BA2714DA95BB0249C315D5ECD2DCFFEEFDB34EAF64E7C5BD40E6 - 3385171361 - 1538 - 433 - 25FBAAA29F300B32DF38832E0A102B8A4FAB726B5FAEE428B00DBD5D58D9BB16 - 3475582031 - 1039 - 493 - - - - - - 0 - ../../../../boost/exception/diagnostic_information.hpp - 0 - 0 - - -9 @@ -8330,7 +8644,7 @@ - -37 + -36 @@ -8358,7 +8672,7 @@ - -11 + -30 @@ -8386,7 +8700,7 @@ - -7 + -18 @@ -8434,7 +8748,7 @@ - -42 + -43 @@ -8444,20 +8758,29 @@ - 50 + 52 tag_index - 38 + 40 1 + + + 0 + + -5 + + + free function + 0 @@ -8465,7 +8788,7 @@ -6 - noalso noindex tutorial + exception_ptr @@ -8483,7 +8806,7 @@ -8 - exception_ptr free function + error_info free function @@ -8492,7 +8815,7 @@ -9 - diagnostic_information free function + exception_ptr free function @@ -8501,7 +8824,7 @@ -10 - error_info free function + type @@ -8510,7 +8833,7 @@ -11 - + exception_ptr free function @@ -8519,106 +8842,7 @@ -12 - - - - - 0 - - -13 - - - diagnostic_information tutorial - - - - 0 - - -14 - - - exception_ptr free function - - - - 0 - - -15 - - - exception_ptr free function - - - - 0 - - -16 - - - exception_ptr free function - - - - 0 - - -17 - - - noalso noindex tutorial - - - - 0 - - -18 - - - - - - - 0 - - -19 - - - type - - - - 0 - - -20 - - - tutorial - - - - 0 - - -21 - - - tutorial - - - - 0 - - -22 - - - exception_ptr type - - - - 0 - - -23 - - - + noindex @@ -8627,13 +8851,67 @@ -24 - error_info free function + diagnostic_information free function 0 - -25 + -35 + + + + + + + 0 + + -17 + + + type + + + + 0 + + -15 + + + tutorial + + + + 0 + + -38 + + + noalso noindex tutorial + + + + 0 + + -20 + + + type + + + + 0 + + -13 + + + tutorial + + + + 0 + + -39 function @@ -8642,7 +8920,79 @@ 0 - -26 + -31 + + + + + + + 0 + + -40 + + + noalso noindex tutorial + + + + 0 + + -41 + + + noalso noindex tutorial + + + + 0 + + -42 + + + function + + + + 0 + + -33 + + + + + + + 0 + + -28 + + + + + + + 0 + + -23 + + + exception_ptr type + + + + 0 + + -14 + + + tutorial + + + + 0 + + -19 error_info free function @@ -8660,61 +9010,16 @@ 0 - -28 + -22 - noindex + exception_ptr free function 0 - -29 - - - tutorial - - - - 0 - - -30 - - - free function - - - - 0 - - -33 - - - - - - - 0 - - -31 - - - type - - - - 0 - - -32 - - - type - - - - 0 - - -39 + -43 noalso noindex tutorial @@ -8723,7 +9028,70 @@ 0 - -40 + -16 + + + diagnostic_information tutorial + + + + 0 + + -32 + + + error_info + + + + 0 + + -18 + + + error_info free function + + + + 0 + + -25 + + + + + + + 0 + + -29 + + + error_info + + + + 0 + + -21 + + + exception_ptr free function + + + + 0 + + -30 + + + + + + + 0 + + -44 noalso noindex tutorial @@ -8735,15 +9103,6 @@ -34 - error_info - - - - 0 - - -35 - - @@ -8762,35 +9121,8 @@ -37 - - - - - 0 - - -38 - - index noindex - - - 0 - - -41 - - - function - - - - 0 - - -42 - - - noalso noindex tutorial -