Implemented some measures to reduce the compile time; #86 (#120)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2024-06-15 00:26:05 +02:00
committed by GitHub
parent 41872c48e4
commit e36994084d
17 changed files with 629 additions and 571 deletions
+4 -2
View File
@@ -1,14 +1,15 @@
#include <gtest/gtest.h>
#include <cassert>
#include <iostream>
#include <rfl.hpp>
#include <source_location>
#include <tuple>
#include <gtest/gtest.h>
namespace test_inheritance {
TEST(json, test_inheritance) {
#ifdef REFLECT_CPP_C_ARRAYS_OR_INHERITANCE
struct S {
int x;
};
@@ -21,6 +22,7 @@ TEST(json, test_inheritance) {
static_assert(name == "x");
EXPECT_TRUE(true);
#endif
}
} // namespace test_inheritance