complete the InOrder Member Func
the typedef inclass Func cannot be accessed by outside