Tweak HltPackedDataWriter
- rename
register_object
intoregister_types
(and allow it to be called with multiple types at once) as it registers what to do for the specified types - move
dynamic_cast
into the lambda inregister_types
so that the compiler can deduce the type in saveObject from the argument - prefer pragma once over header guards
- accept the more generic
span
instead of forcing the caller to be usingstd::vector
Edited by Gerhard Raven