23 printf(
"%s, ", val.data());
31 map_.lookup_or_add_default(bone).add(root);
39 if (bone1_roots ==
nullptr) {
45 if (bone2_roots ==
nullptr) {
static bool Intersects(const Set &a, const Set &b)
constexpr const char * data() const
Map< StringRefNull, Set< StringRefNull > > map_
bool has_common_root(const char *bone1, const char *bone2) const
void add_bone(const char *bone, const char *root)