Fixed a major bug that was causing some other snippets using this to break. If you use the original version, this is a must have update.
I've updated it to 2.2
This brings some better saving/loading functions as well as a few bug fixes and utility functions like pop_bitmask() which just pulls one out of your bitmask if you're using it as a queue. This is required for my recycle_handler I released.
This is an infinite flags (instead of 32) system. It can be used for quite a few things as discussed in the file. If you use C++ you can download this and the C++ wrapper that is listed separate on this site.