bool ndt::categorical_kind_type::operator==(const base_type &rhs) const { if (this == &rhs) { return true; } else { return rhs.is_symbolic() && rhs.get_id() == categorical_id; } }