On 10/19/2016 04:50 PM, Ali Çehreli wrote:
My off-topic contribution to this thread: I won't be surprised when C++
will eventually be classified as a case of mass hysteria.
That'll happen at the same time modern web technology stacks are
classified similarly.
Much as I'd love to see that
On 10/19/2016 05:13 PM, Iain Buclaw via Digitalmars-d wrote:
On 19 October 2016 at 18:01, Nick Sabalausky via Digitalmars-d
The last GDC release is stuck all the way back at DMDFE v2.066, which is
over two years old. Very few libs/projects are going to still be supporting
that, there's just
On Wednesday, 19 October 2016 at 03:27:10 UTC, Basile B. wrote:
https://github.com/Pctg-x8/nanovg-d, I even think it's been
announced here last year.
this is wrapper. my thing is complete port.
On Tuesday, 18 October 2016 at 21:00:12 UTC, Karabuta wrote:
This thing really needs a GitHub repo
never.
This is probably a general programming question. I'll follow up
here since this thread is the inspiration for my current question.
When attempting to compile simpledisplay.d, I get the following:
C:\...\dlang\arsd-master>dmd -Lgdi32.lib -L user32.lib
simpledisplay.d color.d
OPTLINK (R) for
On 18/10/16 07:34, Walter Bright wrote:
You've gotten user defined attributes in the language (and very
undemocratically, I might add!), Win64 support, VC++ symbolic debug
info, a number of improvements to C++ class support, SIMD support, SIMD
intrinsics, pragma inline, yeah, we never listen to
On Wednesday, 19 October 2016 at 20:15:14 UTC, Nordlöw wrote:
On Wednesday, 19 October 2016 at 20:13:15 UTC, Nordlöw wrote:
On Wednesday, 19 October 2016 at 20:10:04 UTC, Meta wrote:
Thanks! Add at
https://github.com/nordlow/phobos-next/blob/master/src/algorithm_ex.d#L2234
I would add this:
On 10/19/16 6:19 PM, Lurker wrote:
On Wednesday, 19 October 2016 at 17:09:35 UTC, Andrei Alexandrescu wrote:
Just made one more pass through it addressing concerns and adding a
new policy (Throw). Reviews welcome. Let's get this through Scylla and
Charybdis!
This module provides a few
On 10/19/16 9:04 PM, Walter Bright wrote:
The only way to move this forward is to write a DIP.
I'd be willing to shepherd a DIP if a couple of people want to get
serious about it. -- Andrei
On 20 October 2016 at 11:04, Walter Bright via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On 10/19/2016 5:26 PM, Manu via Digitalmars-d wrote:
>
>> Right, I was arguing this for years. Using 'scope' to make the concept
>> @safe.
>> It seemed that it in the past the key reason for
On Thursday, October 20, 2016 10:23:35 Manu via Digitalmars-d wrote:
> On 20 October 2016 at 01:38, Jonathan M Davis via Digitalmars-d <
>
> digitalmars-d@puremagic.com> wrote:
> > On Wednesday, October 19, 2016 07:55:19 Andrei Alexandrescu via
> > Digitalmars-d
> >
> > wrote:
> > > This was C++'s
On 10/19/2016 5:26 PM, Manu via Digitalmars-d wrote:
Right, I was arguing this for years. Using 'scope' to make the concept @safe.
It seemed that it in the past the key reason for rejecting it was because it was
unsafe to pass an rvalue-temp to a function where it's unknown if the function
can
On 20 October 2016 at 04:18, Namespace via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On Wednesday, 19 October 2016 at 18:15:25 UTC, Jonathan M Davis wrote:
>
>> Which then causes the problem that it becomes much less clear whether ref
>> is supposed to be modifying its argument or is
On 20 October 2016 at 01:38, Jonathan M Davis via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On Wednesday, October 19, 2016 07:55:19 Andrei Alexandrescu via
> Digitalmars-d
> wrote:
> > This was C++'s big un' that led to many complications. If the overload
> > weren't ambiguous, a
https://issues.dlang.org/show_bug.cgi?id=16607
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=16627
--- Comment #1 from Martin Nowak ---
Caused by the 2nd commit of that PR
https://github.com/dlang/dmd/pull/5500/commits/75b5b691555bef2d2f21b44821f297f93ddfbc77.
--
https://issues.dlang.org/show_bug.cgi?id=16613
Martin Nowak changed:
What|Removed |Added
Assignee|nob...@puremagic.com|c...@dawg.eu
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=16572
--- Comment #11 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/847baa9210e62dbb058b86031a2b36e3a1195440
fix Issue 16572 - can't take inout delegate
https://issues.dlang.org/show_bug.cgi?id=16563
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/07bbf2d0ef547339dee5e886a1a924691c3eb8b8
fix Issue 16563 - wrong alignment in function
https://issues.dlang.org/show_bug.cgi?id=16627
Issue ID: 16627
Summary: [Reg 2.072] struct with disabled postblit field is now
nested
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16626
--- Comment #1 from Martin Nowak ---
Seems to happen for 2 ctRegex to filter out non-alphanumerical characters.
auto nonAlnum = ctRegex!(`[^\w]`w);
enum notAlnum = ctRegex!(`[^0-9|a-z|A-Z]`, "g");
--
On Wed, 19 Oct 2016 21:19:03 +, Atila Neves wrote:
> On Wednesday, 19 October 2016 at 15:58:23 UTC, Chris Wright wrote:
>> On Wed, 19 Oct 2016 15:18:36 +, Atila Neves wrote:
>>
>>> The situation is this: if one wants move semantics, one must know when
>>> one can move. Because rvalues
https://issues.dlang.org/show_bug.cgi?id=16626
Issue ID: 16626
Summary: [Reg 2.073] recent dmd nightly runs out of memory
building Higgs
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote:
I'd say start with DMD, as it comes practically free of
dependencies […]
The same applies to LDC. If you want, you can use the
self-contained binary releases, which just require the system
linker to be present, like DMD does.
On Wednesday, 19 October 2016 at 17:09:35 UTC, Andrei
Alexandrescu wrote:
Just made one more pass through it addressing concerns and
adding a new policy (Throw). Reviews welcome. Let's get this
through Scylla and Charybdis!
This module provides a few predefined hooks (below) that add
useful
We're excited to have Ilya as our guest speaker this month!
From Ilya: I will talk about the future D runtime infrastructure which
is required for D ecosystem to be desirable for business in large scale.
A concept I would like to discuss can be called better C.Tags: Mir,
libmir/cpuid, nothrow
On 19 October 2016 at 21:25, TheGag96 via Digitalmars-d
wrote:
> On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote:
>>
>> On the other hand LDC subjectively offers a couple more D specific
>> enhancements, like turning GC allocations into stack
On Wednesday, 19 October 2016 at 15:58:23 UTC, Chris Wright wrote:
On Wed, 19 Oct 2016 15:18:36 +, Atila Neves wrote:
The situation is this: if one wants move semantics, one must
know when one can move. Because rvalues bind to const& in C++,
you never know whether the const& is an lvalue
On 19 October 2016 at 18:01, Nick Sabalausky via Digitalmars-d
wrote:
> On 10/18/2016 07:02 PM, Ali Çehreli wrote:
>>
>> I have a friend who has started writing a library in D.
>>
>> Although I recommended that he should use a recent dmd or ldc, he thinks
>> gdc is a
https://issues.dlang.org/show_bug.cgi?id=15830
b2.t...@gmx.com changed:
What|Removed |Added
CC||blouti...@gmail.com
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=11836
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On Wednesday, 19 October 2016 at 17:05:18 UTC, Gary Willoughby
wrote:
D was doing well but in the larger examples the D compiler
crashed: "Error: more than 32767 symbols in object file".
A bug of this series:
https://issues.dlang.org/show_bug.cgi?id=14315
On Wednesday, 19 October 2016 at 09:28:28 UTC, Benjiro wrote:
On Tuesday, 18 October 2016 at 20:51:24 UTC, Karabuta wrote:
[...]
True. Anybody can make a website. A website that is efficient,
takes time. A stupid travel booking website took over a year
with constant meeting to design around
On 10/19/2016 08:18 AM, Atila Neves wrote:
> Did you know there's more
> than one kind of rvalue in C++? Oh yes:
>
> http://en.cppreference.com/w/cpp/language/value_category
>
> Do we want that?
NO!
My off-topic contribution to this thread: I won't be surprised when C++
will eventually be
On Wednesday, 19 October 2016 at 17:05:18 UTC, Gary Willoughby
wrote:
crashed: "Error: more than 32767 symbols in object file".
Will that many symbols ever happen in real applications?
Anyway, nice!
On Wednesday, 19 October 2016 at 19:19:35 UTC, Jonathan M Davis
wrote:
That's an orthogonal issue. My point is that normally, a
parameter is a ref parameter, because the function is going to
use that value and potentially mutate it in the process, and
you want the original variable that was
On Wednesday, 19 October 2016 at 20:13:15 UTC, Nordlöw wrote:
On Wednesday, 19 October 2016 at 20:10:04 UTC, Meta wrote:
Thanks! Add at
https://github.com/nordlow/phobos-next/blob/master/src/algorithm_ex.d#L2234
I would add this: not sure if it's what you're intending or
not, but as `in`
On Wednesday, 19 October 2016 at 20:10:04 UTC, Meta wrote:
Thanks! Add at
https://github.com/nordlow/phobos-next/blob/master/src/algorithm_ex.d#L2234
I would add this: not sure if it's what you're intending or
not, but as `in` expands to `const scope` and the semantics of
scope will
On Wednesday, 19 October 2016 at 10:25:51 UTC, Lodovico Giaretta
wrote:
Hi!
A simple question: is there a way to list all defined version
specifications?
Perhaps not what you are looking for but on the commandline:
bin/ldc2 -v test.d
...
predefs LDC all D_Version2 assert X86_64
On Wednesday, 19 October 2016 at 19:39:46 UTC, Nordlöw wrote:
On Wednesday, 19 October 2016 at 19:01:50 UTC, Meta wrote:
https://goo.gl/t9m3YK
I'm actually pretty impressed that this kind of code can be
written in D.
Thanks! Add at
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #11 from b2.t...@gmx.com ---
The regression is still there (b2). Now that the alias is back inside the class
a derived must be instantiated in order to trigger the error. So the procedure
to see it is like in the first post:
$ if [ -d
On Wednesday, 19 October 2016 at 15:18:36 UTC, Atila Neves wrote:
My question is: do you _really_ need rvalues to bind to const
ref for performance? If not, what _do_ you need it for? Is it
an instinctive reaction against passing structs by value from
C++98 days?
imho it's the compiler job
On Wednesday, 19 October 2016 at 19:01:50 UTC, Meta wrote:
https://goo.gl/t9m3YK
I'm actually pretty impressed that this kind of code can be
written in D.
Thanks! Add at
https://github.com/nordlow/phobos-next/blob/master/src/algorithm_ex.d#L2234
On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote:
On the other hand LDC subjectively offers a couple more D
specific enhancements, like turning GC allocations into stack
allocations in trivial cases
Whoa, seriously? I know it's a bit off-topic, but do you have a
code example
Am Wed, 19 Oct 2016 11:29:50 +0200
schrieb Timon Gehr :
> Yes, the lack of rvalue references can be annoying but 'const' should be
> orthogonal to any implemented solution.
>
> There should be a way to pass rvalues by reference that are not
> prevented from being mutated,
On Wednesday, October 19, 2016 18:18:43 Namespace via Digitalmars-d wrote:
> On Wednesday, 19 October 2016 at 18:15:25 UTC, Jonathan M Davis
>
> wrote:
> > Which then causes the problem that it becomes much less clear
> > whether ref is supposed to be modifying its argument or is just
> > trying
On Wednesday, 19 October 2016 at 18:56:35 UTC, Meta wrote:
Couldn't you do this? Mind you I'm not able to test the code
right now, but I think it can work with some tweaking.
typeof(fn(E.init))[n] map1(alias fn, E, size_t n)(E[n]
container)
{
import std.algorithm.iteration : map;
On Wednesday, 19 October 2016 at 13:59:29 UTC, Nordlöw wrote:
Is there a generic way to do
typeof(fn(E.init))[] map1(alias fn, E, size_t n)(E[n] container)
{
import std.algorithm.iteration : map;
import std.array : array;
return container[].map!fn.array;
}
@safe pure nothrow unittest
{
On Wednesday, 19 October 2016 at 17:54:15 UTC, Namespace wrote:
That's more ore less the magic behind auto ref.
Thanks. Failed to find the related bit in the spec.
On Wednesday, 19 October 2016 at 18:15:25 UTC, Jonathan M Davis
wrote:
Which then causes the problem that it becomes much less clear
whether ref is supposed to be modifying its argument or is just
trying to avoid copying it - though good documentation can
mitigate that problem.
- Jonathan M
On Wednesday, October 19, 2016 12:48:54 Andrei Alexandrescu via Digitalmars-d
wrote:
> On 10/19/2016 11:38 AM, Jonathan M Davis via Digitalmars-d wrote:
> > On Wednesday, October 19, 2016 07:55:19 Andrei Alexandrescu via
> > Digitalmars-d>
> > wrote:
> >> This was C++'s big un' that led to many
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #10 from Martin Nowak ---
Just tested
https://github.com/BBasile/kheops/commit/a00f300c4281b2d4aaf95e7fabde48d3dc3816e9.
This commit did build with 2.070.2, 2.071.2, and still builds with 2.072.0-b2.
Also dub test does pass
On Wednesday, 19 October 2016 at 17:42:39 UTC, Guillaume Piolat
wrote:
On Tuesday, 18 October 2016 at 06:30:15 UTC, Namespace wrote:
On Tuesday, 18 October 2016 at 02:54:08 UTC, Manu wrote:
I just want to be able to pass an rvalue to a function that
receives a
const ref... that's why I came to
On Tuesday, 18 October 2016 at 06:30:15 UTC, Namespace wrote:
On Tuesday, 18 October 2016 at 02:54:08 UTC, Manu wrote:
I just want to be able to pass an rvalue to a function that
receives a
const ref... that's why I came to this forum in the first
place like,
7 years ago. 7 years later...
https://issues.dlang.org/show_bug.cgi?id=16622
--- Comment #2 from robert...@googlemail.com ---
doesn't matter what is thrown if the stack is corrupted :)
void main() {
scope(exit) {}
scope(exit) {throw new Exception("kab00m!");}; return;
}
--
This was posted on twitter a while ago:
Comparing compilation time of random code in C++, D, Go, Pascal
and Rust
http://imgur.com/a/jQUav
D was doing well but in the larger examples the D compiler
crashed: "Error: more than 32767 symbols in object file".
Just made one more pass through it addressing concerns and adding a new
policy (Throw). Reviews welcome. Let's get this through Scylla and
Charybdis!
Code: https://github.com/dlang/phobos/pull/4613
Dox:
On Tuesday, 18 October 2016 at 14:09:14 UTC, Seb wrote:
Hi all,
this month the Munich D Meetup [1] will cover the recent buzz
about the "Numerical age in D". For example in matrix-matrix
multiplication Mir GLAS beat the OpenBLAS and Eigen math
libraries [2].
We will meet next Wednesday
On 19 Oct 2016 17:46, "Stefan Koch via Digitalmars-d-announce" <
digitalmars-d-announce@puremagic.com> wrote:
>
> On Wednesday, 19 October 2016 at 07:11:24 UTC, Nordlöw wrote:
>>
>> On Sunday, 25 September 2016 at 20:47:41 UTC, Stefan Koch wrote:
>>>
>>> If all goes well there will be a separate
On 10/19/2016 11:38 AM, Jonathan M Davis via Digitalmars-d wrote:
On Wednesday, October 19, 2016 07:55:19 Andrei Alexandrescu via Digitalmars-d
wrote:
This was C++'s big un' that led to many complications. If the overload
weren't ambiguous, a large part of rvalue references would have been
I would like to use a library with a c interface from D (gdal
actually), but I can't find any bindings. I've looked at htod,
but I also see that gdal has project maintained SWIG interfaces
and SWIG claims to work with D (both D1 and D2).
So I installed the latest SWIG, but I haven't been able
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
However, for any reason, there is no code snippets or sample
codes available
On Wednesday, 19 October 2016 at 15:28:25 UTC, Benjamin Thaut
wrote:
I would like to use std.paralellism.TaskPool to schedule
various tasks I create. The problem however is that these tasks
don't have a lifetime which is bound to any function scope I
have. So I need to create a new task object
On Wednesday, 19 October 2016 at 15:18:36 UTC, Atila Neves wrote:
Yes, it's a stupid example. But ldc2 -O3 gives me this for
`silly`:
Great example, thanks, please more of that :)
https://github.com/ldc-developers/ldc/issues/1842
cheers,
Johan
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
[...]
I've never used SQLite from D, but Adam Ruppe has an interface
with an
Hi All,
Sorry for the late notice but the October Berlin D Meetup will be
happening at 20:00 on this Friday the 21st of October at Berlin
Co-Op (http://co-up.de/) on the fifth floor.
This month Stefan K is going to give a quick introduction to his
new llvm-backend followed by some time for
On 10/18/2016 07:02 PM, Ali Çehreli wrote:
I have a friend who has started writing a library in D.
Although I recommended that he should use a recent dmd or ldc, he thinks
gdc is a better candidate because it's "available to the masses" through
Linux distros similar to how gcc is. Although he
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
However, for any reason, there is no code snippets or sample
codes available there. So, I am stucked.
I have the following sample structure table:
On Wed, 19 Oct 2016 15:18:36 +, Atila Neves wrote:
> The situation is this: if one wants move semantics, one must know when
> one can move. Because rvalues bind to const& in C++, you never know
> whether the const& is an lvalue or rvalue.
To clarify:
You copy lvalues instead of moving them.
https://issues.dlang.org/show_bug.cgi?id=16625
Martin Nowak changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from
On Wednesday, 19 October 2016 at 07:11:24 UTC, Nordlöw wrote:
On Sunday, 25 September 2016 at 20:47:41 UTC, Stefan Koch wrote:
If all goes well there will be a separate nightly release
build from the newCTFE branch, sometime in October.
I hope to get alpha bug reports that way.
Have you
On Wednesday, October 19, 2016 07:55:19 Andrei Alexandrescu via Digitalmars-d
wrote:
> This was C++'s big un' that led to many complications. If the overload
> weren't ambiguous, a large part of rvalue references would have been
> unneeded. (Universal references would still have been necessary
I would like to use std.paralellism.TaskPool to schedule various
tasks I create. The problem however is that these tasks don't
have a lifetime which is bound to any function scope I have. So I
need to create a new task object on the heap and push it into a
array for bookkeeping. The problem
New post since the the last one was already off-topic. Continued
from:
http://forum.dlang.org/post/nu7mv8$mqu$1...@digitalmars.com
I get the feeling that people are talking past each other. I'm
going to give my view of the situation and everybody can correct
me if I'm wrong / throw tomatoes
https://issues.dlang.org/show_bug.cgi?id=15881
--- Comment #3 from John Hall ---
If I were designing it from the start, I probably would have used a function
like
bool approxEqual(T, U, V)(T lhs, U rhs, V maxDiff, bool isAbsolute = FALSE);
This way you can easily
On Wednesday, 19 October 2016 at 13:16:08 UTC, Daniel Kozak wrote:
[...]
Thank you. I didn't know about dmd.conf.
Do you happen to know which options should I use to disable PIE
generation? -L-no-pie does not work, so I'm stuck with producing
PIE executables (which is not bad per se, but as
Is there a generic way to do
typeof(fn(E.init))[] map1(alias fn, E, size_t n)(E[n] container)
{
import std.algorithm.iteration : map;
import std.array : array;
return container[].map!fn.array;
}
@safe pure nothrow unittest
{
int[42] c;
auto result = map1!(_ => _^2)(c);
}
but with
On Wednesday, 19 October 2016 at 11:30:03 UTC, rikki cattermole
wrote:
On 20/10/2016 12:08 AM, Andrei Alexandrescu wrote:
On that note, maybe we should setup a 'real code' pool so
people can see real code, preferably on a few files big that
does a specific but useful task.
Actually, that'd
Dne 19.10.2016 v 14:51 Lodovico Giaretta via Digitalmars-d napsal(a):
Hi!
As you might have noticed, Ubuntu 16.10 joins the community of
hardened systems by shipping GCC 6.2 with PIE enabled by default. This
is a wonderful security choice, but it comes with some problems when
one tries to
Hi!
As you might have noticed, Ubuntu 16.10 joins the community of
hardened systems by shipping GCC 6.2 with PIE enabled by default.
This is a wonderful security choice, but it comes with some
problems when one tries to use DMD. Here is what happened to me.
1) Trying to unittest
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #9 from b2.t...@gmx.com ---
(In reply to Martin Nowak from comment #8)
> Well your code doesn't build with any of the past versions of the compiler,
> b/c of the template PublishedObjectArray!(CustomControl) being recursively
> used in a
https://issues.dlang.org/show_bug.cgi?id=15881
John Colvin changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #8 from Martin Nowak ---
Well your code doesn't build with any of the past versions of the compiler, b/c
of the template PublishedObjectArray!(CustomControl) being recursively used in
a field of CustomControl.
Can you
https://issues.dlang.org/show_bug.cgi?id=16625
Issue ID: 16625
Summary: [Reg 2.072] new and previously undeprecated switch
case fallthrough error
Product: D
Version: D2
Hardware: All
OS: All
On Wednesday, 19 October 2016 at 10:21:43 UTC, Dejan Lekic wrote:
because GDC is not yet merged into GCC.
there is absolutely no reason to do this. while today the
question of syncing gdc frontend with dmd is only a question of
manpower, with such a merge gdc will *always* be behind, stucked
On 10/19/16 1:47 AM, Manu via Digitalmars-d wrote:
On 19 October 2016 at 06:22, Andrei Alexandrescu via Digitalmars-d
> wrote:
On 10/18/2016 04:15 PM, Atila Neves wrote:
I think I get it; I'm just not sure given the
On Wednesday, 19 October 2016 at 10:15:49 UTC, Daniel Kozak wrote:
Not true, as my previos comment mentioned almost every popular
distro nowdays have ldc and gdc in repositories. But only few
of them have dmd
most of the distros just can't. they with to repackage/rebuild
it, and boom! it is
On 10/19/16 5:11 AM, Ethan Watson wrote:
On Wednesday, 19 October 2016 at 05:41:17 UTC, Manu wrote:
People just want to be able to do this:
void f(ref const(Vector) v);
f(v1 + v2);
or:
f(Vector(10,20,30));
That is all. The rval produces a temporary, and the temporary is
passed to the
On Wednesday, 19 October 2016 at 10:25:51 UTC, Lodovico Giaretta
wrote:
Hi!
A simple question: is there a way to list all defined version
specifications?
Something like:
pragma(msg, __traits(allVersions));
Example output (DMD on Ubuntu x64, release build):
[all,
On 20/10/2016 12:08 AM, Andrei Alexandrescu wrote:
On 10/19/16 5:28 AM, Benjiro wrote:
No offense to Andrei, while his is funny, he is simply thinking above my
head. Walter is actually better at explain things.
None taken! And thanks for your feedback. I think you have an easy means
of
On Wednesday, 19 October 2016 at 08:34:57 UTC, Benjamin Thaut
wrote:
Lets assume I have a allocator which cains together multiple
building blocks from std.experimental.allocator and at the end
there is a mallocator providing the underlying memory. Now I
alloacte a type which contains a pointer
https://issues.dlang.org/show_bug.cgi?id=11594
Nemanja Boric <4bur...@gmail.com> changed:
What|Removed |Added
CC||4bur...@gmail.com
--
On 10/19/16 5:28 AM, Benjiro wrote:
No offense to Andrei, while his is funny, he is simply thinking above my
head. Walter is actually better at explain things.
None taken! And thanks for your feedback. I think you have an easy means
of helping progress here. Simply send more code snippets for
https://issues.dlang.org/show_bug.cgi?id=16624
Issue ID: 16624
Summary: std.path.setExtension ddoc comment is strangely
formated
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Tuesday, 18 October 2016 at 18:03:58 UTC, Andrei Alexandrescu
wrote:
Interesting work:
http://concurrencyfreaks.blogspot.com/2016/10/crturn-queue-first-mpmc-memory.html -- Andrei
I could not help but paste something from the paper: "We chose
C++14 because
it is a native language that is
Better:
void f(ref Vector v);
void f(Vector v) { f(v); }
f(Vector(10,20,30));
Hi!
A simple question: is there a way to list all defined version
specifications?
Something like:
pragma(msg, __traits(allVersions));
Example output (DMD on Ubuntu x64, release build):
[all, D_InlineAsm_X86_64, X86_64, Posix, linux, DigitalMars,
CRuntime_Glibc, D_Version2,
Dne 19.10.2016 v 12:15 Daniel Kozak napsal(a):
Dne 19.10.2016 v 12:05 bachmeier via Digitalmars-d napsal(a):
On Wednesday, 19 October 2016 at 07:37:33 UTC, qznc wrote:
On Wednesday, 19 October 2016 at 00:07:12 UTC, bachmeier wrote:
According to this page
https://gdcproject.org/downloads/
On Tuesday, 18 October 2016 at 23:02:28 UTC, Ali Çehreli wrote:
I have a friend who has started writing a library in D.
Although I recommended that he should use a recent dmd or ldc,
he thinks gdc is a better candidate because it's "available to
the masses" through Linux distros similar to
On 10/19/2016 2:11 AM, Ethan Watson wrote:
On Wednesday, 19 October 2016 at 05:41:17 UTC, Manu wrote:
People just want to be able to do this:
void f(ref const(Vector) v);
f(v1 + v2);
or:
f(Vector(10,20,30));
That is all. The rval produces a temporary, and the temporary is passed to
1 - 100 of 124 matches
Mail list logo