Why not just take pos by value? Also, why not initialize pos_list in the initializer list?