[Boost-bugs] [Boost C++ Libraries] #5093: BOOST_FUSION_DEFINE_STRUCT does not allow zero members

Subject: [Boost-bugs] [Boost C++ Libraries] #5093: BOOST_FUSION_DEFINE_STRUCT does not allow zero members
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-19 05:43:27


#5093: BOOST_FUSION_DEFINE_STRUCT does not allow zero members
--------------------------------------------+-------------------------------
 Reporter: cadabra <mirzapirza@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 {{{
 #include <boost/fusion/adapted/struct/define_struct.hpp>
 #include <boost/fusion/include/define_struct.hpp>

 // Fail
 BOOST_FUSION_DEFINE_STRUCT(, foo1,);

 // OK
 BOOST_FUSION_DEFINE_STRUCT(, foo2, (int, i));

 int main(){
     return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5093>
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:05 UTC