Piotr Paczkowski (trzeci.eu)
|
bf31ed376a
|
Make move operation noexcept.
|
2019-12-20 09:51:35 +01:00 |
|
Piotr Paczkowski (trzeci.eu)
|
cc05a3ca01
|
Define default destructor for test classes
|
2019-12-20 09:45:28 +01:00 |
|
Piotr Paczkowski (trzeci.eu)
|
05701fee28
|
Deleted functions as part of public interface
|
2019-12-20 09:41:58 +01:00 |
|
Piotr Paczkowski (trzeci.eu)
|
77b3a250ea
|
Review notes: Return T& from assignment operators
|
2019-12-20 09:39:06 +01:00 |
|
trzeci
|
9d8222ad66
|
Disable move constructor and assignment operator for test classes.
Disable move operations for TEST() and TEST_F() macros.
Previous implementation disabled only copy ctor and assing operator, but
this was violating rule of 5[1], which was captured by static code analysis tools
like clang-tidy `cppcoreguidelines-special-member-functions`.
[1]: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c21-if-you-define-or-delete-any-default-operation-define-or-delete-them-all
|
2019-12-17 23:43:31 +01:00 |
|