Bug 8611 – assumeSafeAppend pure nothrow?

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-02T12:27:00Z
Last change time
2015-05-19T00:32:49Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-09-02T12:27:14Z
D pure and nothrow are transitive, this means a single not pure or throw function forbids whole chunks of programs to be not pure or not nothrow. Is it possible to make assumeSafeAppend pure and/or nothrow?
Comment #1 by dlang-bugzilla — 2015-05-19T00:32:49Z
assumeSafeAppend is now pure. assumeSafeAppend cannot be pure, apparently: https://github.com/D-Programming-Language/druntime/pull/747