Le Wed, 25 Feb 2009 01:03:32 +0100, Daniel Keep
a écrit:
TSalm wrote:
In my case, there's also no possibility to get the wrong type, because
it is managed by the type of the ColumnMem.
You still have to get the code right. There's a surprising number of
corner cases trying to store arbit
TSalm wrote:
> In my case, there's also no possibility to get the wrong type, because
> it is managed by the type of the ColumnMem.
You still have to get the code right. There's a surprising number of
corner cases trying to store arbitrary types.
> And about Object, if I want to store base type
TSalm wrote:
I'm trying to build function which have the hability to convert a
type
to void* and from void*.
First of all, I have to ask: have you looked at std.variant /
tango.core.Variant?
Yes, but it seems that Variant class uses more memory than void* .
The Phobos Variant will use h
TSalm wrote:
I'm trying to build function which have the hability to convert a type
to void* and from void*.
>>
>> First of all, I have to ask: have you looked at std.variant /
>> tango.core.Variant?
>>
> Yes, but it seems that Variant class uses more memory than void* .
The Phobos Vari
I'm trying to build function which have the hability to convert a type
to void* and from void*.
First of all, I have to ask: have you looked at std.variant /
tango.core.Variant?
Yes, but it seems that Variant class uses more memory than void* .
[...]
I get the distinct impression that you
TSalm wrote:
>
>> I'm trying to build function which have the hability to convert a type
>> to void* and from void*.
First of all, I have to ask: have you looked at std.variant /
tango.core.Variant?
>> I must use "ref" in the "toPtr" function because of this :
>> http://www.digitalmars.com/pne
I'm trying to build function which have the hability to convert a type
to void* and from void*.
I must use "ref" in the "toPtr" function because of this :
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.learn&artnum=15600
Do you think that what I done
Hello,
I'm trying to build function which have the hability to convert a type to
void* and from void*.
I must use "ref" in the "toPtr" function because of this :
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.learn&artnum=15600
Do you think that what