Re: How the memory layout of global variable is reliable ?

2014-10-23 Thread Cjkp via Digitalmars-d-learn
On Thursday, 23 October 2014 at 08:04:23 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 23 Oct 2014 07:55:36 + Cjkp via Digitalmars-d-learn wrote: I've probably badly explained the what and the why. I ask this because of this draft: http://dpaste.dzfl.pl/e15305cbc32d

Re: How the memory layout of global variable is reliable ?

2014-10-23 Thread Cjkp via Digitalmars-d-learn
On Wednesday, 22 October 2014 at 20:37:43 UTC, Freddy wrote: On Wednesday, 22 October 2014 at 20:29:58 UTC, Cjkp wrote: Hello, I have an idea about a small code tool related to the application resources. It would rely on the assumption that some global variabled, sharing the same type and attri

How the memory layout of global variable is reliable ?

2014-10-22 Thread Cjkp via Digitalmars-d-learn
Hello, I have an idea about a small code tool related to the application resources. It would rely on the assumption that some global variabled, sharing the same type and attributes, declared in group, are contiguous. In short I need to know if the following assertions are always true and reli