www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - adapt the duck - round 3

reply "Sebastian Graf" <SebastianGraf t-online.de> writes:
I was grinding through the forum for something like Kenji Hara's 
adaptTo interfaces / structuralCast [1][2], purely at compile 
time for structs in my specific case.
Those entries are all about 3 years old and I'm wondering why it 
hasn't made it into Phobos yet. Was it only that we could not 
find an appropriate name for it?


[1] 
http://forum.dlang.org/thread/mailman.286.1285099532.858.digitalmars-d puremagic.com
[2] 
http://forum.dlang.org/thread/i9ae2n$k9g$1 digitalmars.com?page=1
May 14 2013
parent reply "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Tuesday, May 14, 2013 20:02:53 Sebastian Graf wrote:
 I was grinding through the forum for something like Kenji Hara's
 adaptTo interfaces / structuralCast [1][2], purely at compile
 time for structs in my specific case.
 Those entries are all about 3 years old and I'm wondering why it
 hasn't made it into Phobos yet. Was it only that we could not
 find an appropriate name for it?
 
 
 [1]
 http://forum.dlang.org/thread/mailman.286.1285099532.858.digitalmars-d purem
 agic.com [2]
 http://forum.dlang.org/thread/i9ae2n$k9g$1 digitalmars.com?page=1
http://d.puremagic.com/issues/show_bug.cgi?id=4999 https://github.com/D-Programming-Language/phobos/pull/1265 - Jonathan M Davis
May 14 2013
parent "Sebastian Graf" <SebastianGraf t-online.de> writes:
On Tuesday, 14 May 2013 at 21:17:17 UTC, Jonathan M Davis wrote:
 http://d.puremagic.com/issues/show_bug.cgi?id=4999
 https://github.com/D-Programming-Language/phobos/pull/1265

 - Jonathan M Davis
Thanks.
May 14 2013