Re: [Boost-bugs] [Boost C++ Libraries] #11269: Fusion adapting an "empty" struct is no longer possible in boost 1.58

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11269: Fusion adapting an "empty" struct is no longer possible in boost 1.58
From: Damien Buhl (damien.buhl_at_[hidden])
Date: 2015-05-06 05:12:35


Ouch. I never tested this case, I didn't even think this could make any sense.

I'll fix this.

--
Damien Buhl
  Original Message  
From: Joel de Guzman
Sent: mardi 5 mai 2015 22:07
To: Damien Buhl; Kohei Takahashi
Subject: Fwd: [Boost C++ Libraries] #11269: Fusion adapting an "empty" struct is no longer possible in boost 1.58
Hey guys, Another issue?
-------- Forwarded Message --------
Subject: [Boost C++ Libraries] #11269: Fusion adapting an "empty" struct is no longer 
possible in boost 1.58
Date: Tue, 05 May 2015 14:23:52 -0000
From: Boost C++ Libraries <noreply_at_[hidden]>
CC: boost-bugs_at_[hidden]
#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