https://issues.dlang.org/show_bug.cgi?id=17751
Iain Buclaw changed:
What|Removed |Added
CC||ibuc...@gdcproject.org
https://issues.dlang.org/show_bug.cgi?id=17751
Walter Bright changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=17891
--- Comment #4 from ki...@gmx.net ---
(In reply to Steven Schveighoffer from comment #3)
> Is there something to do with the GC running (assuming these are all backed
> by D code)? That would fit the pattern.
I silently hoped this wouldn't be the
https://issues.dlang.org/show_bug.cgi?id=17896
--- Comment #4 from Jonathan M Davis ---
(In reply to Steven Schveighoffer from comment #3)
> Anything that uses opCast is circumventing to's builtin mechanisms anyway as
> to defers to the type "It knows better than
https://issues.dlang.org/show_bug.cgi?id=17596
alex.jercai...@gmail.com changed:
What|Removed |Added
CC||alex.jercai...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=17896
--- Comment #3 from Steven Schveighoffer ---
Anything that uses opCast is circumventing to's builtin mechanisms anyway as to
defers to the type "It knows better than me". It's no different here.
struct S1
{
string s;
auto
https://issues.dlang.org/show_bug.cgi?id=17897
--- Comment #8 from Steven Schveighoffer ---
I don't know if it's in the spec or not, but clearly, there is no reason for
the temporary not to be constructed in-place on the stack for passage into fun.
It does not need to
https://issues.dlang.org/show_bug.cgi?id=17897
--- Comment #7 from Jack Applegame ---
(In reply to Steven Schveighoffer from comment #5)
> The bug in the example is that the destructor is called twice, not that
> postblit is not called.
Not exactly. In fact, it is important
https://issues.dlang.org/show_bug.cgi?id=17897
--- Comment #6 from Steven Schveighoffer ---
Expected should read:
Bar.this(int):
fun:
Bar.~this():
--
https://issues.dlang.org/show_bug.cgi?id=17897
Steven Schveighoffer changed:
What|Removed |Added
Keywords||wrong-code
https://issues.dlang.org/show_bug.cgi?id=17897
--- Comment #4 from Simen Kjaeraas ---
(In reply to Steven Schveighoffer from comment #1)
> Postblit is not called for moves.
You're misreading the bug report (not surprising, as it was marked
incorrectly). Expanded example:
https://issues.dlang.org/show_bug.cgi?id=17897
Richard Cattermole changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=17897
--- Comment #2 from Steven Schveighoffer ---
Sorry, I didn't mean to commit so early.
A postblit is not called for a move, which is done for rvalues being sent into
a function:
import std.stdio;
struct S
{
this(this) {
https://issues.dlang.org/show_bug.cgi?id=17897
Steven Schveighoffer changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17497
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=17897
Richard Cattermole changed:
What|Removed |Added
Hardware|x86_64 |All
https://issues.dlang.org/show_bug.cgi?id=17897
Richard Cattermole changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=17897
Issue ID: 17897
Summary: Зostbit is not called for temporary structures in the
function parameters
Product: D
Version: D2
Hardware: x86_64
OS: Linux
https://issues.dlang.org/show_bug.cgi?id=7957
--- Comment #1 from RazvanN ---
PR : https://github.com/dlang/phobos/pull/5780
--
https://issues.dlang.org/show_bug.cgi?id=17833
Andreas Baumann changed:
What|Removed |Added
CC||abaum...@yahoo.com
20 matches
Mail list logo