mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 17:17:23 +02:00
Adds test for each case adapter macros we support to adapt an empty type.
This commit is contained in:
@ -38,6 +38,9 @@ BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED(
|
||||
(int, y, ns::y_member)
|
||||
)
|
||||
|
||||
struct empty_struct {};
|
||||
BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED(empty_struct, renamed_empty_struct,);
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
|
Reference in New Issue
Block a user