to taodm:
So busted :)
It's so weird that VS05 let my code pass. Not mentioning the damn i++, why &map_t::insert is ever going to work?
Plus, all these fuss just proved how hard is it to write FPL style code in C++, with the support of full-fledged partial-evaluation missing :( Sigh~
Oh, by the by, the latter solution(i.e. the one with transform) is a pretty good one:)