On 8/29/14, 10:12 AM, H. S. Teoh via Digitalmars-d wrote:
On Fri, Aug 29, 2014 at 09:48:51AM -0700, Andrei Alexandrescu via Digitalmars-d 
wrote:
Worth a look:

http://stackoverflow.com/questions/25555329/d-finding-all-functions-with-certain-attribute
[...]

Wow. That's ... awesome. Kudos to Adam for the ingenuity!!! Compile-time
reflection FTW!

The mixin("import "...) line was mind-blowingly ingenious, I have to
say. As are the mixin(x) lines where x is an alias, to coax the compiler
to recursively scan submodules. D seriously rawkz for compile-time
reflection.

Worth redditing? Or too much information? :o)

Andrei


Reply via email to