Martin Hořeňovský
f23b6b8b85
Don't sanitize exception type in REQUIRE_THROWS_AS
...
Effectively a revert of previous commit, fixing #542 , where this was
added to stop linters complaining about `REQUIRE_THROWS_AS` used like
`REQUIRE_THROWS_AS(expr, std::exception);`, which would be slicing the
caught exception. Now it is user's responsibility to pass us proper
exception type.
Closes #833 which wanted to add `typename`, so that the construct works
in a template, but that would not work with MSVC and older GCC's, as
having `typename` outside of a template is allowed only from C++11
onward.
2017-03-23 21:11:21 +01:00
..
2017-02-27 13:12:13 +01:00
2017-02-21 09:10:44 +00:00
2017-01-29 23:07:15 +01:00
2017-03-23 21:11:21 +01:00
2014-03-17 18:40:58 +00:00
2017-02-13 14:12:22 +01:00
2017-02-14 09:16:54 +00:00
2017-02-13 08:20:45 +00:00
2017-03-01 15:59:10 +00:00
2017-02-13 14:12:22 +01:00
2017-03-06 22:07:33 +01:00
2014-10-21 07:24:30 +01:00
2017-01-16 10:34:16 +00:00
2017-02-12 12:48:25 +01:00
2017-01-31 16:00:42 +00:00
2017-03-06 21:51:22 +01:00
2017-02-17 23:43:31 +00:00
2017-03-06 21:51:22 +01:00
2017-02-22 14:14:59 +01:00
2015-11-18 08:39:21 +00:00
2017-02-21 08:56:14 +00:00
2017-03-02 18:18:28 +01:00
2013-07-03 19:14:59 +01:00
2017-03-15 15:19:38 +00:00
2017-03-06 09:23:31 +00:00
2015-09-26 18:12:21 -07:00
2017-02-13 14:12:22 +01:00
2016-03-14 07:55:00 +00:00
2013-07-03 19:14:59 +01:00
2017-03-15 09:45:37 +00:00
2017-02-13 14:12:22 +01:00
2014-05-28 18:53:01 +01:00
2014-06-30 07:33:17 +01:00
2015-11-04 18:04:15 +00:00
2014-12-22 20:10:33 +00:00
2014-12-22 20:10:33 +00:00
2017-01-29 23:07:15 +01:00
2017-03-06 13:16:43 +01:00
2017-03-06 13:16:43 +01:00
2017-02-21 16:05:04 +00:00
2017-03-13 15:40:21 +00:00
2014-05-19 18:57:14 +01:00
2014-05-19 18:57:14 +01:00
2017-02-13 14:12:22 +01:00
2017-02-13 14:12:22 +01:00
2012-08-16 18:47:41 +01:00
2017-03-13 15:40:21 +00:00
2015-07-01 07:33:27 +01:00
2017-01-16 17:00:43 +01:00
2015-07-28 18:55:11 +01:00
2015-03-04 07:54:35 +00:00
2017-03-15 09:45:37 +00:00
2017-03-10 19:15:03 +00:00
2015-09-28 01:09:06 -07:00
2017-02-14 09:16:54 +00:00
2017-02-15 10:35:01 +01:00
2015-11-04 18:04:15 +00:00
2017-03-02 18:18:28 +01:00
2017-02-13 14:12:22 +01:00
2017-02-13 14:12:22 +01:00
2014-10-03 08:15:27 +01:00
2017-02-13 14:12:22 +01:00
2016-11-28 15:47:20 +01:00
2017-01-29 23:07:15 +01:00
2014-04-18 08:49:35 +01:00
2017-02-15 17:11:44 +01:00
2017-03-15 09:45:37 +00:00
2017-03-22 18:40:07 +01:00
2017-03-06 13:16:43 +01:00
2017-01-23 17:44:55 +00:00
2017-03-22 17:53:22 +01:00
2017-02-13 14:12:22 +01:00
2017-03-15 15:19:38 +00:00
2016-03-14 07:55:00 +00:00
2017-02-22 07:49:38 +00:00
2016-09-27 09:58:12 +01:00
2014-03-17 18:40:58 +00:00
2014-09-03 19:20:23 +01:00
2017-03-01 15:59:10 +00:00
2015-11-04 18:04:15 +00:00
2017-02-01 21:31:14 +01:00
2014-12-30 18:24:31 +00:00
2017-02-09 12:57:01 +01:00
2017-03-22 17:45:36 +01:00
2017-03-22 17:45:36 +01:00
2017-02-12 12:17:07 +01:00
2017-01-16 16:52:44 +01:00
2017-02-13 15:56:25 +00:00