Re: [Boost-bugs] [Boost C++ Libraries] #11875: Boost.Phoenix should not forward-declare std::unordered_set / map

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11875: Boost.Phoenix should not forward-declare std::unordered_set / map
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-10 21:28:52


#11875: Boost.Phoenix should not forward-declare std::unordered_set / map
-------------------------------------------------+-------------------------
  Reporter: Jean-Michaël Celerier | Owner: theller
  <jeanmichael.celerier@…> | Status: new
      Type: Bugs | Component: phoenix
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.60.0 | Keywords:
Resolution: |
-------------------------------------------------+-------------------------
Changes (by Braden McDaniel <braden@…>):

 * cc: braden@… (added)

Comment:

 There are other problems with this, as well, using gcc/libstdc++ (4.9, at
 least). For instance, this template specialization fails to compile if the
 problem Phoenix header gets included:
 {{{#!c++
 template <typename T, typename TypeT, typename KeyT, typename HashT,
 typename KeyEqualT, typename AllocatorT>
 class foo<T, std::unordered_map<KeyT, TypeT, HashT, KeyEqualT, AllocatorT>
>
 {};
 }}}

 For the time being, I'm simply compiling my code with
 `BOOST_PHOENIX_USING_LIBCPP` defined, as this disables the forward
 declarations. But this is obviously undesirable if that macro ever gets
 used for something that is actually libc++-specific.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11875#comment:1>
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:19 UTC