Boost logo

Boost Users :

Subject: Re: [Boost-users] TR1 on Mac OS X
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-07-27 13:09:57


> 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?

Yes, assuming it's correctly configured - Boost.TR1 is a bit of a nightmare
to maintain unfortunately.

> 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?

Yes.

HTH, 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