[Issue 5219] @noheap annotation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 20 09:42:41 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5219
--- Comment #13 from bearophile_hugs at eml.cc 2013-02-20 09:42:39 PST ---
(In reply to comment #11)
> More than just annotating "no GC" or "no Heap", what would be nice is being
> able to mark any sections with the same qualifiers as functions.
This is an interesting idea, but it's essentially orthogonal to the idea of a
@noheap.
There was already a discussion about introducing @trusted{...}. So generalizing
that idea to all of them isn't a big leap.
But it's stuff for a different enhancement request:
- - - - - - - -
Code section support for @trusted, @safe, pure, nothrow
In this thread David Nadlinger has suggested a @trusted" declaration/block:
http://forum.dlang.org/thread/blrglebkzhrilxkbprgh@forum.dlang.org
if that feature will be introduced, then maybe it's worth introducing a
generalization of it, supporting the block syntax for @trusted{}, @safe{},
pure{}, nothrow{}.pure{}, nothrow{}.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list