Our Sister
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 27 14:02:10 PDT 2016
On Friday, 27 May 2016 at 13:32:30 UTC, Andrei Alexandrescu wrote:
> On 5/27/16 7:07 AM, Marc Schütz wrote:
>> On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu
>> wrote:
>>> RFC: what primitives should RCStr have?
>>
>> It should _safely_ convert to `const(char)[]`.
>
> That is not possible, sorry. -- Andrei
I wonder if it could...
For a while now I've wondered why there isn't an option to
include flags to every type (for debugging)? The flags could
relay a lot of information, like if a variable was originally
immutable, const, shared, other? If it was originally allocated
using the GC, malloc, C/C++/Other or stack. If it used a
constructor, init, or not at all (= void)? Along with control
options like where/when an assignment tries to happen, copies
it's state (or it's variables with indirection), or printing an
output each time it changes, etc.
With the current state of things, I'll just take your word on it.
More information about the Digitalmars-d
mailing list