Bug 9824 – Emplace is broken

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-28T04:30:00Z
Last change time
2015-06-09T05:15:10Z
Keywords
wrong-code
Assigned to
monarchdodra
Creator
monarchdodra

Comments

Comment #0 by monarchdodra — 2013-03-28T04:30:01Z
Filing this because apparently it hasn't been filed yet. Amongst others: - Calls elaborate opAssign - Fails on objects with disabled opAssign - Fails to pre-blit T.init when using opAssign - Fails on no-arg static arrays - Fails to build from arg with alias this - Doesn't always call the right construction scheme - Calls static opCall Proposed fix: https://github.com/D-Programming-Language/phobos/pull/1082/files
Comment #1 by code — 2013-08-28T01:41:35Z