mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 16:56:17 +08:00
Made sure that we can get field names from structs declared inside functions or unnamed namespaces; #46
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "test_flatten.hpp"
|
||||
#include "test_flatten_anonymous.hpp"
|
||||
#include "test_forward_list.hpp"
|
||||
#include "test_inside_function.hpp"
|
||||
#include "test_list.hpp"
|
||||
#include "test_literal.hpp"
|
||||
#include "test_literal_map.hpp"
|
||||
@@ -61,6 +62,7 @@
|
||||
#include "test_timestamp.hpp"
|
||||
#include "test_unique_ptr.hpp"
|
||||
#include "test_unique_ptr2.hpp"
|
||||
#include "test_unnamed_namespace.hpp"
|
||||
#include "test_unordered_map.hpp"
|
||||
#include "test_unordered_multimap.hpp"
|
||||
#include "test_unordered_multiset.hpp"
|
||||
@@ -111,6 +113,8 @@ int main() {
|
||||
test_result::test();
|
||||
test_anonymous_fields::test();
|
||||
test_monster_example::test();
|
||||
test_unnamed_namespace::test();
|
||||
test_inside_function::test();
|
||||
|
||||
test_custom_class1::test();
|
||||
test_custom_class2::test();
|
||||
|
||||
Reference in New Issue
Block a user