https://issues.dlang.org/show_bug.cgi?id=19248
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/9cb46f842778b3b7d3cb4efe698c32765fd72220
fix Issue 19248
https://issues.dlang.org/show_bug.cgi?id=19248
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=19248
--- Comment #2 from Илья Ярошенко ---
related bug https://issues.dlang.org/show_bug.cgi?id=18957
--
https://issues.dlang.org/show_bug.cgi?id=19248
Илья Ярошенко changed:
What|Removed |Added
Severity|blocker |regression
--
https://issues.dlang.org/show_bug.cgi?id=19248
--- Comment #1 from Илья Ярошенко ---
https://github.com/dlang/dmd/pull/8700
--
https://issues.dlang.org/show_bug.cgi?id=19248
Илья Ярошенко changed:
What|Removed |Added
Keywords||C++
--
https://issues.dlang.org/show_bug.cgi?id=19248
Issue ID: 19248
Summary: Wrong mangle for C++ const STL classes/structs
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: blocker
https://issues.dlang.org/show_bug.cgi?id=3189
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|future |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=3466
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3466
--- Comment #3 from Walter Bright bugzi...@digitalmars.com 2013-01-19
23:20:52 PST ---
https://github.com/D-Programming-Language/dmd/pull/1517
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
On 09/20/2012 03:43 AM, David Currie wrote:
On Tuesday, 18 September 2012 at 18:42:33 UTC, Timon Gehr wrote:
On 09/18/2012 07:07 AM, David Currie wrote:
[ALL CAPS]
It does not matter who is the loudest guy in the room. If you have a
point to make, just make it. (Stating the conclusion is not
On Tuesday, 18 September 2012 at 18:42:33 UTC, Timon Gehr wrote:
On 09/18/2012 07:07 AM, David Currie wrote:
[ALL CAPS]
It does not matter who is the loudest guy in the room. If you
have a
point to make, just make it. (Stating the conclusion is not
making a
point. Skipping forward and
I just wanted to reiterate what Steven has said here. If you will
learn D with a plan to change it to your desires, you will be
disappointed. That is not to say give no feedback, or attempt no
change. For one, you are coming in way to late for a good number
of changes (including when we go to
On Thursday, 20 September 2012 at 01:42:26 UTC, David Currie
wrote:
On Tuesday, 18 September 2012 at 18:42:33 UTC, Timon Gehr wrote:
On 09/18/2012 07:07 AM, David Currie wrote:
[ALL CAPS]
It does not matter who is the loudest guy in the room. If you
have a
point to make, just make it.
On Tue, 18 Sep 2012 01:07:43 -0400, David Currie curri...@iinet.net.au
wrote:
On Saturday, 15 September 2012 at 10:58:07 UTC, Jonathan M Davis wrote:
I haven't announced to regular viewers that I STARTED these issues by
writing direct to Walter (twice) that I had some language extension
On 09/18/2012 07:07 AM, David Currie wrote:
[ALL CAPS]
It does not matter who is the loudest guy in the room. If you have a
point to make, just make it. (Stating the conclusion is not making a
point. Skipping forward and predicting polite refusal does not help.)
Most of the statements in the
On Saturday, 15 September 2012 at 10:58:07 UTC, Jonathan M Davis
wrote:
Classes are polymorphic. They have inheritance and virtual
functions.
Polymorphism makes no sense with a variable on the stack.
Having inheritance
with objects on the stack risks object slicing (
On Sat, 15 Sep 2012 00:19:07 +0200, David Currie curri...@iinet.net.au
wrote:
[Snip]
Because D is not C++.
--
Simen
On Saturday, September 15, 2012 00:19:07 David Currie wrote:
At the risk of appearing ignorant, I don't know everything about
D.
However in D I have noticed the following.
It is a policy decision in D that a class is ALWAYS on the heap
and passed
by REFERENCE. (I know there is a keyword to
On Saturday, September 15, 2012 03:58:50 Jonathan M Davis wrote:
You can like it or not, but separating structs and classes and making
classes reference types on the heap is a design decision based on the best
practices and common bugs in C++. And it works very well. Upon occasion, it
can be
On Sat, 15 Sep 2012 13:05:47 +0200, Jonathan M Davis jmdavisp...@gmx.com
wrote:
if you really need the extra speed of a variable not being
initialized when it's declared, then you can initialize it to void.
It's also worth noting that default-initialization may be elided when
the optimizer
At the risk of appearing ignorant, I don't know everything about
D.
However in D I have noticed the following.
It is a policy decision in D that a class is ALWAYS on the heap
and passed
by REFERENCE. (I know there is a keyword to put a class object on
the stack
but this is not facile and
On Friday, 14 September 2012 at 22:18:57 UTC, David Currie:
Could you answer me WHY??
Take a look at the D FAQ, maybe some of your questions are
answered there, this will save some time to people here.
And your questions that are missing in the FAQ are better added
there, because they are
David Currie wrote:
At the risk of appearing ignorant, I don't know everything about D.
However in D I have noticed the following.
It is a policy decision in D that a class is ALWAYS on the heap and passed
by REFERENCE. (I know there is a keyword to put a class object on the stack
but this is
http://d.puremagic.com/issues/show_bug.cgi?id=3466
Matt Peterson revcompg...@gmail.com changed:
What|Removed |Added
CC|
== Auszug aus Jonathan M Davis (jmdavisp...@gmx.com)'s Artikel
On Thursday, March 10, 2011 11:28:04 bearophile wrote:
useo:
is it possible to declare a enum where all entries are
instances of a
class (or struct), like the following:
I don't think so. Enums are compile-time constants.
useo u...@start.bg wrote:
Hey guys,
is it possible to declare a enum where all entries are instances of a
class (or struct), like the following:
class a {
...
public this(uint i) {
...
}
...
}
enum myEnum : a {
entry1 = new a(0);
entry2 = new a(1);
}
... or does
... or does enumerations only support constant-expressions? Thanks!
Yep, enum is a compile-time thing.
On Thursday, March 10, 2011 11:15:25 useo wrote:
Hey guys,
is it possible to declare a enum where all entries are instances of a
class (or struct), like the following:
class a {
...
public this(uint i) {
...
}
...
}
enum myEnum : a {
entry1 = new a(0);
useo:
is it possible to declare a enum where all entries are instances of a
class (or struct), like the following:
I don't think so. Enums are compile-time constants.
This code doesn't compile:
class A {
this(uint i) {}
}
enum myEnum : A {
entry1 = new A(0),
entry2 = new A(1)
}
void
There's also this bug where the constructor for a struct isn't called:
http://d.puremagic.com/issues/show_bug.cgi?id=5460 , and field
assignment is not disabled even with the presence of a constructor.
*I mean construction via field-by-field assignment. (I made the same
typo in the bug report, lol).
On Thursday, March 10, 2011 11:28:04 bearophile wrote:
useo:
is it possible to declare a enum where all entries are instances of a
class (or struct), like the following:
I don't think so. Enums are compile-time constants.
This code doesn't compile:
class A {
this(uint i) {}
}
Hi,
I want to specialize a template function - call it print() - for three
cases: classes, structs and arrays. Ideally I'd like something that
looks 'functional' like a proper specialization, but perhaps I need to
use static if. I'm still at the beginning of my journey with D so I'd
be grateful
Luke J. West l...@west.me.uk wrote:
Hi,
I want to specialize a template function - call it print() - for three
cases: classes, structs and arrays. Ideally I'd like something that
looks 'functional' like a proper specialization, but perhaps I need to
use static if. I'm still at the beginning
Luke J. West:
Hi,
I want to specialize a template function - call it print() - for three
cases: classes, structs and arrays. Ideally I'd like something that
looks 'functional' like a proper specialization, but perhaps I need to
use static if. I'm still at the beginning of my journey with D
Thanks for that bearophile - I'll get myself subscribed right away.
Bye for now,
Luke
On Sun, 23 Jan 2011 09:17:05 -0500, bearophile
bearophileh...@lycos.com said:
Luke J. West:
Hi,
I want to specialize a template function - call it print() - for three
cases: classes, structs
http://d.puremagic.com/issues/show_bug.cgi?id=5107
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5107
Summary: Const-shared classes/structs not typed as shared
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: patch, rejects-valid
Severity
...@gmail.com
Summary|Wrong JSON output for |Wrong JSON output for
|templated classes and |templated classes, structs,
|structs |and interfaces
--- Comment #1 from Simen Kjaeraas simen.kja...@gmail.com 2010-07-03 06:29:45
Hi,
IMHO ArrayList has a bug. Just declaring ArrayList!B bl, raises an
error. But maybe I am wrong.. Nevertheless I 've filed a ticket. In case
that I switch from class to struct also std.algorithm is involved.
class AListTest {
alias ArrayList!B BList;
BList bl;
http://d.puremagic.com/issues/show_bug.cgi?id=3189
Andrei Alexandrescu and...@metalanguage.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3189
Andrei Alexandrescu and...@metalanguage.com changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://d.puremagic.com/issues/show_bug.cgi?id=3189
Summary: `std.conv.to` : check for a custom `to` method in
classes/structs
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity
44 matches
Mail list logo