simplify one use double dir linked list 'list' in stl