i dont know enough about c++ and os x development to know why `v.swap(T());` was not working. but the above line fixed it. please let me know if this messes up the build on the windows / visual studio side of the world