[PFR] names_as_array doesn't work for structs with array fields
23 Sep
2024
23 Sep
'24
6:57 a.m.
Hi, `boost::pfr::names_as_array<T>()` does not compile if `T` has an array member. Someone commented a fix on a similar issue: https://github.com/boostorg/pfr/issues/170 What would be the appropriate place to ask for including this fix? Background: I'm trying to print structs as CSV. I came up with this: https://paste.sr.ht/~p00f/667e013c23c991ddec91e9cdaa00bd3c11cb2ceb But as soon as I include an array member: https://paste.sr.ht/~p00f/aa08531cd100f8b94c49ead2c541ff96f55b362e it does not compile: https://paste.sr.ht/~p00f/636c1e3ab4f5ba86aa865f70f32337b3d2872047 Thanks, Chinmay
64
Age (days ago)
64
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chinmay Dalal