Re: UFCS from within classes

2013-09-10 Thread Jacob Carlborg
On 2013-09-09 19:15, H. S. Teoh wrote: I don't think UFCS works with qualified names right now. This is a known issue. As far as I know it's a design decision. -- /Jacob Carlborg

Re: UFCS from within classes

2013-09-09 Thread Maxim Fomin
On Monday, 9 September 2013 at 17:07:59 UTC, Gyron wrote: Hey there, I've experimented a little with UFCS today and ran into a problem. My first question, which is kinda off-topic: Why does D use the int type if you give it a number started with 0x(hex), shouldn't it use uint for that ? It i

Re: UFCS from within classes

2013-09-09 Thread Gyron
On Monday, 9 September 2013 at 17:17:07 UTC, H. S. Teoh wrote: On Mon, Sep 09, 2013 at 07:07:58PM +0200, Gyron wrote: Hey there, I've experimented a little with UFCS today and ran into a problem. My first question, which is kinda off-topic: Why does D use the int type if you give it a number s

UFCS from within classes

2013-09-09 Thread Gyron
Hey there, I've experimented a little with UFCS today and ran into a problem. My first question, which is kinda off-topic: Why does D use the int type if you give it a number started with 0x(hex), shouldn't it use uint for that ? Here comes the real question: I've extended the int by one func

Re: UFCS from within classes

2013-09-09 Thread H. S. Teoh
On Mon, Sep 09, 2013 at 07:07:58PM +0200, Gyron wrote: > Hey there, I've experimented a little with UFCS today and ran into a > problem. > > My first question, which is kinda off-topic: > Why does D use the int type if you give it a number started with > 0x(hex), shouldn't it use uint for that ?