mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 11:35:39 +02:00
Added nothrow command line option
Causes _THROWS family of macros to no evaluate expression
This commit is contained in:
21
include/internal/catch_interfaces_config.h
Normal file
21
include/internal/catch_interfaces_config.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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
|
Reference in New Issue
Block a user