On Sep 5, 2012, at 10:56, captaindet <2k...@gmx.net> wrote:
On 2012-09-04 15:36, Andrej Mitrovic wrote:
9/4/12, Ellery Newcomer wrote:
On 09/04/2012 12:41 PM, Andrej Mitrovic wrote:
__FILE__?
It doesn't necessarily have the exact package hierarchy.
We could really use __MODULE__ then.
On Sun, Feb 5, 2012 at 1:15 PM, xancorreu wrote:
> Al 05/02/12 05:26, En/na Jose Armando Garcia ha escrit:
>>
>> On Thu, Feb 2, 2012 at 4:48 PM, xancorreu wrote:
>>>
>>> Hi,
>>>
>>> Is there any way for localizate and internationalizate messages
On Thu, Feb 2, 2012 at 4:48 PM, xancorreu wrote:
> Hi,
>
> Is there any way for localizate and internationalizate messages?
> I were shocked if D has something like Fantom
> [http://fantom.org/doc/docLang/Localization.html]. Gettext is pretty ugly
> ;-)
I just glanced at Fantom because I am very
On Mon, Jun 20, 2011 at 7:13 PM, Kai Meyer wrote:
> On 06/20/2011 03:46 PM, Jose Armando Garcia wrote:
>>
>> On Mon, Jun 20, 2011 at 6:30 PM, Jimmy Cao wrote:
>>>
>>> I helped with something last summer: an attempt at creating a wikibook
>>> for
>&
On Mon, Jun 20, 2011 at 6:30 PM, Jimmy Cao wrote:
> I helped with something last summer: an attempt at creating a wikibook for
> D. At that time, my D skills were very bad, so I had to concentrate on
> learning D first before contributing to more lessons.
> One thing that has always bothered me i
On Fri, Jun 17, 2011 at 1:05 AM, Jose Armando Garcia wrote:
> tests ~= test;
Btw, if you replace this with 'test[0] = test;' it works as expected.
The postblit ctor and the assignment operator get called and the dtor
is called twice.
It looks like the rt is not calling the postblit constructor when
concatenating arrays. For example, the following code:
import std.stdio;
struct Test
{
this(this) { writeln("copy done"); }
void opAssign(Test rhs) { writeln("assignment done"); }
~this() { writeln("destructor called"); }
On Thu, Jun 16, 2011 at 10:20 PM, Charles McAnany
wrote:
> Hm. I'm not too good on architecture - does that mean it's impossible for an
> x32 program to have access to more memory?
> Is there, maybe, an x64 C library that I could use to abstract the memory out
> (Just a huge array wrapper, basic
Hi,
I am trying to instantiate a Tuple that contains an immutable field.
Is there a way to do this with the current implementation? The
compiler gives me this error:
std/typecons.d(383): Error: can only initialize const member
_field_field_0 inside constructor
tuple_test.d(5): Error: template ins
On Mon, Jun 13, 2011 at 6:33 AM, Lloyd Dupont wrote:
> Let's learn together then! :P
> http://galador.net/codeblog/?tag=/D
>
> While my blog post are only about setting up the environment so far.. I have
> delved in the code for 2 weeks now! (Although I had some day off (work and
> programing) in
On Mon, May 30, 2011 at 11:58 PM, Jonathan M Davis wrote:
> On 2011-05-30 19:53, Nick Sabalausky wrote:
>> "Ary Manzana" wrote in message
>> news:is1hsa$p53$1...@digitalmars.com...
>>
>> > On 5/31/11 7:58 AM, Nick Sabalausky wrote:
>> >> "bearophile" wrote in message
>> >> news:is1dj6$ihb$1...@d
dmd can compile and run to follow the code:
unittest
{
spawn(&fun);
}
void fun(int i) { writeln(i); }
Which if you are lucky segfaults and if you are unlucky prints
garbage! The problem is that spawn doesn't checks that the signature
of fun matches the number and type of variadic arguments. I
12 matches
Mail list logo