__traits(allMembers, Struct) can do it.

Get the free sample chapter from my book: https://www.packtpub.com/application-development/d-cookbook and it goes into more detail (I'm in a bit of a rush right now!)

the sample link is under the picture

Reply via email to