On 18 February 2012 05:30, Jonathan M Davis wrote:
> On Friday, February 17, 2012 14:44:42 Mars wrote:
>> On Friday, 17 February 2012 at 13:33:25 UTC, James Miller wrote:
>> > AAs don't keep the key order, so when you delete something out
>> > of it,
>> > what ever system iterates to the next poin
On 20 February 2012 21:34, Dmitry Olshansky wrote:
> 08.02.2012 13:07, James Miller пишет:
>>
>> Hi,
>>
>> I am using std.regex and using the named matches. I would like to be
>> able to get at the names that have matched, since this is library
>> code.
>>
>> e.g.
>>
>> auto m = match("test/2"
Timon Gehr:
> T outer(T)(T function(in T) pure foo) pure {
> immutable fooTick = foo;
> pure int inner() {
> return fooTick(5); // line 3
> }
> return inner();
> }
> int sqr(in int x) pure {
> return x * x;
> }
> void main() {
> assert(outer(&sqr) == 25); /
On Mon, 20 Feb 2012 22:26:58 +0100, Mike Wey wrote:
On 02/20/2012 09:49 PM, simendsjo wrote:
On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo
wrote:
I've tried the following using dmd 58 and trunk - both -m64 on kubuntu.
Any idea what I'm doing wrong?
import std.loader;
void main(string[]
On 02/20/2012 09:49 PM, simendsjo wrote:
On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote:
I've tried the following using dmd 58 and trunk - both -m64 on kubuntu.
Any idea what I'm doing wrong?
import std.loader;
void main(string[] args)
{
auto res = ExeModule_Init();
assert(res == 0);
sc
On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote:
I've tried the following using dmd 58 and trunk - both -m64 on kubuntu.
Any idea what I'm doing wrong?
import std.loader;
void main(string[] args)
{
auto res = ExeModule_Init();
assert(res == 0);
scope(exit) ExeModule_Uninit(
I've tried the following using dmd 58 and trunk - both -m64 on kubuntu.
Any idea what I'm doing wrong?
import std.loader;
void main(string[] args)
{
auto res = ExeModule_Init();
assert(res == 0);
scope(exit) ExeModule_Uninit();
auto mod = ExeModule_Load("./libtcod.so");
}
$ dmd-
On 02/20/2012 02:26 PM, bearophile wrote:
This code looks interesting (maybe this code is also able to spot a bug in DMD,
or it is able to show something I have not fully understood in D). Do you know
if there are interesting ways to compile it?
T outer(T)(T function(in T) pure foo) pure {
This code looks interesting (maybe this code is also able to spot a bug in DMD,
or it is able to show something I have not fully understood in D). Do you know
if there are interesting ways to compile it?
T outer(T)(T function(in T) pure foo) pure {
pure int inner() {
return foo(5);
Janthinidae:
> Thanks to a reddit thread I stumbled over D and thought I should give
> it a chance.
Welcome here then. Your post is quite interesting, your questions are complex.
> I'm currently working on project where hard RT
> requirements matter. In most places the GC is not suitable.
Plea
On Sunday, 19 February 2012 at 11:39:15 UTC, kraybourne wrote:
On 2/19/12 09:20 , Tyro[a.c.edwards] wrote:
Hi all,
I've just installed DMD 2.058 and attempted to compile a
little script
but was greeted with the following error:
gcc: Invalid argument
I used the .dmg installer from
http://ww
On Sun, 19 Feb 2012 23:02:21 +0100, Kiith-Sa <4...@theanswer.com> wrote:
On Sunday, 19 February 2012 at 20:09:58 UTC, simendsjo wrote:
On Sun, 19 Feb 2012 17:00:37 +0100, Kiith-Sa <4...@theanswer.com> wrote:
Thanks. supertab and autoComplPop seems really nice.
A couple of other stuff to add
scope auto e1 = new EntryInt();
Foo = e1.toFoo();
You don't need auto there.
And scope is deprecated, use std.typecons' scoped
08.02.2012 13:07, James Miller пишет:
Hi,
I am using std.regex and using the named matches. I would like to be
able to get at the names that have matched, since this is library
code.
e.g.
auto m = match("test/2", regex(r"(?P\w+)/(?P\d)"));
//either
auto names = m.names;
//o
14 matches
Mail list logo