This commit is contained in:
Joel de Guzman
2015-04-21 03:45:39 +08:00
parent ccb1aa20d9
commit 91966ae524

View File

@ -24,6 +24,13 @@ BOOST_FUSION_DEFINE_STRUCT(
(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))
int
@ -102,4 +109,3 @@ main()
return boost::report_errors();
}