[Issue 3673] inheritance + if clause = no go

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673



--- Comment #6 from github-bugzi...@puremagic.com 2013-03-10 20:00:51 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b8ed73f4ffc49272f95c6ce9ceb56330e3a101b9
Fixes Issue 3673 - Allow putting constraint after inheritance list.

https://github.com/D-Programming-Language/dmd/commit/43251183f885d5a309171b7139d94d22a60cace3
Merge pull request #1227 from AndrejMitrovic/Fix3673

[enh] Issue 3673 - Allow putting constraint after inheritance list

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3673] inheritance + if clause = no go

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3673] inheritance + if clause = no go

2010-08-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673


Kosmonaut kosmon...@tempinbox.com changed:

   What|Removed |Added

 CC||dsim...@yahoo.com


--- Comment #4 from Kosmonaut kosmon...@tempinbox.com 2010-08-20 20:55:45 PDT 
---
*** Issue 4698 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3673] inheritance + if clause = no go

2010-01-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673


Max Samukha samu...@voliacable.com changed:

   What|Removed |Added

 CC||samu...@voliacable.com


--- Comment #1 from Max Samukha samu...@voliacable.com 2010-01-05 03:00:42 
PST ---
This syntax is supported:

interface OutputRange(T...) if (T.length  1)
: OutputRange!(T[0]), OutputRange!(T[1 .. $])
{
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3673] inheritance + if clause = no go

2010-01-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673



--- Comment #2 from Max Samukha samu...@voliacable.com 2010-01-05 04:22:26 
PST ---
Also, each interface adds sizeof(void*) bytes to the class instance size. While
recursive inheritance provides a separate interface for each type, which may be
a nice property, the overhead, for example, of OutputRange!basicTypes would be
significant.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3673] inheritance + if clause = no go

2010-01-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3673



--- Comment #3 from Andrei Alexandrescu and...@metalanguage.com 2010-01-05 
06:04:40 PST ---
Thanks, Max. Yah, the overhead is kinda crippling. I'm also thinking of
TextOutputRange, which is an alias for OutputRange!(const(char)[],
const(wchar)[], const(dchar)[], char, wchar, dchar). That would be 24 bytes to
boot. Maybe I better use a recursive mixin to generate all functions inside the
interface.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---