Godot version
4.4
godot-cpp version
4.4
System information
Arch Linux
Issue description
When including typed_dictionary.hpp I get a compiler error from type_info.hpp complaining about "In included file: explicit specialization of undeclared template struct 'PtrToArg'". Adding #include <godot_cpp/core/method_ptrcall.hpp> to the top of all of my files that use TypedDictionary fixed this, not a big deal but it took me a bit to figure out the problem since the error is kinda confusing. Ideally type_info.hpp should just include method_ptrcall.hpp so the error never happens.
Steps to reproduce
Create a file with this in it and look at the compiler errors:
#include "godot_cpp/variant/typed_dictionary.hpp"
struct Something {
godot::TypedDictionary<int, int> test_dict;
};
Minimal reproduction project
N/A
Godot version
4.4
godot-cpp version
4.4
System information
Arch Linux
Issue description
When including typed_dictionary.hpp I get a compiler error from type_info.hpp complaining about "In included file: explicit specialization of undeclared template struct 'PtrToArg'". Adding
#include <godot_cpp/core/method_ptrcall.hpp>to the top of all of my files that use TypedDictionary fixed this, not a big deal but it took me a bit to figure out the problem since the error is kinda confusing. Ideallytype_info.hppshould just includemethod_ptrcall.hppso the error never happens.Steps to reproduce
Create a file with this in it and look at the compiler errors:
Minimal reproduction project
N/A