[Issue 18239] std.experimental.allocator fillWithMemcpy could use memset/wmemset for T.sizeof==1 or wint_t.sizeof

2018-01-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18239

--- Comment #1 from Nathan S.  ---
Could also use wmemset when T.sizeof == wint_t.sizeof

--


[Issue 18239] std.experimental.allocator fillWithMemcpy could use memset/wmemset for T.sizeof==1 or wint_t.sizeof

2018-01-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18239

Nathan S.  changed:

   What|Removed |Added

Summary|std.experimental.allocator  |std.experimental.allocator
   |fillWithMemcpy could use|fillWithMemcpy could use
   |memset when T.sizeof==1 |memset/wmemset for
   ||T.sizeof==1 or
   ||wint_t.sizeof

--