Compile-time reference type objects construction (Was - Re: struct inheritance need?)

2008-12-21 Thread Denis Koroskin
On Sun, 21 Dec 2008 19:34:52 +0300, Kagamin wrote: Derek Parnell Wrote: I think he wants to have some objects constructed at compile-time. Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem wa

Re: struct inheritance need?

2008-12-21 Thread Weed
Weed пишет: Kagamin пишет: Weed Wrote: Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem was not put. please read it thread: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars

Re: struct inheritance need?

2008-12-21 Thread Weed
Kagamin пишет: Weed Wrote: Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem was not put. please read it thread: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id

Re: struct inheritance need?

2008-12-21 Thread Kagamin
Weed Wrote: > > Sure he wants. From my point of view, this technique is supposed to be a > > means to solve some problem rather than problem itself. But this problem > > was not put. > > please read it thread: > http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_i

Re: struct inheritance need?

2008-12-21 Thread Kagamin
Sergey Gromov Wrote: > C++ static object constructors execute at run time except for trivial > cases. Although I think it's not guaranteed to work this way and compiler decides when to execute constructor. So code should be ready for run-time evaluation. And as code evolves those constructors c

Re: struct inheritance need?

2008-12-21 Thread Weed
Kagamin пишет: Derek Parnell Wrote: I think he wants to have some objects constructed at compile-time. Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem was not put. please read it thread: http:

Re: struct inheritance need?

2008-12-21 Thread Weed
Kagamin пишет: Derek Parnell Wrote: I think he wants to have some objects constructed at compile-time. Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem was not put. Please read even this editi

Re: struct inheritance need?

2008-12-21 Thread Kagamin
Derek Parnell Wrote: > I think he wants to have some objects constructed at compile-time. Sure he wants. From my point of view, this technique is supposed to be a means to solve some problem rather than problem itself. But this problem was not put.