mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-22 16:47:18 +02:00
Adds test for each case adapter macros we support to adapt an empty type.
This commit is contained in:
@ -52,6 +52,9 @@ BOOST_FUSION_ADAPT_ASSOC_ADT_NAMED(
|
||||
(int, int, obj.get_y(), obj.set_y(val), ns::y_member)
|
||||
)
|
||||
|
||||
class empty_adt{};
|
||||
BOOST_FUSION_ADAPT_ASSOC_ADT_NAMED(empty_adt, renamed_empty_adt,)
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
|
Reference in New Issue
Block a user