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