digitalmars.D - V2 Initializing char variables
- Steve Teale (6/6) Jul 06 2007 So I can't use
So I can't use char da = "abc" any more because "abc" is immutable. Presumably I do char da = "abc".dup; Since the compiler knows I can't do this would it do any harm to attribute a different meaning to da = "abc"; and have the dup implied? One less thing to fix in existing code. On todays popular subject, I'd just like to note that it took me maybe half an hour to convert around 3000 lines of my odbcd code to V2, mainly by just substituting 'string' for 'char'. Quite painless really.
Jul 06 2007