Opened 12 years ago
Closed 11 years ago
#5093 closed Feature Requests (fixed)
BOOST_FUSION_DEFINE_STRUCT does not allow zero members
| Reported by: | 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 , 12 years ago
| Milestone: | To Be Determined → Boost 1.47.0 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
| Type: | Bugs → Feature Requests |
comment:2 by , 12 years ago
comment:3 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

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