Please make it stop...found this little gem today. (And yes, the variant only ever holds a string.)
Please make it stop...found this little gem today. (And yes, the variant only ever holds a string.)
FErrorList: TList < TPair < Variant, string >> ;
FErrorList: TList < TPair < Variant, string >> ;
Lars Fosdal Variants have nothing to do with generics tbh. Variants are a store (almost) everything in it datatype with implicit type conversion. They are more connected to TValue (which is a store everything in it datatype but without type conversion).
ReplyDeleteIt was a feeble attempt at a joke, Stefan.
ReplyDeleteLars Fosdal Ok, I just took that for the second sentence ;)
ReplyDelete