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ý committed 2021-08-16 16:22:16 +02:00
1 parent 7040f03b54
commit 03ce304102
4 files changed
+22

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
#ifndef CATCH_SECTION_INFO_HPP_INCLUDED
#define CATCH_SECTION_INFO_HPP_INCLUDED
#include <catch2/internal/catch_move_and_forward.hpp>
#include <catch2/internal/catch_source_line_info.hpp>
#include <catch2/internal/catch_stringref.hpp>
#include <catch2/catch_totals.hpp>