Since radical ideas for c++ seem to be the trend right now:I want data structures who's layout is(mostly) unobservable at compile time and infect every interface and data structure that contains them with this property. The optimizer should be able to rearrange and remove members
-
-
Can the optimizer remove members of a Data structure if whole program optimization finds that they are never used?
-
Or if they are used but always constant I guess one could potentially do some voodoo in some cases, as long as the compiler can track observable effects, which is pretty impossible if the size or alignment of the object can be used as input to meta programming
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.