Use template functions for packing and unpacking instead of explicitly specyfying bit shifts #66
Labels
C++ adventures
We thought we know how this language works... but sometimes...
refactor
Because we have too much free time
In files
inst/include/{unpack_common, unpack_string, pack}.h
there are several versions of packing and unpacking which are hardcoded. They could be written using arithmetic of shifts wrapped in templates and expanded into those functions at compile time.The text was updated successfully, but these errors were encountered: