www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - is function pointer least significant bit always zero ?

reply learnfirst1 <learnfirst1 gmail.com> writes:
I plan to use function pointer least significant bit to store 
some information.

If there is no GC on my system,  I think it will help the memory 
is well aligned.

The question is all the function least significant bit is zero ?
Oct 27 2018
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 10/27/2018 09:16 PM, learnfirst1 wrote:
 I plan to use function pointer least significant bit to store some 
 information.
 
 If there is no GC on my system,  I think it will help the memory is well 
 aligned.
 
 The question is all the function least significant bit is zero ?
Most definitely. Related presentation: http://dconf.org/2016/talks/sechet.html Ali
Oct 27 2018