Commit Graph

54 Commits

Author SHA1 Message Date
607268dd8e Replaced throw() with BOOST_NOEXCEPT_OR_NOTHROW
With throw(), Visual Studio 2017 emitted a warning "C26439 SPECIAL_NOEXCEPT". Reproducible at least if code analysis was set to level: "Microsoft Native Recommended Rules".

https://docs.microsoft.com/en-us/visualstudio/code-quality/c26439?view=vs-2017
2019-01-28 09:48:53 +02:00
991d600f01 Fixing bug in exception_ptr cloning of error_info objects. 2017-03-15 11:39:42 -07:00
4ea8555871 Removed double-including of config. 2017-02-21 11:41:51 -08:00
36af19fa50 Merge branch 'develop' of https://github.com/boostorg/exception into develop 2017-02-20 18:31:48 -08:00
0eee187876 #include config before anything else 2017-02-20 18:23:36 -08:00
972667f52e Tweaks to try to defeat g++4.6.3 2017-01-03 14:35:11 -08:00
406d3c87f7 Maybe fixing 11874 2017-01-03 12:17:27 -08:00
14d3b01c60 Fixing more struct/class discrepancies. 2016-11-02 23:53:42 -07:00
e1378f7aef Ticket #12553, plus tabs converted to spaces. 2016-10-26 11:51:40 -07:00
27598f92db Configuration option to allow Boost Exception to use std::shared_ptr instead of boost::shared_ptr. 2016-09-28 16:53:43 -07:00
c1dc3b8dcb Included missing declaration before specialization of set_info_rv. 2016-06-05 22:33:02 -07:00
5a040eedf5 rvalue references support in error_info 2015-03-24 15:44:28 -07:00
4edba2f8be Revert "Exception: Remove obsolete GCC version checks."
This reverts commit b2221bf92d.
2014-06-03 02:15:11 +03:00
b2221bf92d Exception: Remove obsolete GCC version checks.
[SVN r86074]
2013-09-30 16:01:02 +00:00
9b100b0c9d Added verbose parameter to boost::diagnostic_information.
[SVN r82179]
2012-12-23 03:31:48 +00:00
2ebfd49b4f Ticket #7094, thanks 1czajnik
[SVN r79398]
2012-07-10 03:43:13 +00:00
c7bae18633 Fix for the problem reported by Pavel Lebedev. Thanks!
[SVN r74471]
2011-09-19 21:45:34 +00:00
cc0d73af9d bug 5384
[SVN r70988]
2011-04-05 00:11:42 +00:00
9090f38cde Ticket 4337
[SVN r62892]
2010-06-13 02:35:15 +00:00
c251404656 workaround for double-destruction bugs in compilers: with this, boost::exception objects should survive the case when the destructor is called twice.
[SVN r61602]
2010-04-27 01:14:03 +00:00
0cebd7efbf Fixing problems found by the vacpp test.
[SVN r59743]
2010-02-18 05:58:00 +00:00
3013e991f1 exception_ptr bad_alloc refactoring
[SVN r59431]
2010-02-02 19:41:55 +00:00
a955aa431e prettier diagnostic information, using <boost/units/detail/utility.hpp>
[SVN r59398]
2010-02-01 00:25:15 +00:00
2dc075e6e8 Potential leak caused by previous commit.
[SVN r59370]
2010-01-30 18:44:45 +00:00
4ae002cbf8 Ticket #3848 (thanks Nikki Chumakov) and (unrelated) exception_ptr refactoring.
[SVN r59364]
2010-01-30 05:26:43 +00:00
9d499676ae Simplified type_info support due to improvements in boost/detail/sp_typeinfo.hpp. A few tweaks to better deal with warnings.
[SVN r58132]
2009-12-04 06:33:47 +00:00
8d24c87032 Suppressing warnings. Please report any problems (may have broken something!)
[SVN r58072]
2009-12-01 02:16:50 +00:00
c25d7d2ba0 New function: diagnostic_information_what.
[SVN r56448]
2009-09-27 21:17:48 +00:00
fa96125efb mutable get_error_info support
[SVN r55707]
2009-08-21 22:28:44 +00:00
1643ad2e81 support for exception_ptr and nesting in boost::diagnostic_information
documentation update

[SVN r53038]
2009-05-15 22:34:30 +00:00
6aa4d2f93b comments
[SVN r52227]
2009-04-07 03:02:15 +00:00
87384d2116 get_error_info returns raw pointer instead of shared_ptr (breaking change)
diagnostic_information can now be called with boost::exception or std::exception object.
BOOST_THROW_EXCEPTION can now be used even if exceptions are disabled.
added functions: current_exception_diagnostic_information, current_exception_cast
documentation updated to match.

[SVN r52225]
2009-04-06 23:15:42 +00:00
f28285c073 Implemented support for custom to_string overloads for converting boost::error_info objects to string by the boost::diagnostic_information function.
[SVN r50507]
2009-01-08 01:26:15 +00:00
b5fc84025b minor type_info.hpp change
[SVN r48642]
2008-09-07 00:05:00 +00:00
8310c9831f bug fix in the decoupling of info.hpp from get_error_info.hpp.
[SVN r48551]
2008-09-02 23:13:06 +00:00
2887a719c8 minor diagnostic_information fix.
[SVN r48543]
2008-09-02 18:44:05 +00:00
b84fb75a60 Optimization for error_info<throw_function>, error_info<throw_file>, error_info<throw_line>. Refactored exception_ptr to use shared_ptr.
[SVN r48521]
2008-09-01 21:06:09 +00:00
5d4c014f5b nitpicking
[SVN r48488]
2008-08-31 04:05:19 +00:00
f12d40765b Both enable_error_info.hpp and enable_current_exception.hpp now do not depend on intrusive_ptr or any other Boost lib.
[SVN r48482]
2008-08-31 01:39:00 +00:00
f2b14ffa98 addressing what seems to be a bug in darwin-4.0.1
[SVN r48477]
2008-08-30 17:42:17 +00:00
9dd2d64304 decoupled boost/exception/exception.hpp from boost/exception/detail/type_info.hpp
diagnostic_information improvements
documentation update

[SVN r48469]
2008-08-30 02:57:12 +00:00
d7b98ba390 Boost Exception documentation update
[SVN r48432]
2008-08-29 02:48:23 +00:00
70a910d82c insignificant
[SVN r48430]
2008-08-28 23:58:26 +00:00
850b7d9618 Boost Exception now works with BOOST_NO_RTTI and/or BOOST_NO_TYPEID.
[SVN r48429]
2008-08-28 23:49:55 +00:00
14765312e2 fix for mutable problem, thanks Peter Klotz
[SVN r48270]
2008-08-20 21:48:35 +00:00
d7722921a7 removed tabs from source files
updated documentation


[SVN r47250]
2008-07-09 00:18:09 +00:00
044d5767e2 Hopefully fixing the Como-specific problem reported by Robert Ramey.
[SVN r47126]
2008-07-06 04:50:53 +00:00
f58ffdd643 documentation update, added function exception::diagnostic_information, added std::exception to_string overload, removed tabs from source files
[SVN r46697]
2008-06-25 23:27:56 +00:00
7cc96d23ec Improved compatibility with various compilers.
[SVN r45087]
2008-05-03 19:51:41 +00:00
cde6de22d9 Disabled bogus GCC warnings.
[SVN r45082]
2008-05-03 18:20:15 +00:00