"Ary Manzana" wrote in message
news:j8buhd$1s80$1...@digitalmars.com...
> On 10/27/11 8:38 AM, Nick Sabalausky wrote:
>> "Ary Manzana" wrote in message
>> news:j89gle$9nn$1...@digitalmars.com...
>>> On 10/26/11 1:28 PM, Jonathan M Davis wrote:
On Wednesday, October 26, 2011 09:00 Dominic Jo
But what if i had something like this:
abstract class A {
package:
abstract void _test() const;
}
class B : public A {
package:
override void _test() const { writeln("Call B::test"); }
}
class C {
public:
void do_something(const B b) {
b._test();
}
}
That only work if i d
On Mon, 24 Oct 2011 13:15:57 +0200, Jordi Sayol wrote:
> Al 23/10/11 07:35, En/na Adrian Mercieca ha escrit:
>> Hi all,
>>
>> I would be interested in having a closer look at gtkD. Is there any
>> documentation/tutorial available anywhere?
>>
>> Thanks.
>>
>>
> Here You can find a GtkD tutoria
So it seems this is an issue with a newer signals implementation.
The old one works:
import std.signals;
struct Foo
{
mixin Signal!(int) sig;
}
class Bar
{
void x(string) { }
void x(int) { }
}
void main()
{
Foo foo;
auto bar = new Bar;
foo.sig.connect(&bar.x);
foo.si
On 10/27/11 8:38 AM, Nick Sabalausky wrote:
"Ary Manzana" wrote in message
news:j89gle$9nn$1...@digitalmars.com...
On 10/26/11 1:28 PM, Jonathan M Davis wrote:
On Wednesday, October 26, 2011 09:00 Dominic Jones wrote:
Also an plain array is a good stack. :)
I'd rather not use a plain array
"Steven Schveighoffer" , dans le message (digitalmars.D.learn:30255), a
écrit :
> On Fri, 21 Oct 2011 11:20:01 -0400, Christophe
> wrote:
>
>> "Daniel Murphy" , dans le message (digitalmars.D.learn:30139), a écrit :
>>> "bearophile" wrote in message
>>> news:j7jepi$prp$1...@digitalmars.com...
Andrej Mitrovic , dans le message (digitalmars.D.learn:30286), a écrit :
> class Foo
> {
> void func(double) { }
> void func(int) { }
>
> void set(T)(T handler) { dg = handler; }
> void delegate(int) dg;
> }
>
> void main()
> {
> auto foo = new Foo;
> foo.set(&foo.func);
On Thu, 27 Oct 2011 08:00:31 -0400, Nick Sabalausky wrote:
"Dominic Jones" wrote in message
news:j89arh$2ua3$1...@digitalmars.com...
Also an plain array is a good stack. :)
I'd rather not use a plain array because (I assume) that when I push
or pop using arrays, a swap array is created to r
"Nick Sabalausky" , dans le message (digitalmars.D.learn:30309), a
écrit :
> "Dominic Jones" wrote in message
> news:j89arh$2ua3$1...@digitalmars.com...
>>> Also an plain array is a good stack. :)
>>
>> I'd rather not use a plain array because (I assume) that when I push
>> or pop using arrays,
"Dominic Jones" wrote in message
news:j89arh$2ua3$1...@digitalmars.com...
>> Also an plain array is a good stack. :)
>
> I'd rather not use a plain array because (I assume) that when I push
> or pop using arrays, a swap array is created to resize the original.
> If this is not the case, then an a
"Ary Manzana" wrote in message
news:j89gle$9nn$1...@digitalmars.com...
> On 10/26/11 1:28 PM, Jonathan M Davis wrote:
>> On Wednesday, October 26, 2011 09:00 Dominic Jones wrote:
Also an plain array is a good stack. :)
>>>
>>> I'd rather not use a plain array because (I assume) that when I p
11 matches
Mail list logo