Re: How about macro == symbol for mixin statement? [was Re: Member functions C to D]

2009-10-13 Thread Yigal Chripun
On 12/10/2009 10:47, Don wrote: Ah, OK. My cursory glance at Nemerle just screamed "hack". But first impressions can be misleading. No doubt as a C-family language, they have some useful ideas. But if Christopher's analysis is correct, the "macro" bit is different to the "plugin" bit. I think al

Re: Forward references and more

2009-10-13 Thread Steven Schveighoffer
On Tue, 13 Oct 2009 07:30:11 -0400, bearophile wrote: Steven Schveighoffer: A static variable is essentially a scoped global variable. I think it will work if you make it static. I've used plenty of static variables that are instances of the struct they are declared in. It doesn't compi

Re: Forward references and more

2009-10-13 Thread bearophile
Steven Schveighoffer: > A static variable is essentially a scoped global variable. I think it > will work if you make it static. I've used plenty of static variables > that are instances of the struct they are declared in. It doesn't compile with static variables too, you just need few seco

Re: Getting overloads of free functions

2009-10-13 Thread Lutger
Christopher Wright wrote: > Lutger wrote: >> Probably has been discussed before but I couldn't figure it out: >> >> Is it possible to retrieve the signatures of overloaded functions (not >> virtuals) at compile time? > > No. You can't even get all the overloads of class methods at compile > time