On Sunday, 14 August 2016 at 18:05:12 UTC, ZombineDev wrote:
Rust stugg
Exactly what I was after, thanks.
On Monday, 15 August 2016 at 20:43:59 UTC, Basile B. wrote:
I'm afraid to see people overreacting in front of a minor and
temporary problem.
This is not the first time this is a problem.
Our scanner at Remedy regularly used to block code sent to and
from Walter at the email level. Sometimes
On Friday, 12 August 2016 at 19:13:12 UTC, Andrei Alexandrescu
wrote:
I was using a large Lenovo Y70-70 laptop as a pseudo-desktop
machine and additional monitor. It's quite powerful, but its
fans would run at all times. Getting really tired of that, I
googled for the better part of an
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #9 from Eyal ---
> Or functioning as designed, just not properly documented.
> This part of TypeInfo is meant to be used internally. I don't think this
> corner case warrants a compiler change, as the current state is
On Monday, 15 August 2016 at 19:40:37 UTC, Steven Schveighoffer
wrote:
On 8/15/16 3:31 PM, Engine Machine wrote:
Suppose I have a templated type like
struct S(T) { int x; static if (T is Y) int y; }
I would like to be able to create a reference to S(T) for any
T,
struct Q
{
S!* s; // Can
https://issues.dlang.org/show_bug.cgi?id=16319
--- Comment #1 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/b96a330b77d2c947c7c9f50e9d954b31cdf3c82e
fix issue 16319
--
On 16/08/2016 3:35 AM, Seb wrote:
On Monday, 15 August 2016 at 15:25:22 UTC, rikki cattermole wrote:
On 16/08/2016 3:20 AM, Seb wrote:
On Monday, 15 August 2016 at 15:04:29 UTC, rikki cattermole wrote:
On 16/08/2016 3:01 AM, Oleg B wrote:
As replacement of std.net.curl I found
On Monday, August 15, 2016 16:34:40 Dominikus Dittes Scherkl via Digitalmars-d
wrote:
> On Sunday, 14 August 2016 at 23:51:44 UTC, Jonathan M Davis wrote:
> > On Friday, August 12, 2016 15:13:12 Andrei Alexandrescu via
> >
> > Digitalmars-d wrote:
> >> Thought this might help others looking for a
On Tuesday, 16 August 2016 at 01:28:05 UTC, Ali Çehreli wrote:
On 08/15/2016 12:09 PM, Ali Çehreli wrote:
[...]
Could you please help me understand the following results,
possibly by analyzing the produced assembly?
[...]
There seem to be two things at work here: 1) when not accessed
On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote:
Are you trying to parse arguments?
There's a lot of good stuff for it already:
https://dlang.org/phobos/std_getopt.html
https://code.dlang.org/packages/darg
https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt/
For configuration
On Tuesday, 16 August 2016 at 01:23:16 UTC, UDW wrote:
On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote:
[...]
Thanks for the suggestions Seb,
https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt/
looks very nice :).
I just thought there would be a standard library, stdclib,
On Tuesday, 16 August 2016 at 01:28:05 UTC, Ali Çehreli wrote:
for x86 dmd, the results are:
0m0.694s
0m1.176s
0m0.722s
0m1.454s
x86_64 codegen looks... not normal.
On Tuesday, 16 August 2016 at 00:34:36 UTC, Stefan Koch wrote:
On Monday, 15 August 2016 at 22:36:41 UTC, Basile B. wrote:
Last night I've done a bit of documentation work on cyclomatic
complexity. From this work it looks like the tools that do
this static analysis are only using the AST (e.g
On 08/15/2016 12:09 PM, Ali Çehreli wrote:
dmd does not allow anything larger.
Could you please help me understand the following results, possibly by
analyzing the produced assembly?
I wanted to see whether there were any performance penalties when one
used D's recommendation of using
On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote:
Are you trying to parse arguments?
There's a lot of good stuff for it already:
https://dlang.org/phobos/std_getopt.html
https://code.dlang.org/packages/darg
https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt/
For configuration
On Monday, 15 August 2016 at 22:36:41 UTC, Basile B. wrote:
Last night I've done a bit of documentation work on cyclomatic
complexity. From this work it looks like the tools that do this
static analysis are only using the AST (e.g the CC is computed
for a each single function, and function
On Monday, 15 August 2016 at 22:36:41 UTC, Basile B. wrote:
Last night I've done a bit of documentation work on cyclomatic
complexity. From this work it looks like the tools that do this
static analysis are only using the AST (e.g the CC is computed
for a each single function, and function
On Monday, 15 August 2016 at 23:58:01 UTC, Mike Parker wrote:
On Monday, 15 August 2016 at 20:43:59 UTC, Basile B. wrote:
It's not trolling (unless you define trolling as "everything
that goes againt my position"), I just exposed my arguments.
I'm afraid to see people overreacting in front of
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #8 from Steven Schveighoffer ---
(In reply to ag0aep6g from comment #7)
> I.e., it's a long-standing bug.
Or functioning as designed, just not properly documented.
> Pretty much every bug fix can be considered a
On Monday, 15 August 2016 at 20:43:59 UTC, Basile B. wrote:
It's not trolling (unless you define trolling as "everything
that goes againt my position"), I just exposed my arguments.
I'm afraid to see people overreacting in front of a minor and
temporary problem. It seems that 3 or 4 posts are
On 8/15/2016 4:30 PM, H. S. Teoh via Digitalmars-d wrote:
I'm looking forward to the day we have pervasive attribute inferrence
throughout the language. It's the only sane way to deal with
attributes, because they inevitably grow unmanageably numerous. In an
ideal world I'd say *all* attributes
On Mon, Aug 15, 2016 at 02:43:01PM -0700, Walter Bright via Digitalmars-d wrote:
> On 8/15/2016 7:48 AM, Chris Wright wrote:
> > Oh god, the attribute explosion is getting worse.
> >
> > I think at this point the proper way to use attribute-based D
> > features is to write your code without them,
On Friday, 12 August 2016 at 19:13:12 UTC, Andrei Alexandrescu
wrote:
I was using a large Lenovo Y70-70 laptop as a pseudo-desktop
machine and additional monitor. It's quite powerful, but its
fans would run at all times. Getting really tired of that, I
googled for the better part of an
https://issues.dlang.org/show_bug.cgi?id=16394
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #7 from
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #6 from Steven Schveighoffer ---
I mean it's a doc issue in that the documentation doesn't reflect what
initializer() actually does (and has always done). There isn't much to say
except that I don't think we can
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #5 from Eyal ---
I disagree, a function which has subtle corner cases that cause cryptic bugs is
never a "documentation issue". Maybe if it were called "unsafe_init_val" --
you'd know that documentation is crucial here.
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #4 from Steven Schveighoffer ---
typeid(T).initializer is not meant to be used without understanding what it
does in all cases. There are other subtle issues with it.
I think this is just a documentation issue. I
Last night I've done a bit of documentation work on cyclomatic
complexity. From this work it looks like the tools that do this
static analysis are only using the AST (e.g the CC is computed
for a each single function, and function calls inside the graph
are considered as "connected
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #3 from Eyal ---
The workaround is pretty clear.
But this is nasty! Anyone who uses typeid(T).init in a generic way (not caring
what T is) is going to be broken.
It would be better to have typeid(staticArr).init throw a
Network connectivity issues. That set of machines runs out of my house and the comcast connection
isn't happy, apparently.
On 8/15/16 12:55 PM, Lodovico Giaretta via Digitalmars-d wrote:
I don't know much about PRs and the autotester, so I'm probably wrong, but...
It looks like [1] the
https://issues.dlang.org/show_bug.cgi?id=16394
Steven Schveighoffer changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #2 from Steven Schveighoffer ---
It has been this way since the beginning (traced it back to this commit:
https://github.com/dlang/druntime/commit/1532910c769ab718a528c94c9157fecebd753c66)
Looking at the code, there
https://issues.dlang.org/show_bug.cgi?id=16394
--- Comment #1 from Eyal ---
As a result, std.algorithm:initializeAll is also buggy:
import std.stdio;
unittest {
struct Int {
~this() {}
int x = 3;
}
import std.algorithm : initializeAll;
Int[2] xs =
On Monday, 15 August 2016 at 19:55:35 UTC, Lodovico Giaretta
wrote:
It looks like [1] the autotester farm is down: most hosts have
been unreachable for more than two hours and a half, as of this
writing.
[1] https://auto-tester.puremagic.com/hosts/
Ping. Almost five hours now.
I have had a fanless desktop for 3 years now, it's a Core i7
3770k. Dunno what the power draw is, but for passive cooling I
went for
1. A specical, very well ventilated case.
2. A massive passive CPU cooler.
3. A fanless power supply.
4. A fanless graphics card (that can still drive 3x1200p
https://issues.dlang.org/show_bug.cgi?id=14740
Max Alibaev changed:
What|Removed |Added
CC||o...@ololo.im
--
https://issues.dlang.org/show_bug.cgi?id=16387
gruen_tob...@web.de changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=16387
gruen_tob...@web.de changed:
What|Removed |Added
Assignee|gruen_tob...@web.de |nob...@puremagic.com
--
On 8/15/2016 7:48 AM, Chris Wright wrote:
Oh god, the attribute explosion is getting worse.
I think at this point the proper way to use attribute-based D features is
to write your code without them, then write a tool that will add all the
attributes to your source code that it can while not
https://issues.dlang.org/show_bug.cgi?id=16394
Issue ID: 16394
Summary: TypeInfo.init() for static arrays returns single
element instead of whole array
Product: D
Version: D2
Hardware: x86_64
OS: Linux
On 8/15/2016 6:54 AM, Rory McGuire via Digitalmars-d-announce wrote:
okay nice, so that code would not compile but code such as:
void test() {
scope rnd = new Rnd; // reference semantic and stack allocated
auto rnd2 = rnd;
some_sneaky_function_that_saves_global_state(rnd);
}
would still
https://issues.dlang.org/show_bug.cgi?id=16392
Lodovico Giaretta changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16393
Issue ID: 16393
Summary: Move install.sh to a more stable machine
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=16387
gruen_tob...@web.de changed:
What|Removed |Added
Assignee|nob...@puremagic.com|gruen_tob...@web.de
--
On Monday, 15 August 2016 at 20:43:59 UTC, Basile B. wrote:
It's not trolling (unless you define trolling as "everything
that goes againt my position"), I just exposed my arguments.
I'm afraid to see people overreacting in front of a minor and
temporary problem. It seems that 3 or 4 posts are
You can apply a patch if you're willing to compile dmd from
source by doing the following:
Find the following code in file 'mtype.d' at line 4561:
bool overflow = false;
if (mulu(tbn.size(loc), d2, overflow) >=
0x100 || overflow) // put a 'reasonable' limit
On Monday, 15 August 2016 at 19:58:14 UTC, Brad Anderson wrote:
On Monday, 15 August 2016 at 18:52:03 UTC, Basile B. wrote:
On Monday, 15 August 2016 at 17:05:32 UTC, Brad Anderson wrote:
With all of the issues people are having with Windows [...]
There is already an issue created for this
https://issues.dlang.org/show_bug.cgi?id=16387
gruen_tob...@web.de changed:
What|Removed |Added
CC||gruen_tob...@web.de
--- Comment #1
On Monday, 15 August 2016 at 20:07:30 UTC, Seb wrote:
On Monday, 15 August 2016 at 19:58:14 UTC, Brad Anderson wrote:
At work we added class 3 code signing and it helped quite a
bit with McAfee's warnings about our software for end users.
In that case it was warnings about new releases of our
https://issues.dlang.org/show_bug.cgi?id=14859
This limitation is put there because of optlink (which fails to
link when you have enough static data), and is actually entirely
meaningless when combined with -m32mscoff & -m64 switches (since
other linkers handle huge static data just fine).
On Mon, Aug 15, 2016 at 4:05 PM, Dicebot via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> On 08/15/2016 04:54 PM, Rory McGuire via Digitalmars-d-announce wrote:
> > okay nice, so that code would not compile but code such as:
> > void test() {
> > scope rnd = new Rnd;
On Monday, 15 August 2016 at 19:58:14 UTC, Brad Anderson wrote:
At work we added class 3 code signing and it helped quite a bit
with McAfee's warnings about our software for end users. In
that case it was warnings about new releases of our software
that hadn't had many installs yet.
public final void foo() scope inout @nogc nothrow @safe pure {}
I think the solution is to turn every function into a no-args
template, but then you can't use virtual methods.
** sarcasm on **
Don't say that, you give them ideas ;-)
** sarcasm off **
On Monday, 15 August 2016 at 18:52:03 UTC, Basile B. wrote:
On Monday, 15 August 2016 at 17:05:32 UTC, Brad Anderson wrote:
With all of the issues people are having with Windows Defender
now would be a good time to start code signing the Windows
installer and binaries (doing this is the first
I don't know much about PRs and the autotester, so I'm probably
wrong, but...
It looks like [1] the autotester farm is down: most hosts have
been unreachable for more than two hours and a half, as of this
writing.
This may slow down the PRs, as all FreeBSD and all Windows hosts
are gone.
On Monday, 15 August 2016 at 19:08:56 UTC, Basile B. wrote:
How this is called in everyday's world ? racketeering ?
exactly.
On 8/15/16 3:31 PM, Engine Machine wrote:
Suppose I have a templated type like
struct S(T) { int x; static if (T is Y) int y; }
I would like to be able to create a reference to S(T) for any T,
struct Q
{
S!* s; // Can hold any type of S.
}
and be able to access s.x, since it is common to
Suppose I have a templated type like
struct S(T) { int x; static if (T is Y) int y; }
I would like to be able to create a reference to S(T) for any T,
struct Q
{
S!* s; // Can hold any type of S.
}
and be able to access s.x, since it is common to all S.
Can D do anything like this? It is
https://issues.dlang.org/show_bug.cgi?id=16390
Jonathan M Davis changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14027
Ali Cehreli changed:
What|Removed |Added
Keywords||industry
https://issues.dlang.org/show_bug.cgi?id=16301
Ali Cehreli changed:
What|Removed |Added
Keywords||industry
https://issues.dlang.org/show_bug.cgi?id=15094
Ali Cehreli changed:
What|Removed |Added
Keywords||industry
dmd does not allow anything larger. Shouldn't the limit depend on the
.data segment size, which can be specified by the system? Is there a
technical reason?
Observing that the limit is actually one less (note -1 below), it's
probably due to an old limitation where indexes were limited to 24
https://issues.dlang.org/show_bug.cgi?id=14451
Ali Cehreli changed:
What|Removed |Added
Keywords||industry
On Monday, 15 August 2016 at 18:52:03 UTC, Basile B. wrote:
On Monday, 15 August 2016 at 17:05:32 UTC, Brad Anderson wrote:
With all of the issues people are having with Windows Defender
now would be a good time to start code signing the Windows
installer and binaries (doing this is the first
On Monday, 15 August 2016 at 18:41:40 UTC, Basile B. wrote:
On Monday, 15 August 2016 at 11:24:38 UTC, Seb wrote:
On Monday, 15 August 2016 at 01:06:13 UTC, Seb wrote:
On Monday, 15 August 2016 at 00:07:37 UTC, luminousone wrote:
Just a heads up, chrome is throwing a virus detected error
in
On Monday, 15 August 2016 at 17:05:32 UTC, Brad Anderson wrote:
With all of the issues people are having with Windows Defender
now would be a good time to start code signing the Windows
installer and binaries (doing this is the first thing Microsoft
suggests on their page for Software
On Monday, 15 August 2016 at 11:24:38 UTC, Seb wrote:
On Monday, 15 August 2016 at 01:06:13 UTC, Seb wrote:
On Monday, 15 August 2016 at 00:07:37 UTC, luminousone wrote:
Just a heads up, chrome is throwing a virus detected error in
the dmd-2.071.1.exe file.
Wow that's the third thread:
On 08/15/2016 12:34 PM, Dominikus Dittes Scherkl wrote:
So, a computer should be quiet because it use few watts, not because it
manages to generate the heat silent.
Good point. The Airtop has a OLED on it that shows the power drawn. It
is 28-30 watt when in casual use. -- Andrei
On Monday, 15 August 2016 at 00:07:37 UTC, luminousone wrote:
Just a heads up, chrome is throwing a virus detected error in
the dmd-2.071.1.exe file.
Can you give more details about the report ?
Chrome can report that a download might be malicious if it's an
".exe", a ".rpm", a ".deb", etc.
https://issues.dlang.org/show_bug.cgi?id=16390
--- Comment #3 from b2.t...@gmx.com ---
(In reply to Lodovico Giaretta from comment #2)
> (In reply to b2.temp from comment #1)
> If this was meant to be a workaround, it doesn't seem to work for me (the
> trait returns a type, while typeof expects
On 08/14/2016 07:07 AM, Andrei Alexandrescu wrote:
> On 08/14/2016 01:18 AM, Shachar Shemesh wrote:
>> Also, part of our
>> problems with this is that introspection also does not see refs, which
>> causes the following two functions to report the same signature:
>>
>> void func1(int arg);
>>
https://issues.dlang.org/show_bug.cgi?id=16390
--- Comment #2 from Lodovico Giaretta ---
(In reply to b2.temp from comment #1)
> This is really common to use typeof() on the result of a __traits()
>
> template ParentType(T)
> {
> alias ParentType =
With all of the issues people are having with Windows Defender
now would be a good time to start code signing the Windows
installer and binaries (doing this is the first thing Microsoft
suggests on their page for Software Developers about Windows
Defender false positives).
I propose the D
On Sunday, 14 August 2016 at 23:51:44 UTC, Jonathan M Davis wrote:
On Friday, August 12, 2016 15:13:12 Andrei Alexandrescu via
Digitalmars-d wrote:
Thought this might help others looking for a fanless dekstop.
You don't have to go fanless to have a quiet computer, but
there are other pros
https://issues.dlang.org/show_bug.cgi?id=16390
b2.t...@gmx.com changed:
What|Removed |Added
CC||b2.t...@gmx.com
--- Comment #1 from
On Monday, 15 August 2016 at 15:01:13 UTC, Oleg B wrote:
Hello.
As replacement of std.net.curl I found
https://github.com/ikod/dlang-requests. Who know's about this
lib? Is this good replacement of std.net.curl?
Maybe if I need json and http requests I must fully use vibe
for these things?
On Monday, 15 August 2016 at 15:01:13 UTC, Oleg B wrote:
Hello.
In std.xml docs I read that is deprecated, [...]
For XML I found this project
https://github.com/lodo1995/experimental.xml. Is this really
candidate to std, or author just called it as he want?
Hi!
I'm the developer of that XML
On Monday, 15 August 2016 at 15:25:22 UTC, rikki cattermole wrote:
On 16/08/2016 3:20 AM, Seb wrote:
On Monday, 15 August 2016 at 15:04:29 UTC, rikki cattermole
wrote:
On 16/08/2016 3:01 AM, Oleg B wrote:
As replacement of std.net.curl I found
https://github.com/ikod/dlang-requests. Who
On Monday, 15 August 2016 at 14:40:14 UTC, Chris Wright wrote:
You still haven't defined the term "design by introspection".
Some searching around says it's the pattern of:
template Foo(T) {
static if (is(typeof(T.bar)) {
// preferred implementation takes advantage of T.bar
} else {
On 16/08/2016 3:20 AM, Seb wrote:
On Monday, 15 August 2016 at 15:04:29 UTC, rikki cattermole wrote:
On 16/08/2016 3:01 AM, Oleg B wrote:
As replacement of std.net.curl I found
https://github.com/ikod/dlang-requests. Who know's about this lib? Is
this good replacement of std.net.curl?
Nope,
On Monday, 15 August 2016 at 15:04:29 UTC, rikki cattermole wrote:
On 16/08/2016 3:01 AM, Oleg B wrote:
As replacement of std.net.curl I found
https://github.com/ikod/dlang-requests. Who know's about this
lib? Is
this good replacement of std.net.curl?
Nope, not a replacement.
Why? I like
I misunderstood the problem. The problem was that a dynamically sized
array cannot be sent as a message. So this works:
import std.concurrency;
import std.stdio;
import core.thread;
enum tidMax = 10;
struct Start { int tidCnt = 0; Tid[tidMax] tids; }
struct Msg { int
Hello.
In std.xml docs I read that is deprecated, and std.net.curl can
be deprecated too (not remember here I read about std.net.curl).
About std.json I read what it's has slow (de)serialization.
What I must use at this time?
vibe.data.json has evolution
On 16/08/2016 3:01 AM, Oleg B wrote:
Hello.
In std.xml docs I read that is deprecated, and std.net.curl can be
deprecated too (not remember here I read about std.net.curl). About
std.json I read what it's has slow (de)serialization.
What I must use at this time?
vibe.data.json has evolution
On Mon, 15 Aug 2016 06:36:00 -0700, Walter Bright wrote:
> If the method is annotated with scope, the scope applies to the 'this'
> pointer.
Oh god, the attribute explosion is getting worse.
I think at this point the proper way to use attribute-based D features is
to write your code without
On Monday, 15 August 2016 at 06:51:35 UTC, Joel wrote:
Thanks rikki.
Did you install it? Try to copy the installed files to a folder
visible to windows defender, maybe only one file is a culprit -
which one?
On Mon, 15 Aug 2016 06:43:11 +, ZombineDev wrote:
> Well, I guess it would hard for me to convince you if you don't know
> what Design by Introspection means.
Some years ago I was on #d on freenode and someone made a reference to
high-order functions. I hadn't encountered the term, so I
On Tuesday, 9 August 2016 at 15:31:21 UTC, Engine Machine wrote:
On Thursday, 13 November 2014 at 02:06:03 UTC, bachmeier wrote:
ArrayFire is open source, as announced on Hacker News and
Reddit
https://github.com/arrayfire/arrayfire
Overview here:
http://www.arrayfire.com/docs/index.htm
Or here
https://www.microsoft.com/en-us/security/portal/submission/submit.aspx
On Monday, 15 August 2016 at 01:06:13 UTC, Seb wrote:
Does someone know how we can get windows defender not to threat
dmd as a threat?
Usually antiviruses have an interface to send a sample for
analysis. That's supposed to help.
https://issues.dlang.org/show_bug.cgi?id=16392
Issue ID: 16392
Summary: drop win32.mak
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
On Mon, 15 Aug 2016 06:55:18 +, Suliman wrote:
> On Friday, 29 July 2016 at 12:09:46 UTC, Mike Parker wrote:
>> It was time for another Core Team Update on the D Blog. This time
>> around, Martin Nowak shares how he got involved with the DMD release
>> process and where you can learn more
On 08/15/2016 04:54 PM, Rory McGuire via Digitalmars-d-announce wrote:
> okay nice, so that code would not compile but code such as:
> void test() {
> scope rnd = new Rnd; // reference semantic and stack allocated
> auto rnd2 = rnd;
> some_sneaky_function_that_saves_global_state(rnd);
> }
On Mon, Aug 15, 2016 at 2:49 PM, Dicebot via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> On 08/15/2016 03:41 PM, Rory McGuire via Digitalmars-d-announce wrote:
> > scope rnd = new Rnd; // reference semantic and stack allocated
> > auto rnd2 = rnd;
> >
> > rnd.i = 2;
>
https://issues.dlang.org/show_bug.cgi?id=16389
--- Comment #3 from Andrei Alexandrescu ---
(In reply to greenify from comment #2)
> > Currently defining const and non-const versions of methods in generic code
> > is redundant and error-prone.
>
> FWIW isn't inout a solution
On Monday, 15 August 2016 at 13:10:01 UTC, Emre Temelkuran wrote:
It's easy to understand conservative programmers, you can even
use C++ for web programming but it's waste of time and it won't
give you the performance of Dropoid toolkit for Java. Also it's
reliability is depends on your
On 8/15/2016 5:17 AM, Dicebot wrote:
On 08/15/2016 02:52 PM, Walter Bright wrote:
On 8/15/2016 2:32 AM, Kagamin wrote:
On Sunday, 14 August 2016 at 20:02:35 UTC, Walter Bright wrote:
auto r = range;
You said that if a value (range in this case) is returned by scope,
its lifetime
is
https://issues.dlang.org/show_bug.cgi?id=16389
greenify changed:
What|Removed |Added
CC||greeen...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=16389
Steven Schveighoffer changed:
What|Removed |Added
CC|
1 - 100 of 138 matches
Mail list logo