Subject: [Boost-bugs] [Boost C++ Libraries] #11269: Fusion adapting an "empty" struct is no longer possible in boost 1.58
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-05 14:23:52
#11269: Fusion adapting an "empty" struct is no longer possible in boost 1.58
--------------------------------------------+------------------------
Reporter: Dennis Brentjes <d.brentjes@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
Version: Boost 1.58.0 | Severity: Regression
Keywords: |
--------------------------------------------+------------------------
The following examples fails to compile with boost 1.58 with -std=c++11,
but does compile with 1.57 (and -std=c++11). If you test the code with the
1.58 release you need to add the -DBOOST_NO_CXX11_CONSTEXPR flag to
workaround #11211
{{{
#include <boost/fusion/adapted/struct.hpp>
struct X {};
BOOST_FUSION_ADAPT_STRUCT(
X,
)
int main() {
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11269> 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:18 UTC