#Import "<std>"
Using std.collections
Struct Event
Field data : Int
End Struct
Alias EventCb : Void( event : Event )
Function Main()
Local dict : StringMap< EventCb > = New StringMap< EventCb >()
End Function
Using the above code, the wrong C++ code is generated. Works fine when Event is a class.
Original Author: leftnoodle
Using the above code, the wrong C++ code is generated. Works fine when Event is a class.