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: 2017-05-19 19:05:56
#11875: Boost.Phoenix should not forward-declare std::unordered_set / map
-------------------------------------------------+-------------------------
Reporter: Jean-Michaël Celerier | Owner: theller
<jeanmichael.celerier@â¦> |
Type: Bugs | Status: reopened
Milestone: Boost 1.65.0 | Component: phoenix
Version: Boost 1.64.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+-------------------------
Changes (by rogeeff@â¦):
* status: closed => reopened
* version: Boost 1.60.0 => Boost 1.64.0
* resolution: fixed =>
* milestone: Boost 1.62.0 => Boost 1.65.0
Comment:
This is still wrong. There is no legal way to forward declare
std::unordered_set/std::unordered_map. According to the standard
([namespace.std]), these forward declarations have undefined behavior.
This need to change to
#include <unordered_map>
#include <unordered_set>
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11875#comment:4> 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-05-19 19:09:12 UTC