class C(T){}
class CC(T){}
struct S(T){}
struct SS(T){}
void main()
{
import std.stdio;
writeln(typeid(S!(SS!int)).name); // S!(SS!(int)).S
writeln(typeid(C!(CC!int)).name); // C!(CC).C
}
Is there a way to get the full type info in the name for a
templated class (i.e. like the struct
Here is the code:
https://gist.github.com/halida/5330197
I want to learn how to use socket in D,
and use a echo server written in ruby as echo_server.rb,
and I test it with telnet, it works fine.
and I write the client.d,
and the result is not what I expected,
and don't know what is wrong,
So an
On Sun, 07 Apr 2013 01:19:54 +0200, Timothee Cour
wrote:
[Good Stuff™]
Like bearophile said, this has been discussed numerous times before. A DIP
really should be written. (Perhaps you would do the honors?)
Two previous posts on the topic:
http://forum.dlang.org/thread/grcb74$21i9$1...@digi
On Saturday, 6 April 2013 at 20:35:54 UTC, Sebastian Graf wrote:
On Saturday, 6 April 2013 at 15:38:55 UTC, Tobias Pankrath
wrote:
Is there however some way to generate that switch with cases
for each enum member in a template, so that each case calls
(Machine)() instantiated with the
approp