Avoiding const?

ixid nuaccount at gmail.com
Tue Feb 21 17:13:09 PST 2012


I apologize for what I'm sure is a very basic question. How 
should I do this elegantly?

	bool set[char[]];
         //Stuff
	char[][] words = set.keys;

It gives the error:
Error: cannot implicitly convert expression (set.keys()) of type 
const(char)[][] to char[][]
and I'm not sure why I can't copy const data to normal data.


More information about the Digitalmars-d-learn mailing list