Add std::move/std::forward replacement macros

Using the `CATCH_MOVE` and `CATCH_FORWARD` macros instead of the
`std::move` and `std::forward<T>` utility functions can improve
compilation times and debug build's performance, and thus will
be preferred going forward.
This commit is contained in:
Martin Hořeňovský
2021-08-13 00:11:22 +02:00
parent 7040f03b54
commit 03ce304102
4 changed files with 22 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ set(INTERNAL_HEADERS
${SOURCES_DIR}/catch_message.hpp
${SOURCES_DIR}/internal/catch_message_info.hpp
${SOURCES_DIR}/internal/catch_meta.hpp
${SOURCES_DIR}/internal/catch_move_and_forward.hpp
${SOURCES_DIR}/internal/catch_option.hpp
${SOURCES_DIR}/internal/catch_output_redirect.hpp
${SOURCES_DIR}/internal/catch_platform.hpp