Search

September 12
DIP Ideas »
...it should be explicitly said that accessing `__tag` is `@safe`.

Ah, OK. I missed that...
September 12
DIP Ideas »
Also, the tag field itself will be visible to reflection (via `__traits(allMembers)`, which includes...
September 12
DIP Ideas »
...with the tag field included.

When the DIP says "the size of the tag field...
September 12
DIP Ideas »
...dlang.org/post/xtmwtmkhmufpzeyrsxsb@forum.dlang.org).

Tag names are optional, if you use the...
September 12
DIP Ideas »
...the existence, size and alignment of the tag field has to be known. That's...
September 12
DIP Ideas »
`__tag` is an rvalue property, and the intent is that the `size_t` it returns...
September 12
DIP Ideas »
...tag property would be a getter as opposed to a direct field accessor the tag...
September 12
DIP Ideas »
...opaque.

By "tag type" I assume you mean the type of the __tag property. Is...
September 12
DIP Ideas »
...the destructor should run any time the tag changes, even if the new field has...
September 12
DIP Ideas »
...method.

Ideally, most users would use pattern matching, and never have to check `__tag` directly.
1 2 3 4
Next ›   Last »