Using gcc's typeof and boost.lambda together.