got the generic version to work
Merge branch 'master' of github.com:lshort/cpp_stuff