[Issue 9421] (Compiler internals) Change OutBuffer's interface
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 12 20:37:11 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9421
--- Comment #8 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-12 20:37:10 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > The idea being that getting a pointer to the internal string shouldn't change
> > > the contents.
> >
> > Ok, but then what do we need scopedData for? If we're returning a char* and
> > it's not zero-terminated I don't see how it can be used.
> >
> > So far I've got this:
>
> Those casts should have been (const char*).
Or maybe they should remain (char *) if ownership is taken. :)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list