mirror of
https://github.com/catchorg/Catch2.git
synced 2025-04-29 12:03:53 +00:00
-add macros to test for C++ version and features to catch_compiler_capabilities.hpp - replaces dynamic exception specifications (deprecated) with noexcept in C++ Version >= 11 - defines defaulted copy constructor/move constructors/assignment in C++ Version >= 11 since their implicit generation is deprecated under some circumstances. - fixes #259
22 lines
569 B
C++
22 lines
569 B
C++
/*
|
|
* Created by Phil on 27/11/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_STREAMBUF_H_INCLUDED
|
|
#define TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED
|
|
|
|
#include <streambuf>
|
|
|
|
namespace Catch {
|
|
|
|
class StreamBufBase : public std::streambuf {
|
|
public:
|
|
virtual ~StreamBufBase() CATCH_NOEXCEPT;
|
|
};
|
|
}
|
|
|
|
#endif // TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED
|