thanks
do you mean , i have to add {$modeswitch advancedrecords} only ! . is so , it didn't help
seems not possible to write this code in objfpc mode ! , because in objfpc mode the operator should be outside of the class , in this case there is no way to define <T> there !