loki-lib icon indicating copy to clipboard operation
loki-lib copied to clipboard

What does the ATEXIT_FIXED macro mean?

Open rishitc opened this issue 4 years ago • 1 comments

Hi, I was following the book by Andrei Alexandrescu. While reading about the Phoenix Singleton Pattern, I noticed the recommendation of the macro ATEXIT_FIXED, but I'm not able to find what this macro means, or where it is defined? Is it defined by the compiler?

Any inputs regarding this would be really helpful,

Thanks!

rishitc avatar Feb 25 '21 16:02 rishitc

Define it yourself: https://github.com/feiyunw/loki-lib/commit/d467813f1fc775cde80917ce5c18be474c14a27c

feiyunw avatar Dec 06 '23 03:12 feiyunw