Don't define user-provided special functions.

To allow to define empty struct.
This commit is contained in:
Kohei Takahashi
2016-10-13 00:18:14 +09:00
parent 599b8d4aef
commit a2b8a8f254
5 changed files with 10 additions and 18 deletions

View File

@ -29,6 +29,8 @@ BOOST_FUSION_DEFINE_ASSOC_STRUCT(
(int, y, ns::y_member)
)
BOOST_FUSION_DEFINE_ASSOC_STRUCT(BOOST_PP_EMPTY(), empty_struct, )
int
main()
{