template isConstructable(From, To)
package
enum isConstructable =
true && !is(From == shared) && (From.supportGC == To.supportGC) && is(GetElementType!From : GetElementType!To) && (From.hasStatelessAllocator ? is(immutable From.AllocatorType == immutable To.AllocatorType) : is(immutable From.AllocatorType : immutable To.AllocatorType));