mahf-opt / mahf

A framework for modular construction and evaluation of metaheuristics.
GNU General Public License v3.0
10 stars 0 forks source link

Fix `Invalid identifier` with `ron==0.8.1` #193

Open Saethox opened 1 year ago

Saethox commented 1 year ago

Serializing PhantomData<T> through serializing std::any::type_name::<T> doesn't seem to be possible with ron==0.8.1.

I'm not sure how to serialize PhantomData otherwise, just omitting would completely erase T, which would lose information.