i am having trouble understanding why this would not leave a dangling pointer  when cmdlineparser goes out of scope it will take save destination  with it and then save destination will just point to garbage memory 