True. I haven't tried yet (nobody else seems to care about it as much as
you do!), but I think this could be automated fairly easily with a template.
I should point out that inline functions are inlined, and there is no
speed difference in the result.
I'm not following this. To copy a union, you just copy it with the
assignment operator:
U a, b;
a = b; // copies all the bit fields, too!
You're right on both counts. It's because htod is built out of a fork of
the Digital Mars C compiler. Something similar could be done with gcc,
but I'm not the person to do it. I should also get off my lazy tail and
port htod to linux.
GDC was just released for D 1.020, which is behind D 1.021, but 1.021
was released just a couple days ago <g>.
And it's nice to hear your perspective, which is why I dropped by this
thread.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html