> Anyway, that's why we have a C++ ISO standard and so > std::thread::hardware_concurrency function implementation can (and likely > should) handle all this. Or?
This is a compiler though, i.e. quite low level in the software stack, so the implementation must be conservative and thus fancy C++ features avoided. -- Eric Botcazou