Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Explicit casts for buildin types

D has another logic for resolving methods than Java has. E.g. in D calling max( byte, int ) is ambiguos if a max(int,int) and max(double,double) exists. In Java this is not ambigious.

TioPort resolves all types and method calls. Because of that TioPort is able to cast buildin type, which do not match exactly, to their target type.