Modernize HltDAQ
- prefer
std::memcpy
instead ofstd::copy_n
to copy trivially copyable objects into byte buffer (and avoid the need for any casts) -- asstd:memcpy
is explicitly sanctioned to be used to (implicity) create (trivially copyable) objects in the buffer it writes into - generalize
process
overload set so thatprocessVector
is no longer needed - use
boost::pfr
to generically implementprocess
for aggregates - add
as_tuple
method to non-aggegrate packed data classes to allow for a single generic implementation ofPackedDataChecksum::processObject
Edited by Gerhard Raven