[Issue 3864] Dyn array allocations can be allowed in nothrow functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 28 17:32:41 PST 2010


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


Michal Minich <michal.minich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michal.minich at gmail.com


--- Comment #1 from Michal Minich <michal.minich at gmail.com> 2010-02-28 17:32:40 PST ---
similar cases:

does no compile
void foo1 () nothrow { auto x = [4]; }

compiles ok
void foo2 () nothrow { int[] x; x ~= 4; }

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