issues
search
team-charls
/
charls
CharLS, a C++ JPEG-LS library implementation
BSD 3-Clause "New" or "Revised" License
188
stars
74
forks
source link
Move enum encoding_options in its own private namespace
#192
Closed
vbaderks
closed
2 years ago
vbaderks
commented
2 years ago
Using a private namespace makes it possible to prevent that the helper functions are in the charls namespace.
As encoding_options is used as a flag enum it makes more sense to use an unsigned type (with well defined behaviour for bitwise operations)
Using the same type helps ReSharper to match the definition and the implementation