forked from boostorg/fusion
FEATURE: BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED_NS which allows listing class attributes to adapt without specifying types.
This commit is contained in:
1 parent
0d7ad9f6e2
commit
5aa9a89fb8
2 files changed
+9
-1
No files matched your search
@@ -49,7 +49,7 @@ BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED(
|
||||
|
||||
// this creates a fusion view: ns1::s1
|
||||
struct s { int m; };
|
||||
BOOST_FUSION_ADAPT_STRUCT_NAMED_NS(s, (ns1), s1, (int, m))
|
||||
BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED_NS(s, (ns1), s1, (m))
|
||||
|
||||
int
|
||||
main()
|
||||
|
||||
Reference in new issue
Block a user