cbeck88 / visit_struct

A miniature library for struct-field reflection in C++
Boost Software License 1.0
493 stars 46 forks source link

Visiting template classes #30

Open sptrakesh opened 1 year ago

sptrakesh commented 1 year ago

What is the right way to visit template classes/structs? I am using the intrusive macros, but seem to be able to only mark 2 fields as visitable. Any more, and I get functions that differ only in their return type cannot be overloaded errors.

cbeck88 commented 4 months ago

Interesting question, I hadn't considered that. Need to think about it