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
..
2014-03-17 18:40:58 +00:00
2017-02-14 09:16:54 +00:00
2017-02-13 14:12:22 +01:00
2017-03-06 09:23:31 +00:00
2017-03-13 15:40:21 +00:00
2014-05-19 18:57:14 +01:00
2017-03-13 15:40:21 +00:00
2015-07-28 18:55:11 +01:00
2017-02-13 14:12:22 +01:00
2014-03-17 18:40:58 +00:00