--- Comment #2 from 2011-02-02 10:15:39 PST ---
This D2 program shows a cost of a strong type system: creating collections of
functions becomes a problem because there are so many attributes that change a
type. This specific problem is solved managing correctly variance/covariance of
function pointers and delegates, typing the array 'a' as an array of impure
nothrow @trusted functions:

import std.math;
void main() {
    auto a = [&asin, &cbrt];

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to