On Wednesday, 8 February 2012 at 22:21:35 UTC, AaronP wrote:
On 02/08/2012 09:24 AM, Jesse Phillips wrote:
I think GtkD is stated to suck because it isn't native to
Windows or
Mac, both in look and availability.
Hmm, perhaps. Incidentally, it looks great on Linux! :P
GTK+ was created for
I've been looking into (basic) memory management within D. Through IRC
conversation and reading the article on memory management on dlang.org
(which seems to be a bit out-of-date), I've concluded that using a
global (or static member) function and emplace() in std.conv is a simple
solution for
On Tuesday, 31 January 2012 at 15:19:00 UTC, Trass3r wrote:
However, I cannot, by default, scope my custom allocations.
Any ideas?
std.typecons.scoped
I looked into this and I'm unsure of its exact use. It says,
Allocates a class object right inside the current scope which
doesn't really
I'm wanting to change the number of worker threads post creation of my
TaskPool instance. I see nothing that allows me to do this. Isn't that
abnormal for a thread pool?
In C++, they provide a mechanism to initialize class variables to a
passed value.
class Test
{
int bob;
public:
Test(int jessica) : bob(jessica) { }
};
The above basically says int this.bob = jessica; as opposed to this:
class Test
{
int bob;
public:
Test(int
On Tuesday, 24 January 2012 at 12:30:26 UTC, David Eagen wrote:
I'm trying to understand how to call a C++ library from D.
Specifically,
the Windows Update API.
My goal is rather simple in that I want to detect whether there
is a
reboot pending for the system. To do that I need to call the
On 01/22/2012 11:08 AM, bearophile wrote:
Max Klyga:
If you want to declare and initialize several variables in the for
loop, you can do it if they are of the same type:
for (int x = 0, y = 0; ...; .++x, ++y) { ... }
And if you need different types this sometimes is enough:
void main() {
On 01/22/2012 11:37 AM, Zachary Lund wrote:
On 01/22/2012 11:08 AM, bearophile wrote:
Max Klyga:
If you want to declare and initialize several variables in the for
loop, you can do it if they are of the same type:
for (int x = 0, y = 0; ...; .++x, ++y) { ... }
And if you need different