trunk/3fc24f694110f71e58500e2e93fd7d8dcd633e82: Default equality operators for member-wise-comparable structs (#194889)
- PyTorch 近 90 天出现 121 次
- PyTorch 近 90 天第 120 次发版
- 上一次:同一天稍早 · trunk/755f7d5a82f0489e92c20d317b246da409774c08
发生了什么
Summary SchemaArgument , Generator , and Stride each hand-wrote operator== as a straight member-by-member comparison -- exactly what = default does. Generator 's hand-written operator!= is dropped since C++20's rewritten-candidates rule now synthesizes it from the defaulted == ; Stride / SchemaArgument gain a free != the same way. Test plan lintrunner -a aten/src/ATen/core/function_schema.h aten/src/ATen/core/Genera…
摘要按规则整理自下方来源原文