On 2016-02-24 07:49, Joel wrote:
I get this:
Joels-MacBook-Pro:bin joelcnz$ ln -s /usr/local/bin/dub /usr/bin
ln: /usr/bin/dub: Operation not permitted
Joels-MacBook-Pro:bin joelcnz$
If you have OS X 10.10.x or lower you can prefix the command with
"sudo". If you have OS X 10.11 or later
On 2/23/2016 11:23 PM, Suliman wrote:
Could you add to D operators like AND OR etc instead of && ||. Words are more
readable.
Those exist in C++ and I've never seen them used outside of a test suite. That's
not encouraging.
On 2016-02-24 01:37, Martin Nowak wrote:
First beta for the 2.070.1 point release.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.070.1.html
Please report any bugs at https://issues.dlang.org
Looking good so far here.
--
/Jacob Carlborg
On Tuesday, 23 February 2016 at 20:35:16 UTC, Ola Fosheim Grøstad
wrote:
The primary issue I have with iostream is that floating point
formatting gets ugly. The "<<" works out ok for iostream in
practice, mostly because it is not common to do bit-shifts in
combination with IO.
stdout <<
On Wednesday, 24 February 2016 at 07:19:02 UTC, Walter Bright
wrote:
On 2/23/2016 12:35 PM, Ola Fosheim Grøstad wrote:
And I have to say that I find it ironic that Walter objects to
reusing operators
such as "<<" while he is reusing "!" for templates,
Hardly. ! is not an overloadable
On 2/23/2016 12:35 PM, Ola Fosheim Grøstad wrote:
And I have to say that I find it ironic that Walter objects to reusing operators
such as "<<" while he is reusing "!" for templates,
Hardly. ! is not an overloadable operator in D, and ! has no binary operator
meaning other than for template
https://issues.dlang.org/show_bug.cgi?id=15717
Issue ID: 15717
Summary: iota: "Error: cannot implicitly convert expression
(cast(int)pastLast - 1) of type int to ushort"
Product: D
Version: D2
Hardware: x86
On Saturday, 20 February 2016 at 12:01:04 UTC, Jacob Carlborg
wrote:
On 2016-02-20 04:21, Joel wrote:
How do you do symbolic links?
ln -s
Replace and with the appropriate paths.
I get this:
Joels-MacBook-Pro:bin joelcnz$ ln -s /usr/local/bin/dub /usr/bin
ln: /usr/bin/dub: Operation
https://issues.dlang.org/show_bug.cgi?id=15713
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/4852e48d1c0f5d0a2d7f4ccbebb463a86f264416
fix Issue 15713 - ctfe
https://issues.dlang.org/show_bug.cgi?id=15713
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=7517
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5b7291428e22fd356df5e9540c093252152c854d
fix Issue 7517 - Interface
On Wednesday, 24 February 2016 at 00:50:40 UTC, Nicholas Wilson
wrote:
AA's are nice in theory but the non-deterministic nature of
their order of iteration is painful...
An ordered map as the default AA implementation would be worse.
Most use cases for a hash map don't need ordering.
On Tuesday, 23 February 2016 at 20:03:30 UTC, dextorious wrote:
For instance, I am still not sure how to make it pass the -O5
switch to the LDC2 compiler and the impression I got from the
documentation is that explicit manual switches can only be
supplied for the DMD compiler.
If you're
On Tuesday, 23 February 2016 at 17:01:47 UTC, Andre wrote:
Hi,
with the newest version of Notepad++ (6.9) strings enclosed
with backticks `Hello World!` are now correctly highlighted.
Kind regards
André
And here I've been escaping double quotes for years. Didn't know
this was a thing.
https://issues.dlang.org/show_bug.cgi?id=15681
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/1d13794bc84a6af0d13f84a16baf6f881109668e
fix Issue 15681 - Nested
https://issues.dlang.org/show_bug.cgi?id=15664
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c396fd9941f873c6ed9fd5ac281621dd911d6f7a
fix Issue 15664 - incorrect
https://issues.dlang.org/show_bug.cgi?id=15674
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/89c63bf1e1a508472fc88ac355fa7ccd39fe7802
fix Issue 15674 - alias
On Tuesday, 23 February 2016 at 21:47:10 UTC, H. S. Teoh wrote:
On Tue, Feb 23, 2016 at 09:20:23PM +, Nick B via
Digitalmars-d wrote:
On Tuesday, 23 February 2016 at 18:35:47 UTC, H. S. Teoh wrote:
What I had in mind was more of a unum library that early
adopters can use to get a feel
On Sunday, 21 February 2016 at 15:18:44 UTC, ZombineDev wrote:
On Sunday, 21 February 2016 at 12:52:33 UTC, Nicholas Wilson
wrote:
[...]
I'm glad to see more people looking to create a D binding from
vk.xml!
I was also working on this
First beta for the 2.070.1 point release.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.070.1.html
Please report any bugs at https://issues.dlang.org
-Martin
https://issues.dlang.org/show_bug.cgi?id=15716
Mathias Lang changed:
What|Removed |Added
Status|NEW |RESOLVED
On Tuesday, 23 February 2016 at 20:22:19 UTC, jmh530 wrote:
On Monday, 22 February 2016 at 05:08:13 UTC, Nick B wrote:
I strongly recommend that you download the presentation
[Powerpoint, 35 pages] as there are lots of Notes with the
presentation.
I had a chance to go through the
https://issues.dlang.org/show_bug.cgi?id=15713
Kenji Hara changed:
What|Removed |Added
Keywords||CTFE, ice, pull
On 02/23/2016 07:31 AM, Josh wrote:
> My goal with the code below is to eventually have my main communicate
> with Foo and Bar classes listening for packets on a different
> address/port, each in a separate thread.
The main issue is that in D all data is thread-local by-default. main()
cannot
On Tuesday, 23 February 2016 at 19:53:52 UTC, Johan Engelen wrote:
On Monday, 22 February 2016 at 23:21:28 UTC, Jonathan M Davis
wrote:
Well, if you'll notice th list of resolved issues is going up
way faster than the list of new issues.
(To put some oil on the fire:)
But the number of
On Tuesday, 23 February 2016 at 20:03:30 UTC, dextorious wrote:
Personally, I think a few aspects of documentation for the
various compilers, dub and possibly the dlang.org website
itself could be improved, if accessibility is considered
important.
Couldn't agree more.
Being new to the
On Tuesday, 23 February 2016 at 19:43:43 UTC, rsw0x wrote:
...
How does this differ from the example I gave where the branch
is only taken if the pointer is non-null?
D doesn't prevent you from dereferencing a null pointer whereas
these scenarios should be impossible in Kotlin as well as
On Tue, Feb 23, 2016 at 09:20:23PM +, Nick B via Digitalmars-d
wrote:
> On Tuesday, 23 February 2016 at 18:35:47 UTC, H. S. Teoh wrote:
>
> >
> >This is very interesting, and looks more promising than the previous
> >unum presentation.
> >
> >While it's too early to hope for a hardware
On Tuesday, 23 February 2016 at 20:54:25 UTC, Era Scarecrow wrote:
Considering it's just an #include forcing a replacement, it
hides a little of what it's doing. Honestly && and || look fine
No, they are keywords.
http://en.cppreference.com/w/cpp/keyword/and
machine: + is add, - is sub, ~
On Tuesday, 23 February 2016 at 18:35:47 UTC, H. S. Teoh wrote:
This is very interesting, and looks more promising than the
previous unum presentation.
While it's too early to hope for a hardware implementation, I'm
interested in implementing a software emulation in D. D's
powerful
On Tuesday, 23 February 2016 at 20:35:16 UTC, Ola Fosheim Grøstad
wrote:
But in C/C++ "x->m" is a shorthand for "(*x).f".
I remember many compiling errors were I'd have to switch . with
-> and vice versa... I don't really want to return to that,
especially when you have two versions of
On 23.02.2016 21:35, Ola Fosheim Grøstad wrote:
I find it ironic that Walter objects to reusing operators such as "<<"
while he is reusing "!" for templates
No reusing and no irony here. "!" for template instantiation is a binary
usage.
On Tuesday, 23 February 2016 at 20:11:01 UTC, Era Scarecrow wrote:
c->x and c.x were basically the same. Why not use -> instead
of | ?
Sure, you can do that. Other languages use "->" for pushing
parameters.
But in C/C++ "x->m" is a shorthand for "(*x).f".
C++ also have "and" and "or" as a
On Monday, 22 February 2016 at 05:08:13 UTC, Nick B wrote:
I strongly recommend that you download the presentation
[Powerpoint, 35 pages] as there are lots of Notes with the
presentation.
I had a chance to go through the presentation a bit.
The part about SORNs is a little confusing. For
On Tuesday, 23 February 2016 at 14:07:22 UTC, Marc Schütz wrote:
On Tuesday, 23 February 2016 at 11:10:40 UTC, ixid wrote:
We really need to standard algorithms to be fast and perhaps
have separate ones for perfect technical accuracy.
While I agree with most of what you're saying, I don't
On Tuesday, 23 February 2016 at 10:16:43 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 23 February 2016 at 07:46:08 UTC, Era Scarecrow
wrote:
If | effectively does the same as . (at least that's the
impression I get, maybe I'm totally wrong), what benefit does
it give other than confusing or
On Tuesday, 23 February 2016 at 09:39:22 UTC, Adrian Matoga wrote:
On Wednesday, 10 February 2016 at 20:25:05 UTC, anonymous wrote:
On 10.02.2016 17:49, Ola Fosheim Grøstad wrote:
If you guys are going to create a
new logo based on the old one, you probably should clear it
with the
original
On Tuesday, 23 February 2016 at 11:10:40 UTC, ixid wrote:
On Monday, 22 February 2016 at 15:43:23 UTC, dextorious wrote:
I do have to wonder, however, about the default settings of
dub in this case. Having gone through its documentation, I
might still not have guessed to try the compiler
On Monday, 22 February 2016 at 23:21:28 UTC, Jonathan M Davis
wrote:
Well, if you'll notice th list of resolved issues is going up
way faster than the list of new issues.
(To put some oil on the fire:)
But the number of new issues /is/ going up. I.e. the number of
resolved issues is going
On Tuesday, 23 February 2016 at 14:58:21 UTC, Xinok wrote:
On Tuesday, 23 February 2016 at 07:18:09 UTC, rsw0x wrote:
On Tuesday, 23 February 2016 at 06:49:46 UTC, Tobias Müller
wrote:
OTOH in the examples in Kotlin/Rust the variable 'var'
changes its type
from 'int?' to plain 'int'.
In
On Mon, Feb 22, 2016 at 05:08:13AM +, Nick B via Digitalmars-d wrote:
> "For those of you who think you have already seen unums, this is a
> different approach. Every one of the slides here is completely new and
> has not been presented before the Multicore 2016 conference [in Wgtn,
> NZ]."
>
On Tuesday, 23 February 2016 at 15:12:38 UTC, John Colvin wrote:
On Tuesday, 23 February 2016 at 13:46:33 UTC, Charles wrote:
On Tuesday, 23 February 2016 at 08:49:50 UTC, John Colvin
wrote:
If you don't find people with D, this might be an
opportunity.
There is
Hi,
with the newest version of Notepad++ (6.9) strings enclosed
with backticks `Hello World!` are now correctly highlighted.
Kind regards
André
https://issues.dlang.org/show_bug.cgi?id=4763
--- Comment #4 from ag0ae...@gmail.com ---
(In reply to Andre from comment #3)
> So we narrowed it down to one point, shall I change the title to reflect
> this?
Yeah, I suppose you can do that.
> Regarding the follow up:
> Is someone in particular
On Tue, Feb 23, 2016 at 02:38:42PM +, Andre via Digitalmars-d-learn wrote:
[...]
> In case of #4763 I closed it because 2 out of 3 enhancement requests
> were fixed/solved and the 3rd was open for about 5 years, without
> recent activity, no owner, empty CC and no votes.
[...]
Sometimes
On Tuesday, 23 February 2016 at 14:07:22 UTC, Marc Schütz wrote:
On Tuesday, 23 February 2016 at 11:10:40 UTC, ixid wrote:
We really need to standard algorithms to be fast and perhaps
have separate ones for perfect technical accuracy.
While I agree with most of what you're saying, I don't
My goal with the code below is to eventually have my main
communicate with Foo and Bar classes listening for packets on a
different address/port, each in a separate thread. They would
then communicate with Foobaz and Barbaz threads respectively to
do other work. In trying to get just Foo
On Tuesday, 23 February 2016 at 13:46:33 UTC, Charles wrote:
On Tuesday, 23 February 2016 at 08:49:50 UTC, John Colvin wrote:
I saw you looking for heavy math users. I work with quite a
few actuaries, but I probably wouldn't be able to convince
them to use anything if there wasn't a way to use
On Tuesday, 23 February 2016 at 15:07:08 UTC, NX wrote:
It's arguably the right design.
When I say arguably I don't mean arguably :D
"It's not the right design in my opinion"
On Tuesday, 23 February 2016 at 13:46:33 UTC, Charles wrote:
This seems to be the opposite of what I'd need unfortunately.
The likelihood of convincing them to use D is probably zero. In
general, they're closer to mathematicians then programmers.
So was John von Neumann, :)
I probably
https://issues.dlang.org/show_bug.cgi?id=15674
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Tuesday, 23 February 2016 at 14:35:35 UTC, Adam D. Ruppe wrote:
There's no ambiguity there and no bug; it is working as
defined. alias this is only ever invoked if the outer type
doesn't fit. It does fit here, A is A, so no need to check
alias this at all.
It's arguably the right design.
On Tuesday, 23 February 2016 at 07:18:09 UTC, rsw0x wrote:
On Tuesday, 23 February 2016 at 06:49:46 UTC, Tobias Müller
wrote:
OTOH in the examples in Kotlin/Rust the variable 'var' changes
its type
from 'int?' to plain 'int'.
In Kotlin this is done with static analysis, in Rust with
rebinding
On Tuesday, 23 February 2016 at 11:04:31 UTC, Nick Treleaven
wrote:
Assuming we don't want to disallow slice.ptr in @safe code,
maybe we could have the compiler insert this code before
reading slice.ptr:
version(D_NoBoundsChecks) else
if (slice.length == 0) throw new RangeError("Unsafe
On Tuesday, 23 February 2016 at 00:13:23 UTC, ag0aep6g wrote:
On 22.02.2016 23:56, Andre wrote:
I was wondering how people in this D community think about the
number of
issues with NEW status...
It could scare individuals/organizations to start with D, when
they get
the impression that there
On Tuesday, 23 February 2016 at 11:10:40 UTC, ixid wrote:
On Monday, 22 February 2016 at 15:43:23 UTC, dextorious wrote:
I do have to wonder, however, about the default settings of
dub in this case. Having gone through its documentation, I
might still not have guessed to try the compiler
On Tuesday, 23 February 2016 at 14:29:27 UTC, NX wrote:
The deal is you can't have implicit construction like:
A a = 5; // Error
That is *explicit* construction and it is perfectly legal in D.
It is just done with constructors, not alias this. Alias this has
absolutely nothing to do with
On Tuesday, 23 February 2016 at 12:43:42 UTC, Kagamin wrote:
Don't we already have implicit conversions with alias this, so
what's the deal?
The deal is you can't have implicit construction like:
A a = 5; // Error
a = 5 // okay
struct A { int i; alias i this; }
void f(int i){}
void f(string
On Tuesday, 23 February 2016 at 11:10:17 UTC, Nicholas Wilson
wrote:
How do I iterate over the child level elements only (ignoring
the ones like VkStructureType)?
Element.childNodes gives only direct children.
You could also do
document.querySelectorAll("types > type")
to get only the tags
https://issues.dlang.org/show_bug.cgi?id=15664
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c396fd9941f873c6ed9fd5ac281621dd911d6f7a
fix Issue 15664 - incorrect
On 2/23/16 6:05 AM, Nicholas Wilson wrote:
On Tuesday, 23 February 2016 at 10:47:17 UTC, Rene Zwanenburg wrote:
On Tuesday, 23 February 2016 at 09:16:08 UTC, Nicholas Wilson wrote:
struct A
{
int blah;
}
class B
{
A* a;
this(A* _a)
{
writeln(_a)
a =_a;
}
}
On Tuesday, 23 February 2016 at 11:10:40 UTC, ixid wrote:
We really need to standard algorithms to be fast and perhaps
have separate ones for perfect technical accuracy.
While I agree with most of what you're saying, I don't think we
should prioritize performance over accuracy or
On 2/23/16 3:00 AM, Nicholas Wilson wrote:
On Tuesday, 23 February 2016 at 07:43:37 UTC, Ali Çehreli wrote:
On 02/22/2016 11:38 PM, Nicholas Wilson wrote:
I've tried with both mutable and immutable a module scope. Scope I want
is global (don't care about mutability)
Uncomment immutable if
On Tuesday, 23 February 2016 at 08:49:50 UTC, John Colvin wrote:
I saw you looking for heavy math users. I work with quite a
few actuaries, but I probably wouldn't be able to convince
them to use anything if there wasn't a way to use it with
either SAS or R. SAS can import C functions, but
On Tuesday, 23 February 2016 at 11:09:00 UTC, denizzzka wrote:
Hi!
I have a code with segfault. I decided to try to take advantage
with dub dustmite:
$ dub dustmite ~/ssd/pgator_dustmite0 --program-status=139 --
--config=my_pgator.conf --debug=true
Shells process signal exit codes in a
On Tuesday, 23 February 2016 at 11:22:23 UTC, Joakim wrote:
Then write a good XML extraction-only library and dub it. I see
no reason to include this in Phobos
You won't be able to sleep if it will be in Phobos?
I use XML and I don't like check tons of side libraries for see
which will be
On Tuesday, 23 February 2016 at 01:02:21 UTC, Jonathan M Davis
wrote:
Yeah. Sometimes having implicit conversions is great. Other
times, it creates tons of problems. C++ allows a lot of
implicit stuff, and it becomes really easy to have unexpected
conversions going on, and it can be difficult
On Tuesday, 23 February 2016 at 11:10:30 UTC, Mike Parker wrote:
I'm surprised you're able to get an executable when linking
with the import library.
I actually just tried a bunch of extern(?), extern "?"
combinations and it compiled.
If you want 32-bit COFF output from DMD, you'll need
https://issues.dlang.org/show_bug.cgi?id=4763
--- Comment #3 from Andre ---
I came to the same conclusion..
So we narrowed it down to one point, shall I change the title to reflect this?
Regarding the follow up:
Is someone in particular responsible for this library or the
On Friday, 19 February 2016 at 12:13:53 UTC, Chris wrote:
On Sunday, 3 May 2015 at 17:47:15 UTC, Joakim wrote:
On Sunday, 3 May 2015 at 17:39:48 UTC, Robert burner Schadek
wrote:
std.xml has been considered not up to specs nearly 3 years
now. Time to build a successor. I currently plan the
On Tuesday, 23 February 2016 at 05:54:06 UTC, Kai Nacke wrote:
On Sunday, 14 February 2016 at 17:30:33 UTC, Kai Nacke wrote:
Hi everyone,
LDC 0.17.0, the LLVM-based D compiler, is available for
download!
This release is based on the 2.068.2 frontend and standard
library and supports LLVM
On 22.02.2016 19:03, Nick Treleaven wrote:
On Monday, 22 February 2016 at 17:28:03 UTC, Guillaume Chatelet wrote:
static make() {
The return type is missing for the make() function:
I'm pretty sure static here works just like 'static auto'. In D I think
you can use storage classes (and even
On Tuesday, 23 February 2016 at 08:50:45 UTC, Jerry wrote:
I am using the following environment:
Windows 7
Qt 5.5
MinGW 4.9
DMD 2.69.1
DUB (with dynamicLibrary option)
Everything is x86.
I am really stuck here. Thanks on beforehand.
I'm surprised you're able to get an executable when
On Monday, 22 February 2016 at 15:43:23 UTC, dextorious wrote:
I do have to wonder, however, about the default settings of dub
in this case. Having gone through its documentation, I might
still not have guessed to try the compiler options you
provided, thereby losing out on a 2-3x performance
So the vulkan spec has a lot of stuff like
VkStructureType
sType
const void*
pNext
optional="true">VkBufferCreateFlags
flags
VkDeviceSize
Hi!
I have a code with segfault. I decided to try to take advantage
with dub dustmite:
$ dub dustmite ~/ssd/pgator_dustmite0 --program-status=139 --
--config=my_pgator.conf --debug=true
WARNING: A deprecated branch based version specification is used
for the dependency vibe-d-postgresql.
On Tuesday, 23 February 2016 at 10:47:17 UTC, Rene Zwanenburg
wrote:
On Tuesday, 23 February 2016 at 09:16:08 UTC, Nicholas Wilson
wrote:
struct A
{
int blah;
}
class B
{
A* a;
this(A* _a)
{
writeln(_a)
a =_a;
}
}
class C : B
{
this(A* _a)
{
On Friday, 19 February 2016 at 19:00:35 UTC, H. S. Teoh wrote:
Here's an existing one that plugs another hole in the cheese
grater:
https://github.com/D-Programming-Language/phobos/pull/4009
That pull mentions the issue of *arr[$..$].ptr being unsafe:
https://issues.dlang.org/show_bug.cgi?id=15681
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/1d13794bc84a6af0d13f84a16baf6f881109668e
fix Issue 15681 - Nested
On Thursday, 18 February 2016 at 15:39:01 UTC, Robert burner
Schadek wrote:
On Thursday, 18 February 2016 at 12:30:29 UTC, Andrei
Alexandrescu wrote:
Would the measuring be possible with 2995 as a dub package? --
Andrei
yes, after have synced the dub package to the PR
brought the dub
On Tuesday, 23 February 2016 at 09:16:08 UTC, Nicholas Wilson
wrote:
struct A
{
int blah;
}
class B
{
A* a;
this(A* _a)
{
writeln(_a)
a =_a;
}
}
class C : B
{
this(A* _a)
{
writeln(_a)
super(_a);
}
}
int main(string[] args)
{
A
On Tuesday, 23 February 2016 at 07:46:08 UTC, Era Scarecrow wrote:
If | effectively does the same as . (at least that's the
impression I get, maybe I'm totally wrong), what benefit does
it give other than confusing or obfuscating code?
It doesn't confuse or obfuscate code, on the contrary,
https://issues.dlang.org/show_bug.cgi?id=15490
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/b56fa1d1b02c93151f0a25d868f4459cac8d6a4d
fix Issue 15490 - Error
On Wednesday, 10 February 2016 at 20:25:05 UTC, anonymous wrote:
On 10.02.2016 17:49, Ola Fosheim Grøstad wrote:
If you guys are going to create a
new logo based on the old one, you probably should clear it
with the
original creator. On his website he has give us use rights for
non-commercial
On Tuesday, 23 February 2016 at 09:16:08 UTC, Nicholas Wilson
wrote:
struct A
{
int blah;
}
class B
{
A* a;
this(A* _a)
{
writeln(_a)
a =_a;
}
}
class C : B
{
this(A* _a)
{
writeln(_a)
super(_a);
}
}
int main(string[] args)
{
A
struct A
{
int blah;
}
class B
{
A* a;
this(A* _a)
{
writeln(_a)
a =_a;
}
}
class C : B
{
this(A* _a)
{
writeln(_a)
super(_a);
}
}
int main(string[] args)
{
A a;
writeln();
C c = new C();
}
prints
7FFF56E787F8
On Monday, 22 February 2016 at 18:03:03 UTC, Nick Treleaven wrote:
On Monday, 22 February 2016 at 17:28:03 UTC, Guillaume Chatelet
wrote:
static make() {
The return type is missing for the make() function:
I'm pretty sure static here works just like 'static auto'. In D
I think you can use
Hello guys, as the title says I'm getting a SIGSEGV when trying
to use a D DLL.
Let's take a look on this C++ code:
extern "C" __declspec(dllimport) void D_user_fillEngine(const
char* workDir, void* engine);
extern "C" __declspec(dllimport) int D_user_startUp();
extern "C"
On Tuesday, 23 February 2016 at 01:08:38 UTC, Charles wrote:
On Monday, 22 February 2016 at 21:27:31 UTC, Nick B wrote:
On Monday, 22 February 2016 at 17:15:54 UTC, Charles wrote:
[...]
Slide 12, 0101 is repeated. The top
[...]
I will check with John re this error.
[...]
Its likely
On Tuesday, 23 February 2016 at 07:43:37 UTC, Ali Çehreli wrote:
On 02/22/2016 11:38 PM, Nicholas Wilson wrote:
I've tried with both mutable and immutable a module scope.
Scope I want
is global (don't care about mutability)
Uncomment immutable if you want immutable and remove 'shared'
if
90 matches
Mail list logo