#include <bitset>
#include <vector>
namespace {
template <size_t numbits>
static void GetTreeSerialized(std::bitset<numbits>& bitset, const std::vector<uint32_t>& serialized_tree) { … }
std::vector<std::string> GetLanguagesRank0() { … }
const size_t kNumBits0 = …;
std::bitset<kNumBits0> GetTreeSerializedRank0() { … }
std::vector<std::string> GetLanguagesRank1() { … }
const size_t kNumBits1 = …;
std::bitset<kNumBits1> GetTreeSerializedRank1() { … }
std::vector<std::string> GetLanguagesRank2() { … }
const size_t kNumBits2 = …;
std::bitset<kNumBits2> GetTreeSerializedRank2() { … }
}