"Sean L. Palmer" <palmer.sean@verizon.net> wrote in message news:bg659t$1sit$1@digitaldaemon.com...Why "out"? Surely you want to preserve the prior value of wordList?Sean"Jon Frechette" <jonf4@mindspring.com> wrote in message news:bg5ulg$1lsh$1@digitaldaemon.com...This code is fine:
void foo( char [] word, out int[ char [] ] wordList )
{
if ( word in wordList ){}
}but this code:typedef int[ char [] ] T;void foo( char [] word, out T wordList )
{
if ( word in wordList ){}
}produces this error:
"rvalue of in expression must be an associative array, not T"