On Tuesday, 24 October 2017 at 07:56:34 UTC, Biotronic wrote:
struct SuppressPostblit(T) { // Disguise T as a humble array. private ubyte[T.sizeof] _payload; ...
A bit too hackish for my taste, but does the job still. Thanks.
Per Nordlöw via Digitalmars-d-learn Tue, 24 Oct 2017 04:42:00 -0700
On Tuesday, 24 October 2017 at 07:56:34 UTC, Biotronic wrote:
struct SuppressPostblit(T) { // Disguise T as a humble array. private ubyte[T.sizeof] _payload; ...
A bit too hackish for my taste, but does the job still. Thanks.