Boost logo

Boost Users :

Subject: [Boost-users] TR1 on Mac OS X
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2011-07-27 09:58:25

It seems that the CLANG compiler that is used for Mac development, Apple LLVM 2.1, is
missing _some_ of the TR1 headers. For example, it has <array>, but does not find

If the |boost-install-path/boost/tr1/tr1 is put first in the include path, is it set up to
use the native stuff that does exist, and Boost for the rest?

What about the per-feature usage that is used within the library, <boost/tr1/xxxxx.hpp> ?
Will that bring in the native <array>, but the Boost type_traits.hpp?

Any general suggestions on writing portable code on the Mac that will use TR1 and whatever
newer features are available?



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at