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
<type_traits>.

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?

Thanks,
—John

|


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net