How to use a char[] buffer in D

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 22 15:23:20 PDT 2016


On 06/22/2016 02:57 PM, Andrew Chapman wrote:

 > Code such as:
 >
 > if(buffer in myHash) {
 >
 > }
 >
 > throws an access violation.  A string value works without error.

Does it throw an exception? Can you reproduce the issue with a short 
program?

Ali



More information about the Digitalmars-d-learn mailing list