mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Changing the SFINAE/enable_if strategy from a type to a constexpr function means that it can be defined in other scopes than the functions themselves, because of function overloading. This lets us put everything into the kutil::bitfields namespace, and make bitfields out of enums in other namespaces. Also took the chance to clean up the implementation a bit.
6.6 KiB
6.6 KiB