On Thursday, 27 June 2019 at 05:37:08 UTC, ChangLoong wrote:
If I want call cpp class constructer without new method, is
there a way to do that ?
If what you really want is to actually allocate using C++ new
operator from D, then that is very problematic and not portable
even across compilers
If I want call cpp class constructer without new method, is there
a way to do that ?
and also if the cpp api accept a delegate as parameter, how to
create one from d and pass to cpp ?
On Wednesday, 26 June 2019 at 19:06:24 UTC, drug wrote:
26.06.2019 20:39, bauss пишет:
auto stack = SList!int(0);
stack.removeFront();
Then something that just allowed you to do:
auto stack = SList!int;
this compiles:
```
auto stack = SList!int();
```
Maybe something else triggered it for m
26.06.2019 20:39, bauss пишет:
auto stack = SList!int(0);
stack.removeFront();
Then something that just allowed you to do:
auto stack = SList!int;
this compiles:
```
auto stack = SList!int();
```
Is there a way to achieve that instead of something hacky like
adding an initialized element and then removing it.
Ex. instead of:
auto stack = SList!int(0);
stack.removeFront();
Then something that just allowed you to do:
auto stack = SList!int; // Not allowed.
---
I feel like this makes co
On Wednesday, 26 June 2019 at 15:56:06 UTC, lili wrote:
Hi Guys:
I look for the GC source code in /usr/include/dmd dir,
unfortunately not find.
https://github.com/dlang/druntime/blob/master/src/gc/impl/conservative/gc.d
Hi Guys:
I look for the GC source code in /usr/include/dmd dir,
unfortunately not find.
After removing all paths to the linker, the error has changed :
-- Build started: Project: Test2, Configuration: Debug x64
--
Building x64\Debug\Test2.exe...
TRACKER : error TRK0005: ‚chec de localisation deÿ:
"@D:\sources_D\Test2\Test2\x64\Debug\Test2.link.rsp". Le fichier
sp‚ci
On Wednesday, 26 June 2019 at 13:57:22 UTC, Gilbert Fernandes
wrote:
I am using VS 2019 into which I have C# and C++ active.
Installed the following : DMD 2.086.1 then Visual D 0.50.0
DMD has been installed at the base of C:\ at C:\D
Created a D project, which contains a default Hello world
pro
I am using VS 2019 into which I have C# and C++ active.
Installed the following : DMD 2.086.1 then Visual D 0.50.0
DMD has been installed at the base of C:\ at C:\D
Created a D project, which contains a default Hello world program.
Build fails. Running the program fails.
VS displays the followin
On Wednesday, 26 June 2019 at 10:49:50 UTC, Den_d_y wrote:
On Wednesday, 26 June 2019 at 05:53:29 UTC, Den_d_y wrote:
On Tuesday, 25 June 2019 at 16:44:28 UTC, H. S. Teoh wrote:
On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via
Digitalmars-d-learn wrote:
[...]
[...]
Did you try this?
On Wednesday, 26 June 2019 at 05:53:29 UTC, Den_d_y wrote:
On Tuesday, 25 June 2019 at 16:44:28 UTC, H. S. Teoh wrote:
On Tue, Jun 25, 2019 at 12:08:07PM +, Den_d_y via
Digitalmars-d-learn wrote:
Hello! Here I am again, with my problem ... In my program, I
cannot manage to convert from "dou
On Tuesday, 25 June 2019 at 12:11:47 UTC, zoujiaqing wrote:
hunt-cache current version use template implemention adapter
changes.
I want use Interface to define Adapter, this master code unable
to comple.
How to do it? D programming language design flaws?
```bash
git clone https://github.co
13 matches
Mail list logo