Bug 13828 – std.random not @nogc aware

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-12-07T13:04:22Z
Last change time
2020-12-19T02:45:57Z
Assigned to
No Owner
Creator
ponce

Comments

Comment #0 by aliloko — 2014-12-07T13:04:22Z
std.random doesn't contain "@nogc". I stumbled upon it since I have @nogc audio callbacks that involves noise generator that calls std.random.uniform, and this function isn't @nogc.
Comment #1 by ben.james.jones — 2019-04-15T19:58:19Z
Seems like this is fixed now, with a lot coming from this commit: https://github.com/dlang/phobos/commit/77fd9145e96ca096c026f18fa6833b62bc704192#diff-713ce153554afc99a07767cc8ba940ae Can this be closed?
Comment #2 by aliloko — 2020-12-19T01:48:59Z
Yes, absolutely.