How to use a char[] buffer in D

H. S. Teoh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 23 08:36:57 PDT 2016


On Thu, Jun 23, 2016 at 10:00:33AM -0400, Steven Schveighoffer via Digitalmars-d-learn wrote:
> On 6/23/16 1:59 AM, Andrew Chapman wrote:
> > Perfect, thank you! :-) Works like a charm.
> > 
> > On Wednesday, 22 June 2016 at 22:41:24 UTC, H. S. Teoh wrote:
> > > On Wed, Jun 22, 2016 at 09:57:04PM +0000, Andrew Chapman via
> > > Digitalmars-d-learn wrote:
> > 
> > > Maybe try:
> > > 
> > >     if (buffer[] in myHash) { ... }
> > > 
> > > ?  Does that make a difference?
> > > 
> > > 
> > > T
> > 
> > 
> 
> This seems like a bug in the runtime, or am I missing something?
[...]

It might well be a bug. I'll take a look.


T

-- 
Genius may have its limitations, but stupidity is not thus handicapped. -- Elbert Hubbard


More information about the Digitalmars-d-learn mailing list