The C++ equivalent of [...] indexing is torch::index(self, indices) where indices is a vector of Tensors (which can be undefined).
In your case:
std::vector<torch::Tensor> idx_v{indexing};
auto result = torch::index(xyz, idx_v);

Best regards
Thomas