Adding overloaded methods

James Miller james at aatch.net
Thu Feb 23 19:24:03 PST 2012


On 24 February 2012 12:06, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> On Fri, Feb 24, 2012 at 04:06:52AM +1300, James Miller wrote:
>> On 23 February 2012 13:15, BLM <blm768 at gmail.com> wrote:
>> > After messing around for a while, I figured out what is making DMD choke on my
>> > file. The methods were defined in the base class using template mixins, and
>> > apparently DMD doesn't like it when mixins, inheritance, overloading, and aliases
>> > are all in the same piece of code :)
>>
>> And the award for "Most Meta Code" goes too...
> [...]
>
> I dunno, but "most meta" to me implies recursive mixins...
>
>
> T
>
> --
> For every argument for something, there is always an equal and opposite argument against it. Debates don't give answers, only wounded or inflated egos.

True, I guess the "Most Meta Code" would be something that combines
recursive mixins, string mixins, inheritance, overriding, overloading,
aliases and is all inside a recursive template. Bonus points if the
final result is a quine.

--
James Miller


More information about the Digitalmars-d-learn mailing list