|
Boost : |
From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-09-25 16:03:25
--- David Abrahams <dave_at_[hidden]> wrote:
[...]
> 1. Is our assumption about intent correct?
>
> 2. Regardless of what the intent may have been, is Alexander's
> interpretation supported by the standard text (it seems to be)?
>
> 3. Do we have a defect?
>
> 4. Can something reasonably be done to make this coding idiom work
> in a future standard without compromising on-demand loading?
>
> I ask #4 because it *really* is very desirable to have the capability.
Perhaps the rule could look something like the following.
- If the constructor of an object A references
another object B and the translation units that contain
object B are referenced by the program,
then the program references all translation
units with the static declrations of A.
Eugene
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk