jeudi 24 mars 2022

Multiple unnamed namespaces in the same scope?

I'm looking at the pytorch codebase, and I see multiple anonymous namespaces in the same scope like https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/quantized/cpu/qpool.cpp#L23 and https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/quantized/cpu/qpool.cpp#L226

What is the point of this design? Couldn't we just combine them?

Aucun commentaire:

Enregistrer un commentaire