
23 May
2010
23 May
'10
6:04 p.m.
On 5/19/2010 2:02 AM, Eric Niebler wrote:
Your job: implement the deduce_domain3 template that finds the common domain of 3 domains. You're allowed to use decltype, but you get bonus points for a solution that doesn't. Bonus also for instantiating fewest templates. The challenge is for the ternary case, but your solution should scale to N domains. If your solution is better than mine, I'll use it in Proto and credit you! <snip>
Thanks to all the folks who participated! Everybody loves a challenge. Yesterday, I checked in a solution based on Daniel's code. Everybody who submitted a solution got a mention both in the code and in the docs. Cheers, -- Eric Niebler BoostPro Computing http://www.boostpro.com