Boost logo

Boost :

Subject: Re: [boost] defect macro for thread_local?
From: Michel Morin (mimomorin_at_[hidden])
Date: 2016-06-22 21:11:14

Oliver Kowalke wrote:
> The macro would be helpful together with the feature-check to exclude
> compilers, that do not support the keyword thread_local (as gcc-4.7. and
> apple's compiler), from unit-tests.

FYI, the availability of TLS feature can be checked by


on Clang. This works properly on Apple Clang too (i.e. evaluates to 0).


Boost list run by bdawes at, gregod at, cpdaniel at, john at