DARMA-tasking / vt

DARMA/vt => Virtual Transport
Other
35 stars 9 forks source link

Replace is_same<..., Footprinter> with is_footprinter<...> #2354

Open Matthew-Whitlock opened 1 week ago

Matthew-Whitlock commented 1 week ago

Once Magistrate merges in https://github.com/DARMA-tasking/magistrate/pull/345, the type passed to serializers will be a wrapper around the old serializer types. This requires changing one line in VT:

https://github.com/DARMA-tasking/vt/blob/5538883df647dc7ed93f19f751d425a5d03b24a0/src/vt/messaging/message/smart_ptr.h#L239

Which can become: checkpoint::is_footprinter_v<SerializerT>

PhilMiller commented 1 week ago

The standard suggestion for not breaking CI and other work flows is to introduce that tiny type trait in a preliminary PR that can be merged easily and make the necessary change in vt before anything will break without it. It looks like it would be pretty trivial to separate the non-specialized bits in https://github.com/DARMA-tasking/magistrate/pull/345/files#diff-55e1997dc89d4418466fb76518870de26637ba41f902ddb390280457c69724b9 in magistrate