digitalmars.D.bugs - toString() and associative arrays
- Mitja Ursic (3/3) Jul 25 2005 Is it possible that when char[] is passed to toString() and that char[] ...
- Stewart Gordon (13/16) Jul 25 2005 No. If it's a key in more than one associative array, how would it know...
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
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