Re: struct inheritance need?

2008-12-17 Thread Weed
Janderson пишет: Weed wrote: Janderson пишет: Weed wrote: I should explain why it's important for me: For example, I am making a matrix object(s) It should be: - any size - with ability of making matrix instance of a given size in compile time. - ability of creating matrix instance in runt

Re: struct inheritance need?

2008-12-17 Thread Janderson
Weed wrote: Janderson пишет: Weed wrote: I should explain why it's important for me: For example, I am making a matrix object(s) It should be: - any size - with ability of making matrix instance of a given size in compile time. - ability of creating matrix instance in runtime. I have decid

Re: struct inheritance need?

2008-12-17 Thread Weed
Weed пишет: Christopher Wright пишет: Weed wrote: If I create struct MatrixStruct for compile-time matrix and class MatrixClass for all other I will not be able to create a function of interaction between these objects through the templates because some of them will be announced before the ot

Re: struct inheritance need?

2008-12-17 Thread Weed
Christopher Wright пишет: Weed wrote: If I create struct MatrixStruct for compile-time matrix and class MatrixClass for all other I will not be able to create a function of interaction between these objects through the templates because some of them will be announced before the other and it wi

Re: struct inheritance need?

2008-12-17 Thread Weed
Christopher Wright пишет: Weed wrote: If I create struct MatrixStruct for compile-time matrix and class MatrixClass for all other I will not be able to create a function of interaction between these objects through the templates because some of them will be announced before the other and it wi

Re: struct inheritance need?

2008-12-17 Thread Christopher Wright
Weed wrote: If I create struct MatrixStruct for compile-time matrix and class MatrixClass for all other I will not be able to create a function of interaction between these objects through the templates because some of them will be announced before the other and it will not be able to get anot

Re: struct inheritance need?

2008-12-17 Thread Weed
Janderson пишет: Weed wrote: I should explain why it's important for me: For example, I am making a matrix object(s) It should be: - any size - with ability of making matrix instance of a given size in compile time. - ability of creating matrix instance in runtime. I have decided to make it s

Re: struct inheritance need?

2008-12-17 Thread Janderson
Weed wrote: I should explain why it's important for me: For example, I am making a matrix object(s) It should be: - any size - with ability of making matrix instance of a given size in compile time. - ability of creating matrix instance in runtime. I have decided to make it struct because I ne

Re: struct inheritance need?

2008-12-17 Thread Weed
Weed пишет: Kagamin пишет: Weed Wrote: I agree. In my case I chose to structure rather than a class because it can be initialized at compile time. But now I thing must be allowed to deploy class in the default data segment. And add the possibility of creating a object of class at compile

Re: struct inheritance need?

2008-12-17 Thread Weed
Kagamin пишет: Weed Wrote: I agree. In my case I chose to structure rather than a class because it can be initialized at compile time. But now I thing must be allowed to deploy class in the default data segment. And add the possibility of creating a object of class at compile time. If yo

Re: struct inheritance need?

2008-12-17 Thread Kagamin
Weed Wrote: > I agree. > In my case I chose to structure rather than a class because it can be > initialized at compile time. > > But now I thing must be allowed to deploy class in the default data > segment. And add the possibility of creating a object of class at > compile time. If you want