by Lord Crc » Tue Dec 27, 2011 1:41 pm
The boost/cstdint.hpp "only" drags with it the config headers, nothing else.
The reason I wanted to include it in lux.h is because the atomic operations defined in osfunc.h are only valid for 32bit unsigned integers, and I feel it's "dirty" to use "unsigned int" for that. Better to use uint32_t.
Also I got a small but noticeable speedboost using uint16_t for the contribution indexes (buffer/tile index and buffer group). Thus I include it in contribution.h. So from what I can see we already include it in a lot of core files anyway, might just go the full mile for the other files that need them?
May contain traces of nuts.