mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
46a3476731
Causes _THROWS family of macros to no evaluate expression
22 lines
570 B
C++
22 lines
570 B
C++
/*
|
|
* Created by Phil on 05/06/2012.
|
|
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
|
*
|
|
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
|
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
|
|
|
namespace Catch {
|
|
|
|
struct IConfig {
|
|
|
|
virtual ~IConfig(){}
|
|
|
|
virtual bool allowThrows() const = 0;
|
|
};
|
|
}
|
|
|
|
#endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|