On 3/20/20 6:25 AM, jr wrote:
>> precomp.h and precomp.ccp files ... I've since had this itch we might have
>> floating about similar *nix particular exposures due header inclusion
>> (1) - Potentially where, in the code, not using std::<function>
>> namespace names.
> pardon my ignorance but would that problem not .. disappear if, instead of
> importing, all names were given fully qualified? (ie with namespace)
Yep, fully qualified everywhere would close the exposure I think.
Christoph was making changes in that direction - though his work might
have been driven more by header re-work than my *nix specific worry.
Converting explicit std::<?>abs uses to std::abs and the like probably
good to do too with care. Occasionally the aim might be to force certain
input types / or to do indirect type conversions via a more specific
function working on and returning certain types.
Post a reply to this message