The editor only shows the method int get_size(int)
I was trying not to use default values because I’m studying how to develop modules for godot and I haven’t found anywhere talking about method overloading.
Probably not, if it isn’t a feature in GDScript it can’t be forced in C++.
Most newer languages move away from function overloading, usually handled better by generics/meta programming, and Godot has that generic Variant type you could support in your function.
For example clamp is a variant-typed function which does work in a overloaded fashion for Vectors, where as clampf is typed for only float, but it has the f suffix.
Constructors seem to be overloadable though, maybe only for base types like Vectors though.