www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - toString() and associative arrays

reply Mitja Ursic <Mitja_member pathlink.com> writes:
Is it possible that when char[] is passed to toString() and that char[] is a key
in an associative array, toString() returns a char[] which contains .key and
value instead of just .key?
Jul 25 2005
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Mitja Ursic wrote:
 Is it possible that when char[] is passed to toString() and that char[] is a
key
 in an associative array, toString() returns a char[] which contains .key and
 value instead of just .key?
No. If it's a key in more than one associative array, how would it know which one you want? I'm guessing you didn't mean to post this to .bugs.... Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Jul 25 2005