From c6640e4f470b99c9d95758bfd62d6205095757e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 30 Sep 2021 20:40:24 +0200 Subject: [PATCH] Improve documentation of CATCH_MOVE and CATCH_FORWARD --- src/catch2/internal/catch_move_and_forward.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catch2/internal/catch_move_and_forward.hpp b/src/catch2/internal/catch_move_and_forward.hpp index 70520308..01b7adae 100644 --- a/src/catch2/internal/catch_move_and_forward.hpp +++ b/src/catch2/internal/catch_move_and_forward.hpp @@ -10,10 +10,10 @@ #include -//! TODO: replaces std::move for better performance +//! Replacement for std::move with better compile time performance #define CATCH_MOVE(...) static_cast&&>(__VA_ARGS__) +//! Replacement for std::forward with better compile time performance #define CATCH_FORWARD(...) static_cast(__VA_ARGS__) #endif // CATCH_MOVE_AND_FORWARD_HPP_INCLUDED - \ No newline at end of file