On 2012-03-21 22:32, Steven Schveighoffer wrote:
What I envision is that @makeAPoint translates to the CTFE engine
calling makeAPoint with no arguments. This returns a Point2d default
initialized. That result is stored in the TypeInfo (or ModuleInfo) in
the appropriate location for the 'x' member.
Then you can query this using runtime or compile-time functions later
on, using the name "makeAPoint".
That sounds like a pretty good idea. Many good ideas have popped up in
this thread. It's hard to know which would work best.
--
/Jacob Carlborg