Delphi generic record, add constraint to Equal operator

后端 未结 0 1954
忘了有多久
忘了有多久 2021-02-02 14:01

I have the below record generic, which overrides the Equality operator. The idea was to get some compile-time validation, as in the example below:

TpColumn

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题