You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main drawback is that the struct needs to be modified, specifying which entry can be accessed. On the other hand, this might be useful since some types cannot be automatically converted into matioCpp variables. In addition, the options that do not need to modify the struct, usually cannot get the names of the fields. See https://bytemaster.github.io/boost_reflect/ and https://github.com/apolukhin/magic_get
The text was updated successfully, but these errors were encountered:
Related links:
https://stackoverflow.com/questions/63467178/modern-way-to-access-struct-fields-by-name-in-c
In particular, I found pretty interesting https://github.com/garbageslam/visit_struct
The main drawback is that the struct needs to be modified, specifying which entry can be accessed. On the other hand, this might be useful since some types cannot be automatically converted into
matioCpp
variables. In addition, the options that do not need to modify the struct, usually cannot get the names of the fields. See https://bytemaster.github.io/boost_reflect/ and https://github.com/apolukhin/magic_getThe text was updated successfully, but these errors were encountered: