Alexander Grund
90f2b84259
Supress 'suggest-override' warnings in mocked methods
2026-07-05 15:22:38 +02:00
Alexander Grund
d8809dca2a
Improve check for std::uncaught_exceptions
...
GCC 8 on MinGW still warns about that.
Check the version of the feature macro and add parens to ensure correct
evaluation.
2025-06-11 15:16:36 +02:00
Alexander Grund
c34cbb56ab
Add MOCK_CXX_VERSION macro
2025-04-30 12:32:02 +02:00
Alexander Grund
bb77c1702f
Add support for unlimited number of sequences in one call
...
This removes the need for those preprocessor macros and the MOCK_MAX_SEQUENCES define.
2022-02-10 17:46:00 +01:00
Alexander Grund
fca30e7780
Replace Boost PP_Iterate by C++11 variadic templates
...
This allows support for any number of arguments and makes setting MOCK_MAX_ARGS unnecessary.
It also allows for easier debugging due to being able to step into actual code instead of preprocessor generated stuff
2022-02-10 17:46:00 +01:00
Alexander Grund
ee72e8b9d8
Format code using Clang-Format 10 and enforce via CI
...
Makes the format of the code base uniform.
2022-01-24 16:30:59 +01:00
Alexander Grund
cf5ac87499
Remove support for auto_ptr
2022-01-07 17:08:16 +01:00
Alexander Grund
823fd994ff
Remove some Boost.PP stuff
2022-01-07 17:08:14 +01:00
Alexander Grund
2f72d5639e
Assume existance of lambdas
2022-01-07 17:08:11 +01:00
Alexander Grund
9faab7749c
Assume existance of <functional>
2022-01-07 17:08:11 +01:00
Alexander Grund
f154a1a22a
Assume existance of smart pointers
2022-01-07 17:08:11 +01:00
Alexander Grund
3b3700fda6
Assume support for variadic macros
2022-01-07 17:08:11 +01:00
Alexander Grund
f678f4d91f
Assume nullptr existance
2022-01-07 17:08:10 +01:00
Alexander Grund
df5b77af95
Replace Boost.TypeTraits by std equivalents
2022-01-07 17:08:10 +01:00
Alexander Grund
9e664b52ab
Replace Boost.Move by std equivalents
2022-01-07 17:08:10 +01:00
Mathieu Champlon
b8e8b6ffbf
Fixed uncaught_exceptions usage with clang
...
For some reason clang seems so believe uncaught_exceptions does not belong to the std namespace:
no member named 'uncaught_exceptions' in namespace 'std'; did you mean
simply 'uncaught_exceptions'?
I haven't found any indication confirming this, but let's just support both…
2018-04-08 15:16:48 +02:00
Mathieu Champlon
c42b708950
Fixed deprecation warning about std::uncaught_exception in c++17 for msvc
2018-03-25 09:46:40 +02:00
Mathieu Champlon
5d11db0f52
Added support for dereferencing in mock::equal
2018-03-12 08:33:53 +01:00
Mathieu Champlon
a22ca57253
Added MOCK_NO_AUTO_PTR to deactivate std::auto_ptr support
2017-03-20 11:43:18 +01:00
Mathieu Champlon
c950c24f52
Changed layout to match boost
2015-03-06 06:41:12 +01:00