What is the point of D_Version2
    Derek Parnell 
    derek at psych.ward
       
    Sun Sep  2 05:50:32 PDT 2007
    
    
  
Okay, I just don't get it.
This code below doesn't compile in V1 dmd.
version(D_Version2)
{
    alias const(wchar)[] wstring;
    alias const(dchar)[] dstring;
}
else
{
    alias char[] string;
    alias wchar[] wstring;
    alias dchar[] dstring;
}
I can understand why - because the first two alias declarations have
invalid V1 syntax - but doesn't that make the whole D_Version2 thing
pointless?
-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
    
    
More information about the Digitalmars-d-learn
mailing list