How do you create a static function in a hxcpp extern where the original C++ code has a template generic parameter for a class object that you pass into the function?
For example how to turn something like this (C++):
template<typename T, T Value, class Cls>
void funcName(){}
called like this (C++):
funcName<ClassName>();
to something like this (haxe HXCPP extern):
@:generic
@:native('functionName')
static function funcName<T>(className:T) : Void;
If this isn’t implemented yet in HXCPP externs, then it is a major oversight because it appears to be a common C++11 feature used in many modern C++ libraries.