Opened 12 years ago

Closed 11 years ago

#5093 closed Feature Requests (fixed)

BOOST_FUSION_DEFINE_STRUCT does not allow zero members

Reported by: cadabra <mirzapirza@…> Owned by: Christopher Schmidt
Milestone: Boost 1.47.0 Component: fusion
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

#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;
}

Change History (3)

comment:1 by Christopher Schmidt, 12 years ago

Milestone: To Be DeterminedBoost 1.47.0
Owner: changed from Joel de Guzman to Christopher Schmidt
Status: newassigned
Type: BugsFeature Requests

comment:2 by Christopher Schmidt, 12 years ago

(In [68303]) Fusion: adapt-macros: allow empty boost.pp sequences; refs #5093

comment:3 by Christopher Schmidt, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.