>https://en.cppreference.com/w/cpp/utility/bitset.html
>
>
>We are using it already, to keep track of the actually running instances.
>See Config::activeInstances
>
>This class takes the maximum number of bits to use as a template parameter.
>In this example, activeInstances is a std::bitset<32> but you can use any
>number of bits, and the implementation will just use the optimal way
>to map that on storage space for the given architecture.
>
>Maybe its a good idea not to add further tinkerers functions, it is just not
>worth the effort wasting brain cycles on tricky low level details with a lot of
>potential for errors, when there is a perfectly fine and readable alternative
>available from the standard library.
>
Ho-Hum... playing catch-up again :(
I was quite unaware of this. In my defence, the code I developed for bit
manipulation in the CLI was done in 2015.
--
Will J Godfrey {apparently now an 'elderly'}
_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel