http://d.puremagic.com/issues/show_bug.cgi?id=5219
--- Comment #13 from [email protected] 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/[email protected] 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: -------
