Determining whether a class has a method
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Nov 29 17:36:24 PST 2007
"Christopher Wright" <dhasenan at gmail.com> wrote in message
news:fink7k$6ph$1 at digitalmars.com...
> But tupleof fails if you give it a class that has fields (methods are
> fine, but data fields aren't). I'm pretty sure this is a bug; can anyone
> else comment on it?
tupleof is supposed to give you a tuple of fields. It will never give
methods.
More information about the Digitalmars-d-learn
mailing list