Subject: [Boost-bugs] [Boost C++ Libraries] #11211: Fusion example no longer compiles
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-20 19:01:29
#11211: Fusion example no longer compiles
-----------------------------------------------------+---------------------
Reporter: Adrián Etchevarne <adrian.etchevarne@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
Version: Boost 1.58.0 | Severity: Problem
Keywords: fusion |
-----------------------------------------------------+---------------------
From the manual:
{{{
#include <string>
#include "boost/fusion/adapted/struct/define_struct.hpp"
// demo::employee is a Fusion sequence
BOOST_FUSION_DEFINE_STRUCT(
(demo), employee,
(std::string, name)
(int, age))
int main()
{
}
}}}
It fails to compile with boost 1.58. With boost 1.57, compiles
successfully.
g++ --std=c++11 test.cpp -I /home/saknussemm/downloads/boost_1_58_0
clang fails with a similar error.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11211> 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