[Issue 5212] no escape analysis for typesafe variadic function arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 19 16:00:35 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5212



--- Comment #12 from bearophile_hugs at eml.cc 2013-04-19 16:00:33 PDT ---
This topic was discussed again in D.learn:

http://forum.dlang.org/thread/whlxkcbvkldtmfezucts@forum.dlang.org

An improvement of my idea is that when you use "scope":

this(scope int[] args_...) {

The compiler doesn't perfom the dup (and doesn't allow you to escape the data).

-- 
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