Hm. You know, it can in fact do that (overloading both '""' and '.' does what one would want). The new object would need to store the left and right concatenated objects (potentially creating deep trees), but that can also solve the problem where a string is constructed then used twice. Nice!
|Replies are listed 'Best First'.|
Re^7: RFC: SecureString - Obfuscated / masked strings exept when you need them (interpolation)
by tye (Sage) on Jul 20, 2011 at 18:45 UTC