trunk/3fc24f694110f71e58500e2e93fd7d8dcd633e82: Default equality operators for member-wise-comparable structs (#194889)
- PyTorch: 119 events in the last 90 days
- PyTorch: 118th Release in the last 90 days
- Previous: earlier the same day · trunk/755f7d5a82f0489e92c20d317b246da409774c08
What happened
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…
Summary assembled by rule from the sources below