A common task is to convert an incoming metadata dictionary into a structure. We need to validate that the dictionary contains the proper keys and the values are of the correct types. Using refl-cpp we should be able to create functions that will convert between pmt::map and user defined structs. This will make the user burden much lower when they want to validate the incoming data and should be able to provide very good performance.
A common task is to convert an incoming metadata dictionary into a structure. We need to validate that the dictionary contains the proper keys and the values are of the correct types. Using refl-cpp we should be able to create functions that will convert between pmt::map and user defined structs. This will make the user burden much lower when they want to validate the incoming data and should be able to provide very good performance.