pytorch/torch/csrc/api
cyy 87c6cd2f00 [1/N] Replace std::tie with structural binding (#119774)
This PR replaces some std::tie calls with structural binding from C++17.  This not only makes the code more compact, but also has some performance gain.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/119774
Approved by: https://github.com/albanD, https://github.com/malfet
2024-02-14 09:25:04 +00:00
..
include/torch [1/N] Replace std::tie with structural binding (#119774) 2024-02-14 09:25:04 +00:00
src [1/N] Replace std::tie with structural binding (#119774) 2024-02-14 09:25:04 +00:00