20 printf(
" %s : { ", key.
data());
22 printf(
"%s, ", val.data());
30 map_.lookup_or_add_default(bone).add(root);
38 if (bone1_roots ==
nullptr) {
44 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)