Re: [Boost-bugs] [Boost C++ Libraries] #1563: MS releases TR1 support Beta

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1563: MS releases TR1 support Beta
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-09 22:47:16


#1563: MS releases TR1 support Beta
--------------------------------------------------------------+-------------
  Reporter: John Pavel jrp -at- dial -dot- pipex -dot- com | Owner: johnmaddock
      Type: Feature Requests | Status: assigned
 Milestone: Boost 1.35.0 | Component: TR1
   Version: Boost Development Trunk | Severity: Optimization
Resolution: | Keywords:
--------------------------------------------------------------+-------------
Comment (by Richard Webb <richard.webb_at_[hidden]>):

 THeres a

 {{{
  #if !defined(_HAS_TR1)
   #define _HAS_TR1 1 /* enable TR1 extensions */
  #endif /* !defined(_HAS_TR1) */
 }}}

 in yvals.h, which is included as a result of including <utility> (amongst
 other things).

 I tried changing the VC bit of tr1\detail\config.hpp to

 {{{
 #if _HAS_TR1
 # define BOOST_HAS_TR1_ARRAY
 # define BOOST_HAS_TR1_REFERENCE_WRAPPER
 # define BOOST_HAS_TR1_RESULT_OF
 # define BOOST_HAS_TR1_MEM_FN
 # define BOOST_HAS_TR1_BIND
 # define BOOST_HAS_TR1_FUNCTION
 # define BOOST_HAS_TR1_HASH
 # define BOOST_HAS_TR1_SHARED_PTR
 # define BOOST_HAS_TR1_RANDOM
 # define BOOST_HAS_TR1_REGEX
 # define BOOST_HAS_TR1_TUPLE
 # define BOOST_HAS_TR1_TYPE_TRAITS
 # define BOOST_HAS_TR1_UTILITY
 # define BOOST_HAS_TR1_UNORDERED_MAP
 # define BOOST_HAS_TR1_UNORDERED_SET
 #else
 # define BOOST_HAS_TR1_HASH
 #endif
 }}}

 And successfully called the MS versions of bind and shared_ptr (with the
 same code on VC8 still calling the Boost versions.)
 I havent tried any other libs yet.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1563#comment:3>
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:49:57 UTC