mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-15 13:26:40 +02:00
added test case for https://svn.boost.org/trac/boost/ticket/11211
This commit is contained in:
@ -24,6 +24,13 @@ BOOST_FUSION_DEFINE_STRUCT(
|
|||||||
(int, y)
|
(int, y)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Tutorial (compile test only)
|
||||||
|
BOOST_FUSION_DEFINE_STRUCT(
|
||||||
|
(demo), employee,
|
||||||
|
(std::string, name)
|
||||||
|
(int, age)
|
||||||
|
)
|
||||||
|
|
||||||
BOOST_FUSION_DEFINE_STRUCT(BOOST_PP_EMPTY(), s, (int, m))
|
BOOST_FUSION_DEFINE_STRUCT(BOOST_PP_EMPTY(), s, (int, m))
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -102,4 +109,3 @@ main()
|
|||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user