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


timon.g...@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.g...@gmx.ch


--- Comment #3 from timon.g...@gmx.ch 2012-05-21 02:52:54 PDT ---
(In reply to comment #2)
> Changing to a Phobos bug because the error message is perfectly clear; there's
> no compiler bug here, and nothing strange going on. Priority reduced from
> critical to normal.
> 
> CTFE is complaining because std.algorithm.swap is doing a nasty hack. I'm not
> sure if the hack is really valid for structs with postblit.

Postblit has to be called when a struct is copied, but not when it is moved.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to