www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - TypeInfo_Class getMembers() and offTi()

reply Benjamin Thaut <code benjamin-thaut.de> writes:
Do the getMembers() and offTi() functions of TypeInfo_Class already 
work? If yes who generates the information for them, or do I have to do 
that manually with a template? Are there any examples on this? I 
couldn't find anything in the documentation.

Kind Regards
Benjamin Thaut
Jul 15 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-07-15 12:25, Benjamin Thaut wrote:
 Do the getMembers() and offTi() functions of TypeInfo_Class already
 work? If yes who generates the information for them, or do I have to do
 that manually with a template? Are there any examples on this? I
 couldn't find anything in the documentation.
No, getMembers() doesn't work. It just returns an empty array. I don't think offTi() works either. -- /Jacob Carlborg
Jul 15 2012