howto make a function get types form compile-time-parameters AND from arguments ?
Uplink_Coder
someemail at someprovider.some
Thu Oct 31 03:57:58 PDT 2013
by changeing
T[] makeArray(T,U)(immutable U[] paramArray)
into
T[] makeArray(T,U)(const U paramArray) if (isAggregateType!(U) ||
is Array!(U))
everything works perfectly
Thanks very much
---
Uplink_Coder
More information about the Digitalmars-d-learn
mailing list