Feature request: getMembers

Tim M a at b.com
Sun Dec 21 00:16:39 PST 2008

Feature request: Could the d2.0 method 'classinfo::getMembers' be  
implemented please. Or is this a bug?

module test;

import std.stdio;

class Thing
	int abcd;

int main(char[][] args)
	Thing t = new Thing();
	MemberInfo[] members = cast(MemberInfo[])t.classinfo.getMembers(null);
	write(t.classinfo.name~" has members: ");
	foreach(MemberInfo mi; members)
	return 0;

More information about the Digitalmars-d mailing list