Boost logo

Boost :

From: William E. Kempf (wekempf_at_[hidden])
Date: 2003-03-03 15:03:15


Noel Yap said:
> Just wondering, looking at boost/thread/once.hpp, I see that once_flag
> is typedef'd to long, why not bool or char to take up less memory?

For compatibility with the underlying system APIs.

-- 
William E. Kempf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk