[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
https://issues.dlang.org/show_bug.cgi?id=6333 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/0c87ca709a5386eaebc900ae9aca4ab585e1facc fix Issue 6333 - The 'capacity' function is not pure/nothrow/@safe https://github.com/dlang/druntime/commit/3ac2b3b97347fa444c627d17bbeae0ddc22b01a8 Merge pull request #1588 from WalterBright/fix6333 fix Issue 6333 - The 'capacity' function is not pure/nothrow/@safe --
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
https://issues.dlang.org/show_bug.cgi?id=6333 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
https://issues.dlang.org/show_bug.cgi?id=6333 --- Comment #4 from Walter Bright--- https://github.com/dlang/druntime/pull/1588 --
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
https://issues.dlang.org/show_bug.cgi?id=6333 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #3 from Walter Bright --- The error is now down to: test2.d(3): Error: safe function 'test2.f6333' cannot call system function 'object.capacity!int.capacity' --
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
https://issues.dlang.org/show_bug.cgi?id=6333 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||safe CC||hst...@quickfur.ath.cx --
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
http://d.puremagic.com/issues/show_bug.cgi?id=6333 Rob Jacques sandf...@jhu.edu changed: What|Removed |Added Keywords||pull CC||sandf...@jhu.edu --- Comment #2 from Rob Jacques sandf...@jhu.edu 2012-02-16 14:28:32 PST --- I wrote a patch which address this for capacity and reserve. Here's pull request: https://github.com/D-Programming-Language/druntime/pull/154 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6333] The 'capacity' function is not pure/nothrow/@safe.
http://d.puremagic.com/issues/show_bug.cgi?id=6333 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #1 from Steven Schveighoffer schvei...@yahoo.com 2011-07-18 07:34:13 PDT --- I don't know if capacity can be pure. I haven't thought about the implications of making it pure, maybe there is a way. It seems like a reasonable property. However, it could technically be nothrow. However, it's technically an alias for arr.reserve(0), and reserve could definitely throw. I'm unsure how to deal with that. Maybe I need to separate the runtime function into two, one that's pure nothrow, the other which might allocate memory. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---