What is the equivalent to __builtin_popcount as found in GCC and Clang, for MSVC-10?
__builtin_popcount
Have a look at these intrinsics, else you can always use something from here