Impossible!
如果说以前是热身的话,这算是一个很好的挑战
:P

解决方案 »

  1.   

    我的反射,敬请提出宝贵意见,谢谢:)
    http://www.csdn.net/expert/topic/717/717381.xml?temp=.949093
      

  2.   

    Sigh.
    I thought step 2 already qualifies to be a challenge.
    :)And this cannot be a challenge, because I don't have good answer myself. :-<
      

  3.   

    Seems, we could get some code reuse using C++'s template approach. (with template specialization)
    I'm now writing it.