On Fri, Nov 20, 2009 at 4:05 PM, Walter Bright <newshou...@digitalmars.com> wrote: > Bill Baxter wrote: >> >> Right, but if you do define it (in order to do something extra upon >> initialization -- validate inputs or what have you) then it no longer >> works at compile time. > > Right, but the static initialization then shouldn't work, either.
Why not? It works if you use static opCall(int,int) instead of this(int,int). --bb