This may be a manifestation of bug 1528. In the code below how
can I heap allocate a default S? I can't seem to get a call to
work.
In general structs are stack objects, but is there any problem
with using the heap to get one?
Thanks
Dan
--
import std.stdio;
Hi,
I use the implib tool (http://ftp.digitalmars.com/bup.zip) to
create a lib file from the opencv dll opencv_features2d240.dll
(x86/vc10). For allmost all other dlls the conversion is working.
But for this libary there is following error raised: DLL Exported
name too long (max 450 char).
Has
How long does the hello world program take? I guess it is just that the
D program has a slightly higher startup cost than the C program.
On Sunday, 4 November 2012 at 19:30:49 UTC, Tobias Pankrath wrote:
Sadly you have to cast, because typeof([]) is void[].
Alternatively you could define an constructor that takes void[]
but insists of the argument being empty.
Great explanation - thanks!
On 04.11.2012 21:49, Dan wrote:
This bug has no comments. The original says: The fix is obvious:
redefine postblit as this(const this); but it isn't always obvious
when looking at hundreds of lines of code
Is this accepted/correct? In the following if I include the this(const
this)
Le vendredi 02 novembre 2012 à 19:33 +0100, Andrey a écrit :
I know this isn't quite a right place for my problem, but you
need to wait uncertain amount of time for registration on the
official derelict forum, so I decided to start here.
you can open an issuer from github to discuss about
On Sunday, 4 November 2012 at 21:44:15 UTC, Tobias Pankrath wrote:
I don't think that currently qualifiers work with the postblit
constructor. See here for a related discussion.
http://forum.dlang.org/thread/CAFDvkcvvL8GxHQB=Rw9pTm-uxOKzNGVQNDv9w5Os3SkQCc=d...@mail.gmail.com
Thanks. The