Re: Using __traits to find functions in sub-modules

2014-10-17 Thread nrgyzer via Digitalmars-d-learn
On Thursday, 16 October 2014 at 19:19:21 UTC, John Colvin wrote: On Thursday, 16 October 2014 at 18:39:50 UTC, nrgyzer wrote: Hi, I'm using structs to describe my functions: struct example { string name; uint someValue; } module mod.example1; @example("example1", 1) void myFunction() { //

Re: Using __traits to find functions in sub-modules

2014-10-16 Thread John Colvin via Digitalmars-d-learn
On Thursday, 16 October 2014 at 18:39:50 UTC, nrgyzer wrote: Hi, I'm using structs to describe my functions: struct example { string name; uint someValue; } module mod.example1; @example("example1", 1) void myFunction() { // do something } module mod.example2; @example("example2", 2) v

Re: Using __traits to find functions in sub-modules

2014-10-16 Thread ketmar via Digitalmars-d-learn
On Thu, 16 Oct 2014 18:39:48 + nrgyzer via Digitalmars-d-learn wrote: > But it always stats that 'cmodule' has no members. Does anyone > know how to solve the problem? there is no non-hackish solution, afaik. there is no even hackish, but reliable one. signature.asc Description: PGP signat