Re: [Boost-bugs] [Boost C++ Libraries] #7671: Error including boost/thread.hpp header on iOS

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7671: Error including boost/thread.hpp header on iOS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-10 23:01:29


#7671: Error including boost/thread.hpp header on iOS
------------------------------------------+---------------------------------
  Reporter: Dr.Schroers@… | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------------

Comment (by viboes):

 The source of libc++ <limits< contains the following


 {{{
 template <class _Tp>
 class _LIBCPP_VISIBLE numeric_limits
     : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
 {
     typedef __libcpp_numeric_limits<typename remove_cv<_Tp>::type> __base;
     typedef typename __base::type type;
 public:
     static _LIBCPP_CONSTEXPR const bool is_specialized =
 __base::is_specialized;
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min()
 _NOEXCEPT {return __base::min();}
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max()
 _NOEXCEPT {return __base::max();}

 }}}


 with specializations for float, double and long double

 {{{
 template <>
 class __libcpp_numeric_limits<float, true>
 {
 protected:
 ...
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min()
 _NOEXCEPT {return __FLT_MIN__;}
     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max()
 _NOEXCEPT {return __FLT_MAX__;}

 }}}

 I don't see why then the error occurs. Please could you verify the code
 inside <limits> on your configuration?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7671#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC