Your approach seems valid. It would be nice to see real evidence of savings before the code gets all freaked out with macros though. > ?? [snip] > Try compiling [snip] I don't suppose you can post an example of codegen for calling std::strcpy, or whatever, with and without your patch? That might be easier to see. thanks, benjamin